Module: kamailio Branch: master Commit: 49f42b36b586a2b08b9f5a327263bfa9124df77b URL: https://github.com/kamailio/kamailio/commit/49f42b36b586a2b08b9f5a327263bfa9...
Author: �������������������� �������������������������������� git-dpa@aegee.org Committer: Henning Westerholt hw@gilawa.com Date: 2022-12-17T13:16:57+01:00
misc/examples: update comments
---
Modified: misc/examples/exec/exec_s5b.cfg Modified: misc/examples/kamailio/fork.cfg Modified: misc/examples/kamailio/serial_183.cfg Modified: misc/examples/mixed/ccdiversion.cfg Modified: misc/examples/mixed/onr.cfg Modified: misc/examples/mixed/serial_183.cfg
---
Diff: https://github.com/kamailio/kamailio/commit/49f42b36b586a2b08b9f5a327263bfa9... Patch: https://github.com/kamailio/kamailio/commit/49f42b36b586a2b08b9f5a327263bfa9...
---
diff --git a/misc/examples/exec/exec_s5b.cfg b/misc/examples/exec/exec_s5b.cfg index 959cab137b4..302a7f7b211 100644 --- a/misc/examples/exec/exec_s5b.cfg +++ b/misc/examples/exec/exec_s5b.cfg @@ -34,7 +34,7 @@ route{ }; # user found, forward to his current uri now; if any # forwarding error occurs (e.g., busy or cancelled recevied - # from downstream), proceed to reply_route[1] + # from downstream), proceed to failure_route[1] t_on_failure("1"); if (!t_relay()) { sl_reply_error(); diff --git a/misc/examples/kamailio/fork.cfg b/misc/examples/kamailio/fork.cfg index 98e537350c2..671ca8c16cb 100644 --- a/misc/examples/kamailio/fork.cfg +++ b/misc/examples/kamailio/fork.cfg @@ -42,7 +42,7 @@ route{ # wait until timer hits seturi("sip:nobody@kamailio.org"); append_branch("sip:parallel@kamailio.org:9"); - # if we do not get a positive reply, continue at reply_route[1] + # if we do not get a positive reply, continue at failure_route[1] t_on_failure("1"); # forward the request to all destinations in destination set now t_relay(); @@ -52,7 +52,7 @@ failure_route[1] { # forwarding failed -- try again at another destination append_branch("sip:nonsense@kamailio.org"); log(1, "first redirection\n"); - # if this alternative destination fails too, proceed to reply_route[2] + # if this alternative destination fails too, proceed to failure_route[2] t_on_failure("2"); t_relay(); } diff --git a/misc/examples/kamailio/serial_183.cfg b/misc/examples/kamailio/serial_183.cfg index c707fc6cad0..f88f607d6d4 100644 --- a/misc/examples/kamailio/serial_183.cfg +++ b/misc/examples/kamailio/serial_183.cfg @@ -41,8 +41,7 @@ route{ log(1, "forwarding now to primary destination\n"); if (method=="INVITE") { rewriteuri("sip:xxx@192.168.2.16:5064"); - # if transaction broken, try other an alternative - # route + # if transaction is broken, try an alternative route t_on_failure("1"); # if a provisional came, stop alternating t_on_reply("1"); diff --git a/misc/examples/mixed/ccdiversion.cfg b/misc/examples/mixed/ccdiversion.cfg index 3123f962bcd..3d0b659dc03 100644 --- a/misc/examples/mixed/ccdiversion.cfg +++ b/misc/examples/mixed/ccdiversion.cfg @@ -9,7 +9,7 @@ loadmodule "modules/tm/tm.so" # ----------------- setting module-specific parameters ---------------
route{ - # if we do not get a positive reply, continue at reply_route[2] + # if we do not get a positive reply, continue at failure_route[2] t_on_failure("2"); # forward the request to all destinations in destination set now t_relay(); diff --git a/misc/examples/mixed/onr.cfg b/misc/examples/mixed/onr.cfg index 2af311d5b83..c5fcc328677 100644 --- a/misc/examples/mixed/onr.cfg +++ b/misc/examples/mixed/onr.cfg @@ -38,7 +38,7 @@ route{ # wait until timer hits seturi("sip:nobody@iptel.org"); append_branch("sip:parallel@iptel.org:9"); - # if we do not get a positive reply, continue at reply_route[1] + # if we do not get a positive reply, continue at failure_route[1] t_on_failure("1"); # forward the request to all destinations in destination set now t_relay(); @@ -48,7 +48,7 @@ failure_route[1] { # forwarding failed -- try again at another destination append_branch("sip:nonsense@iptel.org"); log(1, "first redirection\n"); - # if this alternative destination fails too, proceed to reply_route[2] + # if this alternative destination fails too, proceed to failure_route[2] t_on_failure("2"); t_relay(); } diff --git a/misc/examples/mixed/serial_183.cfg b/misc/examples/mixed/serial_183.cfg index b08a61abe08..4ab2fb036d2 100644 --- a/misc/examples/mixed/serial_183.cfg +++ b/misc/examples/mixed/serial_183.cfg @@ -38,8 +38,7 @@ route{ log(1, "forwarding now to primary destination\n"); if (method=="INVITE") { rewriteuri("sip:xxx@192.168.2.16:5064"); - # if transaction broken, try other an alternative - # route + # if transaction is broken, try an alternative route t_on_failure("1"); # if a provisional came, stop alternating t_on_reply("1");