<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi, thanks for reply!<br>Actually, the reason wasn't in `<span style="font-family:monospace;font-size:10.4px">fix_route_dialog()</span>`. But like you said, I re-checked if Record-Route presents in messages, they weren't (I use combination of 2 proxies, Record-Route wasn't present on second proxy). So, now everything works. Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-28 14:08 GMT+05:00 Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p><tt>Hi Artur,</tt></p>
    <p><tt>I would first make sure the outgoing packets actually contain
        the added "Record-Route" header by doing a trace - scripting
        mistakes come in all shapes and sizes. If the carriers are
        really to blame, you also have the option of fixing the routing
        set for the BYEs using fix_route_dialog() [1]</tt></p>
    <p><tt>[1]:
        <a class="m_-8114756516237117342moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.4.x/dialog.html#idp5801280" target="_blank">http://www.opensips.org/html/<wbr>docs/modules/2.4.x/dialog.<wbr>html#idp5801280</a><br>
      </tt></p>
    <pre class="m_-8114756516237117342moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_-8114756516237117342moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre><div><div class="h5">
    <div class="m_-8114756516237117342moz-cite-prefix">On 28.06.2017 12:01, Artur Mega wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">Hello
          community,<br>
          I see, that BYE (from carrier) comes to Opensips without Route
          field... Which gives me error '404 Not here'.<br>
          Before doing INVITE to the carrier, I execute record_route().
          What can be the reason why carrier don't put Route to his BYE?
          I checked 2 different carriers, in every case the problem is
          same</div>
        <div><br>
        </div>
        -- <br>
        <div class="m_-8114756516237117342gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div style="font-size:small;display:inline">​С
                  уважением, ​</div>
                <span style="font-size:small">Артур</span><br style="font-size:small">
                <div style="font-size:small">​Regards, Arthur​</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_-8114756516237117342mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-8114756516237117342moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-8114756516237117342moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:small;display:inline">​С уважением, ​</div><span style="font-size:small">Артур</span><br style="font-size:small"><div style="font-size:small">​Regards, Arthur​</div></div></div></div></div>
</div>