<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Bogdan,</div>

<div>&nbsp;</div>

<div>I am arming the failure route correctly before calling t_relay().</div>

<div>In my case the transport is TLS.</div>

<div>Could that be the reason for not hitting the failure route?</div>

<div>&nbsp;</div>

<div>BR</div>

<div>-Gary</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b>&nbsp;Friday, August 22, 2014 at 4:12 PM<br/>
<b>From:</b>&nbsp;&quot;Bogdan-Andrei Iancu&quot; &lt;bogdan@opensips.org&gt;<br/>
<b>To:</b>&nbsp;&quot;Gary Nyquist&quot; &lt;gn62@gmx.us&gt;<br/>
<b>Cc:</b>&nbsp;&quot;OpenSIPS users mailling list&quot; &lt;users@lists.opensips.org&gt;<br/>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] MESSAGE t_relay()</div>

<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix"><tt>Hi Gary,<br/>
<br/>
It&#39;s hard to believe the failure route does serve your purpose - I would rather say you do something wrong in your cfg:<br/>
&nbsp;&nbsp;&nbsp; 1) arm the failure route (with t_on_failure() TM function) before forwarding the request<br/>
&nbsp;&nbsp;&nbsp; 2) be sure you use t_relay() for forwarding.<br/>
<br/>
Regards,</tt>

<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
On 22.08.2014 20:12, Gary Nyquist wrote:</div>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Hi Bogdan,</div>

<div>&nbsp;</div>

<div>I tried the &#39;failure route&#39; method.</div>

<div>But,&nbsp;<span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">&#39;failure route&#39; is not being executed, when there is no response from the remote receiver (of the MESSAGE).</span></div>

<div>Any tips, how to trigger this timeout (on no response)?</div>

<div>&nbsp;</div>

<div>BR</div>

<div>-Gary</div>

<div>&nbsp;
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Sent:</b>&nbsp;Thursday, August 21, 2014 at 3:51 AM<br/>
<b>From:</b>&nbsp;&quot;Bogdan-Andrei Iancu&quot; <a class="moz-txt-link-rfc2396E" href="bogdan@opensips.org" target="_parent">&lt;bogdan@opensips.org&gt;</a><br/>
<b>To:</b>&nbsp;&quot;OpenSIPS users mailling list&quot; <a class="moz-txt-link-rfc2396E" href="users@lists.opensips.org" target="_parent">&lt;users@lists.opensips.org&gt;</a>, <a class="moz-txt-link-abbreviated" href="gn62@gmx.us" target="_parent">gn62@gmx.us</a><br/>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] MESSAGE t_relay()</div>

<div>
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix"><tt>Hi,<br/>
<br/>
Use a failure route to see if your MESSAGE got a negative or positive reply back. See:<br/>
&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Routes-1-11#toc3" target="_blank">http://www.opensips.org/Documentation/Script-Routes-1-11#toc3</a><br/>
<br/>
Regards,</tt>

<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
On 15.08.2014 00:11, Gary Nyquist wrote:</div>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>

<div>&nbsp;</div>

<div>I am using t_relay() function to send some text using SIP MESSAGE method.</div>

<div>What is a smart way to confirm if the MESSAGE got transmitted successfuly or not?</div>

<div>Any ideas?</div>

<div>&nbsp;</div>

<div><span style="line-height: 1.6em;">Thanks</span></div>

<div>-Gary</div>
</div>
</div>
</div>
</div>
&nbsp;

<fieldset class="mimeAttachmentHeader">&nbsp;</fieldset>
&nbsp;

<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div></div></body></html>