[OpenSIPS-Users] MESSAGE t_relay()
Bogdan-Andrei Iancu
bogdan at opensips.org
Sat Aug 23 12:29:44 CEST 2014
Hi Gary,
Maybe your request is not leaving OpenSIPS, so no failure route will be triggered. Has nothing to do with TLS. But check if you the request on the network.
Regards,
Bogdan
Sent from Samsung Mobile
-------- Original message --------
From: Gary Nyquist <gn62 at gmx.us>
Date:23/08/2014 01:27 (GMT+04:00)
To: Bogdan-Andrei Iancu <bogdan at opensips.org>
Cc: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] MESSAGE t_relay()
Hi Bogdan,
I am arming the failure route correctly before calling t_relay().
In my case the transport is TLS.
Could that be the reason for not hitting the failure route?
BR
-Gary
Sent: Friday, August 22, 2014 at 4:12 PM
From: "Bogdan-Andrei Iancu" <bogdan at opensips.org>
To: "Gary Nyquist" <gn62 at gmx.us>
Cc: "OpenSIPS users mailling list" <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] MESSAGE t_relay()
Hi Gary,
It's hard to believe the failure route does serve your purpose - I would rather say you do something wrong in your cfg:
1) arm the failure route (with t_on_failure() TM function) before forwarding the request
2) be sure you use t_relay() for forwarding.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 22.08.2014 20:12, Gary Nyquist wrote:
Hi Bogdan,
I tried the 'failure route' method.
But, 'failure route' is not being executed, when there is no response from the remote receiver (of the MESSAGE).
Any tips, how to trigger this timeout (on no response)?
BR
-Gary
Sent: Thursday, August 21, 2014 at 3:51 AM
From: "Bogdan-Andrei Iancu" <bogdan at opensips.org>
To: "OpenSIPS users mailling list" <users at lists.opensips.org>, gn62 at gmx.us
Subject: Re: [OpenSIPS-Users] MESSAGE t_relay()
Hi,
Use a failure route to see if your MESSAGE got a negative or positive reply back. See:
http://www.opensips.org/Documentation/Script-Routes-1-11#toc3
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 15.08.2014 00:11, Gary Nyquist wrote:
Hi,
I am using t_relay() function to send some text using SIP MESSAGE method.
What is a smart way to confirm if the MESSAGE got transmitted successfuly or not?
Any ideas?
Thanks
-Gary
_______________________________________________
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/20140823/f0f981d0/attachment.htm>
More information about the Users
mailing list