<div dir="ltr">I just tested an outbound call (Asterisk originate) without bridging and get the same &#39;404 not here&#39; if that helps.<div><br></div><div style>Thanks again,</div><div style>Brad</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 8:01 AM, Vlad Paiu <span dir="ltr">&lt;<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>

  
    
    
  
  <div 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><div>        if (has_totag()) {</div><div>                # sequential request withing a dialog should</div><div>                # take the path determined by record-routing</div><div>                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 cols="72">Vlad Paiu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre><div><div class="h5">
    <br>
    On 02/24/2013 02:57 AM, brad smith wrote:
    </div></div><blockquote type="cite"><div><div class="h5">
      <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.  </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. </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><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.  </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.  </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 &#39;404 not here&#39; is returned to the ISP.
            <br>
            <br>
            sip trace </span><a 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" target="_blank">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 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" target="_blank">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>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>