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" <[email protected]>
To: "Gary Nyquist" <[email protected]>
Cc: "OpenSIPS users mailling list" <[email protected]>
Subject: Re: [OpenSIPS-Users] MESSAGE t_relay()
From: "Bogdan-Andrei Iancu" <[email protected]>
To: "Gary Nyquist" <[email protected]>
Cc: "OpenSIPS users mailling list" <[email protected]>
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,
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.comOn 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-GarySent: Thursday, August 21, 2014 at 3:51 AM
From: "Bogdan-Andrei Iancu" <[email protected]>
To: "OpenSIPS users mailling list" <[email protected]>, [email protected]
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.comOn 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 [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
