Module: kamailio
Branch: master
Commit: bef306b97e62dfdb5297a1589541a69e68bbcae0
URL:
https://github.com/kamailio/kamailio/commit/bef306b97e62dfdb5297a1589541a69…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-06-25T22:49:02+03:00
dispatcher: cfg - simplified WITHINDLG
route[PRESENCE] contains exit command, so we removed extra exit
Also some formatings
---
Modified: src/modules/dispatcher/doc/dispatcher.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/bef306b97e62dfdb5297a1589541a69…
Patch:
https://github.com/kamailio/kamailio/commit/bef306b97e62dfdb5297a1589541a69…
---
diff --git a/src/modules/dispatcher/doc/dispatcher.cfg
b/src/modules/dispatcher/doc/dispatcher.cfg
index ef72be49d9..f745210e84 100644
--- a/src/modules/dispatcher/doc/dispatcher.cfg
+++ b/src/modules/dispatcher/doc/dispatcher.cfg
@@ -226,8 +226,8 @@ route[WITHINDLG] {
if (is_method("SUBSCRIBE") && uri == myself) {
# in-dialog subscribe requests
route(PRESENCE);
- exit;
}
+
if ( is_method("ACK") ) {
if ( t_check_trans() ) {
# non loose-route, but stateful ACK;
@@ -239,6 +239,7 @@ route[WITHINDLG] {
exit;
}
}
+
sl_send_reply("404","Not here");
exit;
}