Bugs item #3393629, was opened at 2011-08-18 10:31 Message generated for change (Comment added) made by bogdan_iancu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3393629&group_id=232389
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: Muhammad Shahzad (shari_786pk) Assigned to: Bogdan-Andrei Iancu (bogdan_iancu) Summary: Wrong loadbalancer module stats from lb_list command Initial Comment: Hi, If we create dialog with empty parameters for method create_dialog and then call load_balance("1", "max", "0") then MI command lb_list shows wrong (very high then actual number of) call distribution stats amount load balanced gateways. For example, i have 5 gateways served by loadbalancer module and right now lb_list says i have 1070 total calls (210-212 calls on each gateway), while in real the total calls are just 120 (20-22 calls per gateway). I am afraid if this trend continues then loadbalancer will declare itself out of capacity while still a lots of capacity left. However, if we use "BPp" as parameters for create_dialog then lb_list shows correct stats. I am using opensips trunk version 8201, also tried 8190, 8215, 8257, this bug exists in all of them. ---------------------------------------------------------------------- >Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2011-08-25 13:52 Message: the trace looks ok. Can you do the following thing: 1) start a fresh opensips run (with 0 dialog, no load on LB) 2) make a single call and terminate it 3) get the logs (in debug=6) for the call and attach them here 4) check if the call is seen as terminated by opensips - check the LB status. ---------------------------------------------------------------------- Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2011-08-25 13:49 Message: the trace looks ok. Can you do the following thing: 1) start a fresh opensips run (with 0 dialog, no load on LB) ---------------------------------------------------------------------- Comment By: Muhammad Shahzad (shari_786pk) Date: 2011-08-19 10:20 Message: I am using dlg_match_mode = 1. Here is my call scenario, +9876543210@X.X.X.X -> A.A.A.A -> B.B.B.B -> A.A.A.A -> 6661234567890@C.C.C.C where, caller ip: X.X.X.X, callerid: +9876543210 opensips ip: A.A.A.A media gateway: B.B.B.B (this is chosen by load_balance method) termination carrier ip: C.C.C.C with carrier prefix 666. Here is sip trace taken from ngrep. U 2011/08/19 06:07:10.702945 X.X.X.X:59858 -> A.A.A.A:5060 INVITE sip:+1234567...@opensips.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 172.16.30.210:5060;branch=z9hG4bK00bb8d2497c8e01198f108002700a077;rport From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com> Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 INVITE Contact: <sip:+9876543210@X.X.X.X:34317> Content-Type: application/sdp Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE Max-Forwards: 70 Supported: 100rel, replaces, from-change User-Agent: SIPPER for PhonerLite P-Preferred-Identity: <sip:+9876543...@opensips.mydomain.com> Content-Length:423 v=0 o=- 326332081 0 IN IP4 X.X.X.X s=SIPPER for PhonerLite i=(o=IN IP4 10.1.1.16) c=IN IP4 X.X.X.X t=0 0 m=audio 34316 RTP/AVP 8 0 2 3 97 110 111 9 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:97 iLBC/8000 a=rtpmap:110 speex/8000 a=rtpmap:111 speex/16000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv U 2011/08/19 06:07:10.936779 A.A.A.A:5060 -> X.X.X.X:59858 SIP/2.0 100 Giving a try Via: SIP/2.0/UDP 172.16.30.210:5060;branch=z9hG4bK00bb8d2497c8e01198f108002700a077;rport=59858;received=X.X.X.X From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com> Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 INVITE Server: Service v1.7.0-beta-tls Content-Length: 0 U 2011/08/19 06:07:10.939484 B.B.B.B:5070 -> A.A.A.A:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK3796.66bbd46.0;received=A.A.A.A Via: SIP/2.0/UDP 172.16.30.210:5060;received=X.X.X.X;branch=z9hG4bK00bb8d2497c8e01198f108002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "+9876543210" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com> Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070> Content-Length: 0 U 2011/08/19 06:07:11.207388 B.B.B.B:5070 -> A.A.A.A:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK3796.66bbd46.0;received=A.A.A.A Via: SIP/2.0/UDP 172.16.30.210:5060;received=X.X.X.X;branch=z9hG4bK00bb8d2497c8e01198f108002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "+9876543210" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070> Content-Type: application/sdp Content-Length: 280 v=0 o=root 1397608012 1397608012 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 18004 RTP/AVP 3 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:11.208618 A.A.A.A:5060 -> X.X.X.X:59858 SIP/2.0 200 OK Via: SIP/2.0/UDP 172.16.30.210:5060;received=X.X.X.X;branch=z9hG4bK00bb8d2497c8e01198f108002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070;nat=yes> Content-Type: application/sdp Content-Length: 280 v=0 o=root 1397608012 1397608012 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 18004 RTP/AVP 3 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:11.410924 X.X.X.X:59858 -> A.A.A.A:5060 ACK sip:+1234567890@B.B.B.B:5070;nat=yes SIP/2.0 Via: SIP/2.0/UDP 172.16.30.210:5060;branch=z9hG4bK00bb8d2497c8e01198f208002700a077;rport Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 ACK Contact: <sip:+9876543210@X.X.X.X:34317> Max-Forwards: 70 Content-Length: 0 U 2011/08/19 06:07:11.423184 A.A.A.A:5060 -> B.B.B.B:5070 ACK sip:+1234567890@B.B.B.B:5070 SIP/2.0 Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK3796.66bbd46.2 Via: SIP/2.0/UDP 172.16.30.210:5060;received=X.X.X.X;branch=z9hG4bK00bb8d2497c8e01198f208002700a077;rport=59858 From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 5 ACK Contact: <sip:+9876543210@X.X.X.X:59858;nat=yes> Max-Forwards: 69 Content-Length: 0 U 2011/08/19 06:07:11.597441 X.X.X.X:59858 -> A.A.A.A:5060 INVITE sip:+1234567890@B.B.B.B:5070;nat=yes SIP/2.0 Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK8051262597c8e01198f208002700a077;rport Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Contact: <sip:+9876543210@X.X.X.X:34317> Content-Type: application/sdp Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE Max-Forwards: 70 Supported: 100rel, replaces, from-change User-Agent: SIPPER for PhonerLite Content-Length:428 v=0 o=- 326332081 0 IN IP4 X.X.X.X s=SIPPER for PhonerLite i=(o=IN IP4 X.X.X.X) c=IN IP4 X.X.X.X t=0 0 m=audio 34320 RTP/AVP 8 0 2 3 97 110 111 9 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:97 iLBC/8000 a=rtpmap:110 speex/8000 a=rtpmap:111 speex/16000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv U 2011/08/19 06:07:11.609369 A.A.A.A:5060 -> X.X.X.X:59858 SIP/2.0 100 Giving a try Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Server: Service v1.7.0-beta-tls Content-Length: 0 U 2011/08/19 06:07:11.609409 A.A.A.A:5060 -> B.B.B.B:5070 INVITE sip:+1234567890@B.B.B.B:5070 SIP/2.0 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534> Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK0796.80dca141.0 Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Contact: <sip:+9876543210@X.X.X.X:59858;nat=yes> Content-Type: application/sdp Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE Max-Forwards: 69 Supported: 100rel, replaces, from-change User-Agent: SIPPER for PhonerLite Content-Length:428 v=0 o=- 326332081 0 IN IP4 X.X.X.X s=SIPPER for PhonerLite i=(o=IN IP4 X.X.X.X) c=IN IP4 X.X.X.X t=0 0 m=audio 34320 RTP/AVP 8 0 2 3 97 110 111 9 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:97 iLBC/8000 a=rtpmap:110 speex/8000 a=rtpmap:111 speex/16000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv U 2011/08/19 06:07:11.611577 B.B.B.B:5070 -> A.A.A.A:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK0796.80dca141.0;received=A.A.A.A Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070> Content-Length: 0 U 2011/08/19 06:07:11.612476 B.B.B.B:5070 -> A.A.A.A:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK0796.80dca141.0;received=A.A.A.A Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070> Content-Type: application/sdp Content-Length: 280 v=0 o=root 1397608012 1397608012 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 18004 RTP/AVP 3 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:11.612591 A.A.A.A:5060 -> X.X.X.X:59858 SIP/2.0 200 OK Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070;nat=yes> Content-Type: application/sdp Content-Length: 280 v=0 o=root 1397608012 1397608012 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 18004 RTP/AVP 3 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:11.811174 B.B.B.B:5070 -> A.A.A.A:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK0796.80dca141.0;received=A.A.A.A Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070> Content-Type: application/sdp Content-Length: 280 v=0 o=root 1397608012 1397608012 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 18004 RTP/AVP 3 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:11.811495 A.A.A.A:5060 -> X.X.X.X:59858 SIP/2.0 200 OK Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f208002700a077;rport=59858 Record-Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 INVITE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: <sip:%2b1234567890@B.B.B.B:5070;nat=yes> Content-Type: application/sdp Content-Length: 280 v=0 o=root 1397608012 1397608012 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 18004 RTP/AVP 3 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:11.865466 X.X.X.X:59858 -> A.A.A.A:5060 ACK sip:+1234567890@B.B.B.B:5070;nat=yes SIP/2.0 Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK8051262597c8e01198f308002700a077;rport Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 ACK Contact: <sip:+9876543210@X.X.X.X:34317> Max-Forwards: 70 Content-Length: 0 U 2011/08/19 06:07:11.866017 A.A.A.A:5060 -> B.B.B.B:5070 ACK sip:+1234567890@B.B.B.B:5070 SIP/2.0 Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK0796.80dca141.2 Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f308002700a077;rport=59858 From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 ACK Contact: <sip:+9876543210@X.X.X.X:59858;nat=yes> Max-Forwards: 69 Content-Length: 0 U 2011/08/19 06:07:11.987547 X.X.X.X:59858 -> A.A.A.A:5060 ACK sip:+1234567890@B.B.B.B:5070;nat=yes SIP/2.0 Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK8051262597c8e01198f308002700a077;rport Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 ACK Contact: <sip:+9876543210@X.X.X.X:34317> Max-Forwards: 70 Content-Length: 0 U 2011/08/19 06:07:11.988053 A.A.A.A:5060 -> B.B.B.B:5070 ACK sip:+1234567890@B.B.B.B:5070 SIP/2.0 Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK0796.80dca141.2 Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK8051262597c8e01198f308002700a077;rport=59858 From: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 To: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 6 ACK Contact: <sip:+9876543210@X.X.X.X:59858;nat=yes> Max-Forwards: 69 Content-Length: 0 U 2011/08/19 06:07:13.299498 B.B.B.B:5070 -> A.A.A.A:5060 INVITE sip:6661234567890@A.A.A.A:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP B.B.B.B:5070;branch=z9hG4bK2e826b39;rport Max-Forwards: 70 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone> Contact: <sip:%2b9876543210@B.B.B.B:5070> Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 102 INVITE User-Agent: OSIPS Service v1.6.2 Remote-Party-ID: "+9876543210" <sip:+9876543210@B.B.B.B>;privacy=off;screen=yes Date: Fri, 19 Aug 2011 06:07:13 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Caller-Cards-ID: 19343 Access-Number: SIP-CALL Carrier: ZERIBS_NEW WLPARTNER: 1 Content-Type: application/sdp Content-Length: 325 v=0 o=root 994587475 994587475 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 12982 RTP/AVP 3 18 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:13.328951 A.A.A.A:5060 -> B.B.B.B:5070 SIP/2.0 100 Giving a try Via: SIP/2.0/UDP B.B.B.B:5070;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone> Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 102 INVITE Server: Service v1.7.0-beta-tls Content-Length: 0 U 2011/08/19 06:07:13.329016 A.A.A.A:5060 -> C.C.C.C:5060 INVITE sip:6661234567890@C.C.C.C:5060 SIP/2.0 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK47dd.d69832d4.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 Max-Forwards: 69 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone> Contact: <sip:%2b9876543210@B.B.B.B:5070> Termination-Type: BOTH WLPartner: 1 Caller-Cards-ID: 19343 Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 102 INVITE User-Agent: OSIPS Service v1.6.2 Remote-Party-ID: "+9876543210" <sip:+9876543210@B.B.B.B>;privacy=off;screen=yes Date: Fri, 19 Aug 2011 06:07:13 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Content-Type: application/sdp Content-Length: 325 P-hint: outbound v=0 o=root 994587475 994587475 IN IP4 B.B.B.B s=OSIPS Service v1.6.2 c=IN IP4 B.B.B.B t=0 0 m=audio 12982 RTP/AVP 3 18 8 0 101 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv U 2011/08/19 06:07:13.350937 C.C.C.C:5060 -> A.A.A.A:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK47dd.d69832d4.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060> Max-Forwards: 70 Content-Length: 0 U 2011/08/19 06:07:18.085044 C.C.C.C:5060 -> A.A.A.A:5060 SIP/2.0 180 Ringing Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK47dd.d69832d4.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060> Max-Forwards: 70 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Content-Length: 229 Content-Type: application/sdp v=0 o=- 994587475 994587475 IN IP4 58.27.249.12 s=VOS2009 c=IN IP4 58.27.249.12 t=0 0 m=audio 11842 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv U 2011/08/19 06:07:18.085418 A.A.A.A:5060 -> B.B.B.B:5070 SIP/2.0 180 Ringing Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060;nat=yes> Max-Forwards: 70 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Content-Length: 229 Content-Type: application/sdp v=0 o=- 994587475 994587475 IN IP4 58.27.249.12 s=VOS2009 c=IN IP4 58.27.249.12 t=0 0 m=audio 11842 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv U 2011/08/19 06:07:18.224934 C.C.C.C:5060 -> A.A.A.A:5060 SIP/2.0 180 Ringing Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK47dd.d69832d4.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060> Max-Forwards: 70 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Content-Length: 229 Content-Type: application/sdp v=0 o=- 994587475 994587475 IN IP4 58.27.249.12 s=VOS2009 c=IN IP4 58.27.249.12 t=0 0 m=audio 11842 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv U 2011/08/19 06:07:18.225109 A.A.A.A:5060 -> B.B.B.B:5070 SIP/2.0 180 Ringing Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060;nat=yes> Max-Forwards: 70 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Content-Length: 229 Content-Type: application/sdp v=0 o=- 994587475 994587475 IN IP4 58.27.249.12 s=VOS2009 c=IN IP4 58.27.249.12 t=0 0 m=audio 11842 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv U 2011/08/19 06:07:23.176932 C.C.C.C:5060 -> A.A.A.A:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK47dd.d69832d4.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060> Max-Forwards: 70 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE Content-Length: 229 Content-Type: application/sdp v=0 o=- 994587475 994587475 IN IP4 58.27.249.12 s=VOS2009 c=IN IP4 58.27.249.12 t=0 0 m=audio 11842 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv U 2011/08/19 06:07:23.178183 A.A.A.A:5060 -> B.B.B.B:5070 SIP/2.0 200 OK Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK2e826b39;rport=5070 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Server: VOS2009 V2.1.1.5 CSeq: 102 INVITE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060;nat=yes> Max-Forwards: 70 Record-Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE Content-Length: 229 Content-Type: application/sdp v=0 o=- 994587475 994587475 IN IP4 58.27.249.12 s=VOS2009 c=IN IP4 58.27.249.12 t=0 0 m=audio 11842 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv U 2011/08/19 06:07:23.180081 B.B.B.B:5070 -> A.A.A.A:5060 ACK sip:6661234567890@C.C.C.C:5060;nat=yes SIP/2.0 Via: SIP/2.0/UDP B.B.B.B:5070;branch=z9hG4bK682c03a1;rport Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Max-Forwards: 70 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Contact: <sip:%2b9876543210@B.B.B.B:5070> Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 102 ACK User-Agent: OSIPS Service v1.6.2 Remote-Party-ID: "+9876543210" <sip:+9876543210@B.B.B.B>;privacy=off;screen=yes Content-Length: 0 U 2011/08/19 06:07:23.192019 A.A.A.A:5060 -> C.C.C.C:5060 ACK sip:6661234567890@C.C.C.C:5060 SIP/2.0 Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bK47dd.d69832d4.2 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK682c03a1;rport=5070 Max-Forwards: 69 From: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 To: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f Contact: <sip:%2b9876543210@B.B.B.B:5070> Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 102 ACK User-Agent: OSIPS Service v1.6.2 Remote-Party-ID: "+9876543210" <sip:+9876543210@B.B.B.B>;privacy=off;screen=yes Content-Length: 0 U 2011/08/19 06:07:42.230336 C.C.C.C:5060 -> A.A.A.A:5060 BYE sip:%2b9876543210@B.B.B.B:5070 SIP/2.0 Route: <sip:6661234567890@A.A.A.A;lr;ftag=as0f1ee1a1;did=4ae.c8f16a64> Via: SIP/2.0/UDP C.C.C.C:5060;branch=z9hG4bK65af6e1712ad67ba From: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f To: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 User-Agent: VOS2009 V2.1.1.5 CSeq: 1 BYE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060> Max-Forwards: 70 Content-Length: 0 U 2011/08/19 06:07:42.235689 A.A.A.A:5060 -> B.B.B.B:5070 BYE sip:%2b9876543210@B.B.B.B:5070 SIP/2.0 Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bKbdeb.3e844324.0 Via: SIP/2.0/UDP C.C.C.C:5060;rport=5060;received=C.C.C.C;branch=z9hG4bK65af6e1712ad67ba From: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f To: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 User-Agent: VOS2009 V2.1.1.5 CSeq: 1 BYE Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B Contact: <sip:6661234567890@C.C.C.C:5060> Max-Forwards: 69 Content-Length: 0 U 2011/08/19 06:07:42.237457 B.B.B.B:5070 -> A.A.A.A:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bKbdeb.3e844324.0;received=A.A.A.A Via: SIP/2.0/UDP C.C.C.C:5060;rport=5060;received=C.C.C.C;branch=z9hG4bK65af6e1712ad67ba From: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f To: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 1 BYE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Content-Length: 0 U 2011/08/19 06:07:42.237693 A.A.A.A:5060 -> C.C.C.C:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP C.C.C.C:5060;rport=5060;received=C.C.C.C;branch=z9hG4bK65af6e1712ad67ba From: <sip:6661234567890@A.A.A.A:5060;user=phone>;tag=4a07e8411320fd5f To: "+9876543210" <sip:+9876543210@B.B.B.B>;tag=as0f1ee1a1 Call-ID: 1e68e4b74eb7252a2c5d5eda2c1f8534@B.B.B.B CSeq: 1 BYE Server: OSIPS Service v1.6.2 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Content-Length: 0 U 2011/08/19 06:07:42.485812 B.B.B.B:5070 -> A.A.A.A:5060 BYE sip:+9876543210@X.X.X.X:59858;nat=yes SIP/2.0 Via: SIP/2.0/UDP B.B.B.B:5070;branch=z9hG4bK78b463b2;rport Route: <sip:+1234567890@A.A.A.A;lr;ftag=1049475534;did=049.1df38df2> Max-Forwards: 70 From: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d To: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 102 BYE User-Agent: OSIPS Service v1.6.2 X-Asterisk-HangupCause: Normal Clearing X-Asterisk-HangupCauseCode: 16 Content-Length: 0 U 2011/08/19 06:07:42.492155 A.A.A.A:5060 -> X.X.X.X:59858 BYE sip:+9876543210@X.X.X.X:59858 SIP/2.0 Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bKf088.304c09e.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK78b463b2;rport=5070 Max-Forwards: 69 From: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d To: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 102 BYE User-Agent: OSIPS Service v1.6.2 X-Asterisk-HangupCause: Normal Clearing X-Asterisk-HangupCauseCode: 16 Content-Length: 0 U 2011/08/19 06:07:42.702742 X.X.X.X:59858 -> A.A.A.A:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP A.A.A.A;branch=z9hG4bKf088.304c09e.0 Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK78b463b2;rport=5070 From: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d To: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 102 BYE Contact: <sip:+9876543210@X.X.X.X:34365> Server: SIPPER for PhonerLite Content-Length: 0 U 2011/08/19 06:07:42.702875 A.A.A.A:5060 -> B.B.B.B:5070 SIP/2.0 200 OK Via: SIP/2.0/UDP B.B.B.B:5070;received=B.B.B.B;branch=z9hG4bK78b463b2;rport=5070 From: <sip:+1234567...@opensips.mydomain.com>;tag=as57213c2d To: "PhonerLite" <sip:+9876543...@opensips.mydomain.com>;tag=1049475534 Call-ID: 00BB8D24-97C8-E011-98F0-08002700A077@172.16.30.210 CSeq: 102 BYE Contact: <sip:+9876543210@X.X.X.X:59858;nat=yes> Server: SIPPER for PhonerLite Content-Length: 0 ---------------------------------------------------------------------- Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2011-08-18 19:48 Message: What is the dlg_match_mode you have set for dialog module ? Also, if you do a SIP capture (ngrep / tcpdump), do you see the ACK and BYE for a call going through your load balancer ? Regards, Bogdan ---------------------------------------------------------------------- Comment By: Muhammad Shahzad (shari_786pk) Date: 2011-08-18 19:46 Message: I already have this in route 0, if (!is_method("REGISTER|MESSAGE")) { record_route(); }; which i suppose does the required record routes. ---------------------------------------------------------------------- Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2011-08-18 17:31 Message: Hi Muhammad, I somehow think it is a conf issue - do you do record_route() at initial INVITE ? My guess is that your opensips is not "visited" by sequential requests (in particular by BYE), so the dialogs never end....When you use the BPp flags, the zombi dialogs will be terminated by the in-dialog pinging. Regards, Bogdan ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3393629&group_id=232389 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel