[OpenSIPS-Users] doing next priority dialing in case of 504 reply received
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Apr 22 09:08:49 CEST 2009
Hi Ricardo,
Use a failure route to catch the transaction failure event (due 504
reply); from this failure route you can create new branches by simply
relaying the call to a new destination:
http://www.opensips.org/index.php?n=Resources.DocsCoreRoutes#toc3
Regards,
Bogdan
Ricardo Carvalho wrote:
> Hi,
>
> I'm implementing a route in openser.cfg which sends calls to ENUM
> destinations via one SBC. In cases where there is no IP connectivity
> for that ENUM calls to be delivered, my SBC fires a timeout sending
> back to openser a 504 SIP message reply. In this cases I would like to
> be able to implement in openser like a fallback to a "next priority"
> in the dialplan in case this 504 is received, now making openser to
> start a call to my telco sip trunk.
>
> How can I do this in openser? For the tests I made, in the
> onreply_route I can identify that 504 messages, but from there I never
> can manage making a new call for the destination DID that was
> initially dialed because it seems like openser has flushed the
> request-uri that was initially dialed...
>
> Is there any way to do this?
>
> Best regards,
> Ricardo Carvalho.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list