Even if I don't activate reply_route, it still doesn't use the failure route.
I also tried 503 and 403, for these replies kamailio goes through both reply and failure routes.
2009/7/17 Klaus Darilion klaus.mailinglists@pernau.at:
catalina oancea schrieb:
In my case, when 603 reply arrives, only the reply route is triggered. I added debug messages in both reply and failure routes and only the one in reply route is printed.
What happens if you do not activated the reply_route. Is then the failure_route called?
Is it only for 603 or for all responses >400 ?
regards klaus
2009/7/17 Klaus Darilion klaus.mailinglists@pernau.at:
catalina oancea schrieb:
Hello
From my tests I found the following situation:
Kamailio ------INVITE----------> I set t_on_failure and t_on_reply Kamailio <----100 Trying------- Kamailio <----603 Declined--- Here the reply goes in onreply_route (I added an xlog to prove it), not failure_route as expected. Is this the intended behavior or is it a bug (if it's a bug I can provide more details)?
IIRC both routes should be executed.
regards klaus
El Viernes, 17 de Julio de 2009, catalina oancea escribió:
Even if I don't activate reply_route, it still doesn't use the failure route.
I also tried 503 and 403, for these replies kamailio goes through both reply and failure routes.
Hi, this is the correct behaviourur. *All* the replies (1XX, 2XX, 3XX, 4XX, 5XX and 6XX) enter into reply_route, for sure (they are replies).
failure_route is executed when ALL the branches have finished with a failure core (from 3XX to 6XX). In fact, the "best" reply code is chosen by TM module and that would be the value of $status variable in you check it in failure_route.
However, according to RFC 3261, a 6XX response *inmediatelly* terminates the transactions, even if there are non finished branches (those with 1XX). There is a parameter in TM module to change that behaviour.
Hi,
Thanks for your answer.
Do you mean modparam("tm", "disable_6xx_block", 1)?
2009/7/17 Iñaki Baz Castillo ibc@aliax.net:
El Viernes, 17 de Julio de 2009, catalina oancea escribió:
Even if I don't activate reply_route, it still doesn't use the failure route.
I also tried 503 and 403, for these replies kamailio goes through both reply and failure routes.
Hi, this is the correct behaviourur. *All* the replies (1XX, 2XX, 3XX, 4XX, 5XX and 6XX) enter into reply_route, for sure (they are replies).
failure_route is executed when ALL the branches have finished with a failure core (from 3XX to 6XX). In fact, the "best" reply code is chosen by TM module and that would be the value of $status variable in you check it in failure_route.
However, according to RFC 3261, a 6XX response *inmediatelly* terminates the transactions, even if there are non finished branches (those with 1XX). There is a parameter in TM module to change that behaviour.
-- Iñaki Baz Castillo ibc@aliax.net
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
El Sábado, 18 de Julio de 2009, catalina oancea escribió:
Hi,
Thanks for your answer.
Do you mean modparam("tm", "disable_6xx_block", 1)?
Yes :)