#405 Wrong loadbalancer module stats from lb_list command

trunk
open
modules (454)
5
2011-08-18
2011-08-18
Muhammad Shahzad
No

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.

Discussion

1 2 > >> (Page 1 of 2)
  • 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

     
    • assigned_to: nobody --> bogdan_iancu
     
  • I already have this in route 0,

    if (!is_method("REGISTER|MESSAGE")) {
    record_route();
    };

    which i suppose does the required record routes.

     
  • 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

     
  • 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:+1234567890@opensips.mydomain.com SIP/2.0
    Via: SIP/2.0/UDP 172.16.30.210:5060;branch=z9hG4bK00bb8d2497c8e01198f108002700a077;rport
    From: "PhonerLite" <sip:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+9876543210@opensips.mydomain.com>;tag=1049475534
    To: <sip:+1234567890@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:+1234567890@opensips.mydomain.com>;tag=as57213c2d
    To: "PhonerLite" <sip:+9876543210@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:+1234567890@opensips.mydomain.com>;tag=as57213c2d
    To: "PhonerLite" <sip:+9876543210@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:+1234567890@opensips.mydomain.com>;tag=as57213c2d
    To: "PhonerLite" <sip:+9876543210@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:+1234567890@opensips.mydomain.com>;tag=as57213c2d
    To: "PhonerLite" <sip:+9876543210@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

     
  • 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.

     
  • Got trouble posting rely here. May be some problem either with my ISP or sourceforge. Anyways, here is my reply again, sorry if you get duplicate posts.

    Sorry to late rely, i was busy trying to reproduce another opensips bug, but anyways, lets do it.

    I will get back to you with results soon.

    Thank you.

     
  • opensips messages with memdump and debug level 6

     
    Attachments
  • i have attached the file with complete call routed to media server chosen by load balancer. The call last for 92 seconds and lb_list command showed correct statuses before, during and after the call.

     
  • The file i attached earlier contained call success scenario. Now i tested all possible call failure scenarios that i can think of and finally able to reproduce the bug. Here is the description of it,

    1. User X calls User Y. Both are SIP registered on SIP Proxy A (OpenSIPs in this case). Call flow becomes this,

    X -> A -> Y.

    2. While User Y ringing, User X gets disconnected (for whatever reason e.g. network disconnection or soft phone crashed etc. etc. i killed the soft phone to reproduce this).

    3. Ring out occurs on User Y, call now fails over by load balancer module to media server B which answers the call (to play some announcement) and then terminates it via PSTN gateway C. Call flow now becomes this,

    X -> A -> B -> C -> Y

    4. Media server realizes that User X didn't sent ACK for call it just answered. So, it terminates the call by sending CANCEL to PSTN gateway C.

    5. PSTN gateway C replies with SIP status codes, first 200 - OK then 487 - Request Terminated.

    Now call has ended in failure but lb_list command shows that call is still running.

    This is just one case, there may be many more. I will post here if i found more.

     
1 2 > >> (Page 1 of 2)