<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:18px"><div id="yui_3_16_0_ym19_1_1461946587511_24327">fuck you</div><div id="yui_3_16_0_ym19_1_1461946587511_24328">fuck you</div><div id="yui_3_16_0_ym19_1_1461946587511_24329"><br id="yui_3_16_0_ym19_1_1461946587511_24330"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24331"><span id="yui_3_16_0_ym19_1_1461946587511_24332">do not send mail for me</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24333"><br id="yui_3_16_0_ym19_1_1461946587511_24334"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24335">fuck you</div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24336"><br id="yui_3_16_0_ym19_1_1461946587511_24337"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24338">fuck your parents&nbsp;</div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24339"><br id="yui_3_16_0_ym19_1_1461946587511_24340"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1461946587511_24341"><span id="yui_3_16_0_ym19_1_1461946587511_24342">sun of the bech</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 18px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Saturday, April 23, 2016 12:50 PM, Bogdan-Andrei Iancu &lt;bogdan@opensips.org&gt; wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv5889479120"><div>
    <tt>Hi Daniel,<br clear="none">
      <br clear="none">
      There is no easy fix to come into my mind right now. But I will do
      more thinking on this.<br clear="none">
      <br clear="none">
      BTW, please check as you have the same routing issue also when the
      B party sends the BYE to hung up -&gt; that BYE also will get
      stuck on the way.<br clear="none">
      <br clear="none">
      Regards,<br clear="none">
    </tt>
    <pre class="yiv5889479120moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="yiv5889479120moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
    <div class="yiv5889479120yqt4518563733" id="yiv5889479120yqt69807"><div class="yiv5889479120moz-cite-prefix">On 23.04.2016 06:29, Daniel Zanutti
      wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div dir="ltr">That makes a lot of sense.</div>
      <div dir="ltr">Do you think is there anything I could do on my side
        to solve this? Maybe manually fix the RR?</div>
      <div dir="ltr">This client has some kind of link balancing, so
        public IP may change at any time. This must be the reason he
        hasn't set it.</div>
      <div dir="ltr">Thanks in advance!</div>
      <div class="yiv5889479120gmail_quote">Em 22/04/2016 7:40 PM, "Bogdan-Andrei
        Iancu" &lt;<a rel="nofollow" shape="rect" ymailto="mailto:bogdan@opensips.org" target="_blank" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;
        escreveu:<br clear="none">
        <blockquote class="yiv5889479120gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
          <div> <tt>Hi Daniel,<br clear="none">
              <br clear="none">
              Actually, on the A side, you have another proxy ( see the
              Record Route with 172.20.17.11 in the INVITE). OpenSIPS
              tries to send the BYE to the RR header, but that is
              private. A SIP proxy, if sending traffic to public
              Internet, should not use at all private IPs.<br clear="none">
              <br clear="none">
              Bottom line, the broken link in your scenario is the </tt><tt>172.20.17.11

              proxy before your opensips.<br clear="none">
              <br clear="none">
              Regards,<br clear="none">
            </tt>
            <pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
            <div>On 23.04.2016 00:12, Daniel Zanutti wrote:<br clear="none">
            </div>
            <blockquote type="cite">
              <div dir="ltr">Hi
                <div><br clear="none">
                </div>
                <div>I'm facing an strange issue when my Opensips
                  instance hangs up a call, generating BYE to both sides
                  (timeout on dialog module or rtpproxy). The BYE is
                  sent to both sides but A side is behind NAT and the
                  BYE is sent to the local IP address and not to the
                  public one.</div>
                <div><br clear="none">
                </div>
                <div>See trace bellow:</div>
                <div><br clear="none">
                </div>
                <div>Customer -&gt; Opensips</div>
                <div><br clear="none">
                </div>
                <div>
                  <div><b>U <a rel="nofollow" shape="rect" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://200.200.200.200:27923/">200.200.200.200:27923</a> -&gt;
                      <a rel="nofollow" shape="rect" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://199.199.199.199:5060/">199.199.199.199:5060</a></b></div>
                  <div>INVITE <a rel="nofollow" shape="rect" ymailto="mailto:sip%3A551133333333@plat.test.com" target="_blank" href="mailto:sip%3A551133333333@plat.test.com">sip:551133333333@plat.test.com</a>
                    SIP/2.0</div>
                  <div>Record-Route:
                    &lt;sip:172.20.17.11;lr;ftag=7db6f42e;did=769.5ee54854&gt;</div>
                  <div>Via: SIP/2.0/UDP
                    172.20.17.11:5060;branch=z9hG4bKb99a.3c0442d4.0</div>
                  <div>Via: SIP/2.0/UDP
172.28.0.12:57744;received=172.28.0.12;branch=z9hG4bK-524287-1---08559406a5e9137b;rport=57744</div>
                  <div>Max-Forwards: 68</div>
                  <div>Contact: <a rel="nofollow" shape="rect" ymailto="mailto:sip:100111@172.28.0.12:57744;rinstance=b4a1be0f56d73cfd" target="_blank" href="mailto:sip:100111@172.28.0.12:57744;rinstance=b4a1be0f56d73cfd">&lt;sip:100111@172.28.0.12:57744;rinstance=b4a1be0f56d73cfd&gt;</a></div>
                  <div>To: &lt;<a rel="nofollow" shape="rect" ymailto="mailto:sip%3A551133333333@plat.test.com" target="_blank" href="mailto:sip%3A551133333333@plat.test.com">sip:551133333333@plat.test.com</a>&gt;</div>
                  <div>From: &lt;<a rel="nofollow" shape="rect" ymailto="mailto:sip%3A100111@172.20.17.11" target="_blank" href="mailto:sip%3A100111@172.20.17.11">sip:100111@172.20.17.11</a>&gt;;tag=7db6f42e</div>
                  <div>Call-ID:
                    79961NjFjMjY2MDhiYjhhNDYyN2UyMWZiMzFiNWM5NzBkNTM</div>
                  <div>CSeq: 2 INVITE</div>
                  <div>Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL,
                    BYE, REFER, INFO, OPTIONS, MESSAGE</div>
                  <div>Content-Type: application/sdp</div>
                  <div>Supported: replaces</div>
                  <div>User-Agent: X-Lite release 4.9.3 stamp 79961</div>
                  <div>Content-Length: 333</div>
                  <div>P-hint: NAT</div>
                  <div><br clear="none">
                  </div>
                  <div><br clear="none">
                  </div>
                  <div>BYE Opensips -&gt; Customer</div>
                  <div><br clear="none">
                  </div>
                  <div><b>U <a rel="nofollow" shape="rect" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://199.199.199.199:5060/">199.199.199.199:5060</a> -&gt; <font color="#ff0000"><a rel="nofollow" shape="rect" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://172.20.17.11:5060/">172.20.17.11:5060</a></font></b></div>
                  <div>BYE <a rel="nofollow" shape="rect" ymailto="mailto:sip:100111@200.200.200.200:27923;rinstance=b4a1be0f56d73cfd" target="_blank" href="mailto:sip:100111@200.200.200.200:27923;rinstance=b4a1be0f56d73cfd">sip:100111@200.200.200.200:27923;rinstance=b4a1be0f56d73cfd</a>
                    SIP/2.0</div>
                  <div>Via: SIP/2.0/UDP
                    199.199.199.199:5060;branch=z9hG4bKe99a.e1c423a3.0</div>
                  <div>To: &lt;<a rel="nofollow" shape="rect" ymailto="mailto:sip%3A100111@172.20.17.11" target="_blank" href="mailto:sip%3A100111@172.20.17.11">sip:100111@172.20.17.11</a>&gt;;tag=7db6f42e</div>
                  <div>From: &lt;<a rel="nofollow" shape="rect" ymailto="mailto:sip%3A551133333333@plat.test.com" target="_blank" href="mailto:sip%3A551133333333@plat.test.com">sip:551133333333@plat.test.com</a>&gt;;tag=as4088ffc9</div>
                  <div>CSeq: 1 BYE</div>
                  <div>Call-ID:
                    79961NjFjMjY2MDhiYjhhNDYyN2UyMWZiMzFiNWM5NzBkNTM</div>
                  <div>Route:
                    &lt;sip:172.20.17.11;lr;ftag=7db6f42e;did=769.5ee54854&gt;</div>
                  <div>Max-Forwards: 70</div>
                  <div>Content-Length: 0</div>
                  <div>User-Agent: Softswitch</div>
                </div>
                <div><br clear="none">
                </div>
                <div><br clear="none">
                </div>
                <div>On the initial invite, I fixed the Contact using
                  fix_nated_contact() and signalling works fine between
                  A and B sides, the problem is happening when Opensips
                  hangup the call, because A side doesnt receive the
                  BYE.</div>
                <div><br clear="none">
                </div>
                <div>Do you guys have an idea on how to fix this? Maybe
                  is it a bug?</div>
                <div><br clear="none">
                </div>
                <div>Thanks</div>
                <div><br clear="none">
                </div>
                <div><br clear="none">
                </div>
                <div><br clear="none">
                </div>
              </div>
              <br clear="none">
              <fieldset></fieldset>
              <br clear="none">
              <pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br clear="none">
          </div>
        </blockquote>
      </div>
    </blockquote></div>
    <br clear="none">
  </div></div><br><div class="yqt4518563733" id="yqt42725">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>