[OpenSIPS-Users] doing next priority dialing in case of 504 reply received

Ricardo Carvalho rjcarvalho.lists at gmail.com
Tue Apr 21 17:45:52 CEST 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090421/a33986cf/attachment.htm 


More information about the Users mailing list