<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">We use TLS for SIP. The Wireshark pcap would be encrypted. I’ll try to get a pcap anyway. Wonder if there is a way to dump pcap from inside kamailio.<div class=""><br class=""><div class="">All the requests within dialog are routed through 2 kamailio instances. We want to make sure each phone only sends requests through its registrar. </div><div class=""><br class=""></div><div class="">I have included pjsua logs in subsequent emails in this thread. Those logs have SIP messages, but only provide client perspective. </div><div class=""><br class=""></div><div class="">Thanks for the help,</div><div class=""><br class=""></div><div class="">Ding</div><div class=""> <br class=""><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 20, 2015, at 3:00 AM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" class="">miconda@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    Hello,<br class="">
    <br class="">
    <div class="moz-cite-prefix">On 19/03/15 02:54, Ding Ma wrote:<br class="">
    </div>
    <blockquote cite="mid:AC6C723A-D12E-4565-A08F-88C134E371E5@gmail.com" type="cite" class="">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252" class="">
      <div dir="ltr" class="">[...]
        <div class=""> <br class="webkit-block-placeholder"></div><p class="MsoNormal">My first question is why k1 loose_route
          sends the BYE to itself instead of the client. Is this a bug?
          <br class="">
        </p>
      </div>
    </blockquote>
    <br class="">
    can you get the pcap of such call? We have to see the routing
    headers to say what is next hop address.<br class="">
    <br class="">
    Are all the requests within dialog routed via same instance of
    kamailio?<br class="">
    <br class="">
    <blockquote cite="mid:AC6C723A-D12E-4565-A08F-88C134E371E5@gmail.com" type="cite" class="">
      <div dir="ltr" class=""><p class="MsoNormal">My next question is whether the above
          location routing for BYE from peer kamailio a good/safe
          approach.</p><p class="MsoNormal">The SIP traces will be sent later to avoid
          exceeding email size limit.</p>
      </div>
    </blockquote>
    Cheers,<br class="">
    Daniel<br class="">
    <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>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com/">http://www.kamailioworld.com</a></pre>
  </div>

</div></blockquote></div><br class=""></div></div></div></div></body></html>