[sr-dev] git:master:52ee89e4: dialog: small update to doc example using $dlg_ctx(timeout_route)
Daniel-Constantin Mierla
miconda at gmail.com
Wed Feb 15 09:37:59 CET 2017
Module: kamailio
Branch: master
Commit: 52ee89e4713c12aa98d75cd249817c65038712f1
URL: https://github.com/kamailio/kamailio/commit/52ee89e4713c12aa98d75cd249817c65038712f1
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/52ee89e4713c12aa98d75cd249817c65038712f1.diff
Patch: https://github.com/kamailio/kamailio/commit/52ee89e4713c12aa98d75cd249817c65038712f1.patch
---
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 at 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();
More information about the sr-dev
mailing list