<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hello,<br>
        <br>
        t_relay() will only "fail" because of internal reasons (e.g. out
        of mem, max number of branches exceeded, transaction has 6XX
        status...).<br>
        <br>
        It looks like you need to use a <b>failure_route</b> [1] for
        your transaction, and perform your error handling when it
        eventually expires, because no replies are being sent back. You
        can control the transaction timeout with the timeout variables
        from the TM module [2].<br>
        <br>
        [1]:
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Routes-1-12#toc3">http://www.opensips.org/Documentation/Script-Routes-1-12#toc3</a><br>
        [2]:
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.12.x/tm.html#id295701">http://www.opensips.org/html/docs/modules/1.12.x/tm.html#id295701</a><br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 07/15/2014 10:20 PM, Gary Nyquist wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-5e645615-bf92-467c-b00e-3007bdd83693-1405452002750@3capp-mailcom-lxa06"
      type="cite">
      <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>Looking for some insight into the t_relay().</div>
              <div>I am using the t_relay() to route INVITE to the
                Callee device (sip client running on a mobile device).</div>
              <div>
                <div>I was expecting the&nbsp;<span style="font-family:
                    Verdana; font-size: 12px; line-height:
                    19.200000762939453px;">t_relay() to fail (returning
                    a -ve number), when the sip client is not running on
                    the mobile device.</span></div>
                <div><span style="font-family: Verdana; font-size: 12px;
                    line-height: 19.200000762939453px;">But I find
                    that&nbsp;t_relay() is not failing in this scenario.</span></div>
                <div>Is this the normal behavior of&nbsp;<span
                    style="font-family: Verdana; font-size: 12px;
                    line-height: 19.200000762939453px;">t_relay()?</span></div>
                <div>&nbsp;</div>
              </div>
              <div>Thanks<br>
                -Gary</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>