[OpenSIPS-Users] Handling Timeouts from Redirect Server

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Feb 24 17:56:13 CET 2015

Hi Will,

Yes, you can do that. Set the fr_timer to 3, arm the dip_reply as you do 
now and that's all. If there is no reply from the LNP server in 3 secs, 
the TM module will generate an internal 408 Timeout for you. This 408 
may go all the way back to caller, or if you want to catch it, use a 
failure route - t_on_failure("dip_failed").


Bogdan-Andrei Iancu
OpenSIPS Founder and Developer

On 14.02.2015 03:54, Will Bazdarich wrote:
> Hello,
> I am getting occasional timeouts from a LNP server and I would like to 
> be able to gracefully handle that event. Currently I dip the server 
> using t_on_reply:
>     rewritehostport("");
>     t_on_reply("dip_reply");
> I have an on_reply_route[dip_reply] block which parses the Contact 
> header, etc. I have been reading up on t_on_failure but it appears 
> that it might override the t_on_reply since the response from the LNP 
> server is a 302. Can I keep my t_on_reply and prepare a route if the 
> INVITE I send times out? I have set "fr_timer" to 3 using modparam.
> thanks!
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150224/83546f8d/attachment.htm>

More information about the Users mailing list