Module: kamailio
Branch: master
Commit: 52ee89e4713c12aa98d75cd249817c65038712f1
URL:
https://github.com/kamailio/kamailio/commit/52ee89e4713c12aa98d75cd249817c6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-02-15T09:37:10+01:00
dialog: small update to doc example using $dlg_ctx(timeout_route)
---
Modified: src/modules/dialog/doc/dialog_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/52ee89e4713c12aa98d75cd249817c6…
Patch:
https://github.com/kamailio/kamailio/commit/52ee89e4713c12aa98d75cd249817c6…
---
diff --git a/src/modules/dialog/doc/dialog_admin.xml
b/src/modules/dialog/doc/dialog_admin.xml
index bb136b7..8290e54 100644
--- a/src/modules/dialog/doc/dialog_admin.xml
+++ b/src/modules/dialog/doc/dialog_admin.xml
@@ -1768,11 +1768,11 @@ dlg_refer("caller",
"sip:announcement@kamailio.org");
...
modparam("dialog", "default_timeout", 100)
...
-route {
+request_route {
...
if(is_method("INVITE") && !has_totag())
{
- $dlg_ctx(timeout_route) = 12;
+ $dlg_ctx(timeout_route) = "DLGTIMEOUT";
$dlg_ctx(timeout_bye) = 1;
}
dlg_manage();