<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the problem is that the callee is behind the nat but you don't
    handle the 200ok properly in order to update the contact address.
    The contact address stays like 192.168..., which cannot be routed by
    kamailio when it appears in R-URI of ACK and BYE.<br>
    <br>
    Be sure you do nat traversal logic for replies.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 28/10/14 06:05, qw wrote:<br>
    </div>
    <blockquote
      cite="mid:138b9be8.183b8.1495524a446.Coremail.applemax82@163.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div>hi,</div>
        <div><br>
        </div>
        <div>I install kamailio 4.2.x on centos 6.5 via 'yum'. One
          endpoint called another, where one dialog is created, and
          caller and callee can talk with each other. But when the
          caller hangup the phone(i.e. send bye to the callee), the
          callee can't receive the bye message, and the dialog can't be
          terminated normally.</div>
        <div><br>
        </div>
        <div>I have captured the packets via wireshark, and uploaded
          kamailio.cfg and the captured files as attachment.</div>
        <div><br>
        </div>
        <div>In the captured file, PRACK and BYE message can be sent to
          kamailio server successfully, but kamailio server doesn't
          forward the two messages to the callee.</div>
        <div><br>
        </div>
        <div>Why PRACK and BYE message can't be sent to the callee?</div>
        <div><br>
        </div>
        <div>Looking forward to your help!</div>
        <div><br>
        </div>
        <div>B.R.</div>
        <div><br>
        </div>
        <div>Andrew</div>
      </div>
      <br>
      <br>
      <span title="neteasefooter"><span id="netease_mail_footer"></span></span><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>