Re: [SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-04-09 Thread Ding Ma
Hi, all It took some time to clean up the pjsua settings and collect the pcaps for both cases. Here are the two pcap files. call_failed_bye.pcap has the call trace when the BYE is handled with the following logic. route[WITHINDLG] { if (has_totag()) { if (loose_route()) { route(DLGURI); if (is_

Re: [SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-20 Thread Daniel-Constantin Mierla
An alternative would be to test with tcp, from routing point of view should be the same if it is udp-tcp or udp-tls. Cheers, Daniel On 20/03/15 15:09, Vitaliy Aleksandrov wrote: > > >> We use TLS for SIP. The Wireshark pcap would be encrypted. I’ll try >> to get a pcap anyway. Wonder if there is

Re: [SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-20 Thread Vitaliy Aleksandrov
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. Wireshark can decrypt SIP signalling sent over TLS connections if you provide server's private key to it. All the requests within dialog ar

Re: [SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-20 Thread Ding Ma
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.

Re: [SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-20 Thread Daniel-Constantin Mierla
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

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-19 Thread Ding Ma
Hi, all I'm trying to set up 2 kamailio servers for active-active redundancy. The two kamailio severs share the the same database with db_mode=3, and no registration replication. Use pjsua2 as SIP client for testing. The test setup is as follows: kamailio server 1(k1): 10.0.1.30:5061 kamaili

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-18 Thread Ding Ma
This is the SIP log when using location routing for BYE from peer server. pjsua2_good.log Description: Binary data ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-18 Thread Ding Ma
This is the SIP log with the 500 error for BYE. pjsua2_missingbye.log Description: Binary data ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-18 Thread Ding Ma
Hi, all I'm trying to set up 2 kamailio servers for active-active redundancy. The two kamailio severs share the the same database with db_mode=3, and no registration replication. Use pjsua2 as SIP client for testing. The test setup is as follows: kamailio server 1(k1): 10.0.1.30:5061