Hello,
Is there any specific information / documentation as to what kind of response causes the failure_route to trigger over the reply_route.
For example, it seems that 486 response triggers the failure route while as a 408 triggers the reply_route.
Perhaps I am over looking something?
I would imagine that 5xx and 6xx (final / non provisional responses) would trigger the failure route.
While as 4xx would trigger the reply route -- however this does not always seem to be the case in the example of 486 vs 408.
Any information / help in advance is greatly appreciated, thanks!
Sincerely, Brandon Armstead
On 02/17/2011 05:07 PM, Brandon Armstead wrote:
Hello,
Is there any specific information / documentation as to what kind
of response causes the failure_route to trigger over the reply_route.
For example, it seems that 486 response triggers the failure route while as a 408 triggers the reply_route.
Perhaps I am over looking something?
I would imagine that 5xx and 6xx (final / non provisional responses) would trigger the failure route.
While as 4xx would trigger the reply route -- however this does not always seem to be the case in the example of 486 vs 408.
Any information / help in advance is greatly appreciated, thanks!
= 300 responses are considered failures and trigger the failure
route. They *also* trigger the reply route first.
= 200 && < 300 replies trigger the reply route only.
Non-100 1xx provisional replies also trigger the reply route.
Alex,
Thank you for this information! This is now making some more sense as to the results I am seeing. Thanks again!
Sincerely, Brandon Armstead
On Thu, Feb 17, 2011 at 2:13 PM, Alex Balashov abalashov@evaristesys.comwrote:
On 02/17/2011 05:07 PM, Brandon Armstead wrote:
Hello,
Is there any specific information / documentation as to what kind of response causes the failure_route to trigger over the reply_route.
For example, it seems that 486 response triggers the failure route while as a 408 triggers the reply_route.
Perhaps I am over looking something?
I would imagine that 5xx and 6xx (final / non provisional responses) would trigger the failure route.
While as 4xx would trigger the reply route -- however this does not always seem to be the case in the example of 486 vs 408.
Any information / help in advance is greatly appreciated, thanks!
= 300 responses are considered failures and trigger the failure route.
They *also* trigger the reply route first.
= 200 && < 300 replies trigger the reply route only.
Non-100 1xx provisional replies also trigger the reply route.
-- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Brandon Armstead wrote:
Alex,
Thank you for this information! This is now making some more sense
as to the results I am seeing. Thanks again!
As an addition: Reply routes can be separated in to the "default reply route" and "named reply routes":
The "default reply route" is executed for every reply (except 100) and is executed before any "named reply routes".
onreply_route { ... }
The "named reply routes" are executed only if activated with t_on_reply() and the received reply matches an active transaction. There can be only one of these reply routes activated. This reply route is executed after the default reply route:
t_on_reply("1");
onreply_route[1] { ... }
see also http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#routing_blocks
regards klaus