<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Gary,<br>
        <br>
        It's hard to believe the failure route does serve your purpose -
        I would rather say you do something wrong in your cfg:<br>
            1) arm the failure route (with t_on_failure() TM function)
        before forwarding the request<br>
            2) be sure you use t_relay() for forwarding.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 22.08.2014 20:12, Gary Nyquist wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-1215f243-8afb-42f6-ac7e-e103a15d8cce-1408727550000@3capp-mailcom-lxa08"
      type="cite">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div>
          <div>Hi Bogdan,</div>
          <div> </div>
          <div>I tried the 'failure route' method.</div>
          <div>But, <span style="font-family: Verdana; font-size: 12px;
              line-height: 19.200000762939453px;">'failure route' 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> </div>
          <div>BR</div>
          <div>-Gary</div>
          <div> 
            <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> Thursday,
                August 21, 2014 at 3:51 AM<br>
                <b>From:</b> "Bogdan-Andrei Iancu"
                <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a><br>
                <b>To:</b> "OpenSIPS users mailling list"
                <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a>, <a class="moz-txt-link-abbreviated" href="mailto:gn62@gmx.us">gn62@gmx.us</a><br>
                <b>Subject:</b> 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,<br>
                      <br>
                      Use a failure route to see if your MESSAGE got a
                      negative or positive reply back. See:<br>
                          <a moz-do-not-send="true"
                        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 moz-do-not-send="true" 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> </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> </div>
                            <div><span style="line-height: 1.6em;">Thanks</span></div>
                            <div>-Gary</div>
                          </div>
                        </div>
                      </div>
                    </div>
                     
                    <fieldset class="mimeAttachmentHeader"> </fieldset>
                     
                    <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
    <br>
  </body>
</html>