[OpenSIPS-Devel] [ opensips-Bugs-3605516 ] Failure Route on SIP 477 error (TM)
SourceForge.net
noreply at sourceforge.net
Tue Feb 26 16:38:41 CET 2013
Bugs item #3605516, was opened at 2013-02-21 01:48
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3605516&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Christian Lahme (chris-secusmart)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Failure Route on SIP 477 error (TM)
Initial Comment:
Failure Route is not executed on a 477 or IP-Blocked error.
- t_on_failure is set
- failure_route is existing
- t_relay is always positive in an if-construct
- you may catch the 477 error inscript but not as a failure route
- Status code is always send
We expected the same behaviour as on a 408 error.
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2013-02-26 07:38
Message:
BTW, the 408 is a different case - it means a timeout at sip signalling
level, so the failure route is triggered in this case.
Regards,
Bogdan
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2013-02-26 07:36
Message:
Hi Christian,
Actually this case is supposed to work a bit different when you think. By
design (on logical reasons), the failure route is triggered only when there
is a SIP failure (transaction failed with negative reply).
In your case, you have a different case of failure - you were actually not
able to send the INVITE out, so it is a transport error. So failure route
is not supposed to be triggered.
What to do here is to use the "0x02" flag with t_relay() - see
http://www.opensips.org/html/docs/modules/1.9.x/tm.html#id293413 - this
will make t_relay() to return failure to script instead of sending the 477
out -> at script level you can handle the failure.
Regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3605516&group_id=232389
More information about the Devel
mailing list