<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    Seems the incoming BYE does not have any Route headers, and the
    loose_route() function returns false.<br>
    <br>
    Since you have dialog support in your script, try<br>
    <pre class="line-pre"><div class="line" id="file-opensips-cfg-gist-LC220">        if (has_totag()) {</div><div class="line" id="file-opensips-cfg-gist-LC221">                # sequential request withing a dialog should</div><div class="line" id="file-opensips-cfg-gist-LC222">                # take the path determined by record-routing</div><div class="line" id="file-opensips-cfg-gist-LC223">                if (loose_route() || match_dialog()) {

</div></pre>
    This way you will force matching of dialog sequential requests that
    have no Route headers.<br>
    <br>
    Best Regards,<br>
    <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
    <br>
    On 02/24/2013 02:57 AM, brad smith wrote:
    <blockquote
cite="mid:CALDj9Ha8AAqG-ppmceT9=O=XmgVfN9ZAU8jP+F=OF3Tryr=QDQ@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="color: rgb(85, 85, 85); font-family:
          arial,helvetica,clean,sans-serif; font-size: 13px;
          line-height: 18px; white-space: pre-wrap;">Hello,<br>
          I am currently running opensips 1.8.1 no tls. It is
          multi-homed with a public and private address. &nbsp;</span>
        <div><span style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;">I have a asterisk
            1.8.19 in the lan that is connected to opensips via lan
            address.&nbsp;</span></div>
        <div><span style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;"><br>
          </span></div>
        <div style=""><font color="#555555" face="arial, helvetica,
            clean, sans-serif"><span style="line-height: 18px;
              white-space: pre-wrap;">*issue* </span></font></div>
        <div><span style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;">A caller calls in
            and then I place an outbound call and finally bridge the two
            calls. &nbsp;</span></div>
        <div><span style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;">This works as
            expected, except when the outbound caller hangs up first the
            BYE never gets back to Asterisk. &nbsp;</span></div>
        <div><span style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;">I can see the BYE
            reach OpenSips but a '404 not here' is returned to the ISP.
            <br>
            <br>
            sip trace </span><a moz-do-not-send="true"
            href="https://gist.github.com/5009662" style="color: rgb(0,
            102, 153); text-decoration: none; margin: 0px; padding: 0px;
            font-size: 13px; vertical-align: baseline; outline: medium
            none; font-family: arial,helvetica,clean,sans-serif;
            line-height: 18px; white-space: pre-wrap;">https://gist.github.com/5009662</a><span
            style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;"> <br>
            opensips.cfg </span><a moz-do-not-send="true"
            href="https://gist.github.com/5009704" style="color: rgb(0,
            102, 153); text-decoration: none; margin: 0px; padding: 0px;
            font-size: 13px; vertical-align: baseline; outline: medium
            none; font-family: arial,helvetica,clean,sans-serif;
            line-height: 18px; white-space: pre-wrap;">https://gist.github.com/5009704</a><span
            style="color: rgb(85, 85, 85); font-family:
            arial,helvetica,clean,sans-serif; font-size: 13px;
            line-height: 18px; white-space: pre-wrap;"><br>
            <br>
            <br>
            thanks for your time.</span><br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
  </body>
</html>