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.

All the requests within dialog are routed through 2 kamailio instances. We want to make sure each phone only sends requests through its registrar. 

I have included pjsua logs in subsequent emails in this thread. Those logs have SIP messages, but only provide client perspective. 

Thanks for the help,

Ding
 

On Mar 20, 2015, at 3:00 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

On 19/03/15 02:54, Ding Ma wrote:
[...]
 

My first question is why k1 loose_route sends the BYE to itself instead of the client. Is this a bug?


can you get the pcap of such call? We have to see the routing headers to say what is next hop address.

Are all the requests within dialog routed via same instance of kamailio?

My next question is whether the above location routing for BYE from peer kamailio a good/safe approach.

The SIP traces will be sent later to avoid exceeding email size limit.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com