[SR-Users] Handling Hold

Fred Posner fred at palner.com
Thu Aug 13 21:28:45 CEST 2015


On 08/13/2015 02:42 PM, Alex Balashov wrote:
> On 08/13/2015 02:34 PM, Fred Posner wrote:
> 
>> Sadly, no. Straight up INVITE.
> 
> Wait, what? That doesn't make any sense. Can you provide a full
> signalling capture?
> 

Here's an example exported from the pcap. This example has topology
hiding enabled with an address of 127.0.0.8.

--fred
-------------- next part --------------
Frame 1: 1441 bytes on wire (11528 bits), 1441 bytes captured (11528 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (INVITE)
    Request-Line: INVITE sip:pstn-did@[PUBLIC-MITEL] SIP/2.0
    Message Header
        Record-Route: <sip:[PUBLIC-KAMAILIO];r2=on;lr;ftag=gK0e4a212a;vst=AAAAABkJAw0IDQ4PAQF2AXIWFwYXGQEWHQc4OjUwNjA-;did=7.a51>
        Record-Route: <sip:127.0.0.8;line=sr-XLSMq0lrx0hrq6lrx0lgX0dzPLkgP9dgTvDWTH2vZH1Se5CmxIuWqyTHF621E-R1E-uaZhRyxCSC-IDEEKR5xhRiZKF5F2SiD2RRKtWDiHD48SKyI.Q1fIwh8sEzemYWeIC*>
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bK05ee.871a25f6cea62efc9ab8a36e1198c199.0
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5SLqLumisY08627qsW9e5ufx5Kbe5dte0eWe0lmT5Rhq6xyTE**
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        To: <sip:pstn-did@[PUBLIC-MITEL]>
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23665 INVITE
        Max-Forwards: 68
        Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE
        Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay,  multipart/mixed
        Contact: <sip:127.0.0.8;line=sr-XLSMqGpnx0C2x0hMe6Xnq-Jtf0-2f0CHf0hYq0-Me0J*>
        P-Asserted-Identity: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>
        Supported: 100rel
        Content-Length:  255
        Content-Disposition: session; handling=required
        Content-Type: application/sdp
    Message Body

Frame 2: 534 bytes on wire (4272 bits), 534 bytes captured (4272 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (100)
    Status-Line: SIP/2.0 100 Trying
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bK05ee.871a25f6cea62efc9ab8a36e1198c199.0;received=[PUBLIC-KAMAILIO]
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5SLqLumisY08627qsW9e5ufx5Kbe5dte0eWe0lmT5Rhq6xyTE**
        To: <sip:pstn-did@[PUBLIC-MITEL]>
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23665 INVITE
        User-Agent: Mitel Border GW/4.4.0.80-01
        Content-Length: 0

Frame 3: 588 bytes on wire (4704 bits), 588 bytes captured (4704 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (PRACK)
    Request-Line: PRACK sip:pstn-did@[PUBLIC-MITEL]:5060;transport=UDP SIP/2.0
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bKd4ee.c8ccffc14692925a5f5b81e3b44b1889.0
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5eLqLumisY08627qsW9e5ufx5Kbe5dtq6JMe6-nT0dHT6JtTl**
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        To: <sip:pstn-did@[PUBLIC-MITEL]>;tag=0_1970073968-102972850
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23666 PRACK
        Max-Forwards: 69
        RAck: 296987492 23665 INVITE
        Content-Length: 0

Frame 4: 651 bytes on wire (5208 bits), 651 bytes captured (5208 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (200)
    Status-Line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bKd4ee.c8ccffc14692925a5f5b81e3b44b1889.0;received=[PUBLIC-KAMAILIO]
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5eLqLumisY08627qsW9e5ufx5Kbe5dtq6JMe6-nT0dHT6JtTl**
        Contact: <sip:pstn-did@[PUBLIC-MITEL]:5060;transport=UDP>
        To: <sip:pstn-did@[PUBLIC-MITEL]>;tag=0_1970073968-102972850
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23666 PRACK
        Date: Thu, 13 Aug 2015 00:31:40 GMT
        User-Agent: Mitel Border GW/4.4.0.80-01
        Content-Length: 0

Frame 5: 216 bytes on wire (1728 bits), 216 bytes captured (1728 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: 4.55.13.66 (4.55.13.66)
User Datagram Protocol, Src Port: 24838 (24838), Dst Port: 27634 (27634)
Real-Time Transport Protocol

Frame 6: 1371 bytes on wire (10968 bits), 1371 bytes captured (10968 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (200)
    Status-Line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bK05ee.871a25f6cea62efc9ab8a36e1198c199.0;received=[PUBLIC-KAMAILIO]
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5SLqLumisY08627qsW9e5ufx5Kbe5dte0eWe0lmT5Rhq6xyTE**
        Record-Route: <sip:[PUBLIC-KAMAILIO];lr;r2=on;ftag=gK0e4a212a;vst=AAAAABkJAw0IDQ4PAQF2AXIWFwYXGQEWHQc4OjUwNjA-;did=7.a51>
        Record-Route: <sip:127.0.0.8;line=sr-XLSMq0lrx0hrq6lrx0lgX0dzPLkgP9dgTvDWTH2vZH1Se5CmxIuWqyTHF621E-R1E-uaZhRyxCSC-IDEEKR5xhRiZKF5F2SiD2RRKtWDiHD48SKyI.Q1fIwh8sEzemYWeIC*>
        Contact: <sip:pstn-did@[PUBLIC-MITEL]:5060;transport=UDP>
        To: <sip:pstn-did@[PUBLIC-MITEL]>;tag=0_1970073968-102972850
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23665 INVITE
        Session-Expires: 90;refresher=uas
        Allow: INVITE, BYE, CANCEL, ACK, INFO, PRACK, OPTIONS, SUBSCRIBE, NOTIFY, REFER, REGISTER, UPDATE
        Content-Type: application/sdp
        Date: Thu, 13 Aug 2015 00:31:42 GMT
        Supported: timer
        User-Agent: Mitel Border GW/4.4.0.80-01
        P-Asserted-Identity: "B.Fretz" <sip:6104156300 at 10.3.3.5>
        Content-Length: 188
    Message Body

Frame 7: 554 bytes on wire (4432 bits), 554 bytes captured (4432 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (ACK)
    Request-Line: ACK sip:pstn-did@[PUBLIC-MITEL]:5060;transport=UDP SIP/2.0
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bK05ee.5ccf57f6023fc9d4fb07654e99b5d50a.0
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5eLqLumisY08627qsW9e5ufx5Kbe5dLxHEMeI-nT0dHT6JtTl**
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        To: <sip:pstn-did@[PUBLIC-MITEL]>;tag=0_1970073968-102972850
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23665 ACK
        Max-Forwards: 69
        Content-Length: 0

Frame 8: 981 bytes on wire (7848 bits), 981 bytes captured (7848 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (INVITE)
    Request-Line: INVITE sip:127.0.0.8;line=sr-XLSMqGpnx0C2x0hMe6Xnq-Jtf0-2f0CHf0hYq0-Me0J* SIP/2.0
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-MITEL]:5060;branch=z9hG4bK-d8754z-2648756d6bb46b65-1---d8754z-;rport
        Max-Forwards: 69
        Route: <sip:[PUBLIC-KAMAILIO];lr;r2=on;ftag=gK0e4a212a;vst=AAAAABkJAw0IDQ4PAQF2AXIWFwYXGQEWHQc4OjUwNjA-;did=7.a51>
        Route: <sip:127.0.0.8;line=sr-XLSMq0lrx0hrq6lrx0lgX0dzPLkgP9dgTvDWTH2vZH1Se5CmxIuWqyTHF621E-R1E-uaZhRyxCSC-IDEEKR5xhRiZKF5F2SiD2RRKtWDiHD48SKyI.Q1fIwh8sEzemYWeIC*>
        Contact: <sip:[PUBLIC-MITEL]:5060;transport=UDP>
        To: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        From: <sip:pstn-did@[PUBLIC-MITEL]:5060>;tag=0_1970073968-102972850
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 747722615 INVITE
        Session-Expires: 90;refresher=uac
        Min-SE: 90
        Allow: INVITE, BYE, CANCEL, ACK, INFO, PRACK, OPTIONS, SUBSCRIBE, NOTIFY, REFER, REGISTER, UPDATE
        Supported: 100rel, timer
        User-Agent: Mitel Border GW/4.4.0.80-01
        Content-Length: 0

Frame 9: 430 bytes on wire (3440 bits), 430 bytes captured (3440 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (100)
    Status-Line: SIP/2.0 100 AX trying
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-MITEL]:5060;branch=z9hG4bK-d8754z-2648756d6bb46b65-1---d8754z-;rport=5060;received=[PUBLIC-MITEL]
        To: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        From: <sip:pstn-did@[PUBLIC-MITEL]:5060>;tag=0_1970073968-102972850
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 747722615 INVITE
        Server: AX Kamailio 4.3
        Content-Length: 0

Frame 10: 476 bytes on wire (3808 bits), 476 bytes captured (3808 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (400)
    Status-Line: SIP/2.0 400 Bad Request
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-MITEL]:5060;received=[PUBLIC-MITEL];branch=z9hG4bK-d8754z-2648756d6bb46b65-1---d8754z-;rport=5060
        From: <sip:pstn-did@[PUBLIC-MITEL]:5060>;tag=0_1970073968-102972850
        To: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 747722615 INVITE
        Error-Info: <sip:+1callerid-did@[PSTN-IPADDRESS]>;cause="[line 007] SIP syntax error"
        Content-Length: 0

Frame 11: 756 bytes on wire (6048 bits), 756 bytes captured (6048 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (ACK)
    Request-Line: ACK sip:127.0.0.8;line=sr-XLSMqGpnx0C2x0hMe6Xnq-Jtf0-2f0CHf0hYq0-Me0J* SIP/2.0
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-MITEL]:5060;branch=z9hG4bK-d8754z-2648756d6bb46b65-1---d8754z-;rport
        Max-Forwards: 70
        Route: <sip:[PUBLIC-KAMAILIO];lr;r2=on;ftag=gK0e4a212a;vst=AAAAABkJAw0IDQ4PAQF2AXIWFwYXGQEWHQc4OjUwNjA-;did=7.a51>
        Route: <sip:127.0.0.8;line=sr-XLSMq0lrx0hrq6lrx0lgX0dzPLkgP9dgTvDWTH2vZH1Se5CmxIuWqyTHF621E-R1E-uaZhRyxCSC-IDEEKR5xhRiZKF5F2SiD2RRKtWDiHD48SKyI.Q1fIwh8sEzemYWeIC*>
        To: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        From: <sip:pstn-did@[PUBLIC-MITEL]:5060>;tag=0_1970073968-102972850
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 747722615 ACK
        User-Agent: Mitel Border GW/4.4.0.80-01
        Content-Length: 0

Frame 12: 473 bytes on wire (3784 bits), 473 bytes captured (3784 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (400)
    Status-Line: SIP/2.0 400 Bad Request
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-MITEL]:5060;received=[PUBLIC-MITEL];branch=z9hG4bK-d8754z-bf52914e6f9b6c7f-1---d8754z-;rport=5060
        From: <sip:pstn-did@[PUBLIC-MITEL]:5060>;tag=0_1970073968-102972850
        To: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 747722616 BYE
        Error-Info: <sip:+1callerid-did@[PSTN-IPADDRESS]>;cause="[line 006] SIP syntax error"
        Content-Length: 0

Frame 13: 573 bytes on wire (4584 bits), 573 bytes captured (4584 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO]), Dst: [PUBLIC-MITEL] ([PUBLIC-MITEL])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (BYE)
    Request-Line: BYE sip:pstn-did@[PUBLIC-MITEL]:5060;transport=UDP SIP/2.0
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bKe4ee.b298f3b0ad9c8aadd46e5f1550940b25.0
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5eLqLumisY08627qsW9e5ufx5Kbe5u0xH-yqsdnT0dHT6JtTl**
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        To: <sip:pstn-did@[PUBLIC-MITEL]>;tag=0_1970073968-102972850
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23667 BYE
        Max-Forwards: 69
        Supported: 100rel
        Content-Length: 0

Frame 14: 620 bytes on wire (4960 bits), 620 bytes captured (4960 bits)
Linux cooked capture
Internet Protocol Version 4, Src: [PUBLIC-MITEL] ([PUBLIC-MITEL]), Dst: [PUBLIC-KAMAILIO] ([PUBLIC-KAMAILIO])
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol (481)
    Status-Line: SIP/2.0 481 Call/Transaction Does Not Exist
    Message Header
        Via: SIP/2.0/UDP [PUBLIC-KAMAILIO];branch=z9hG4bKe4ee.b298f3b0ad9c8aadd46e5f1550940b25.0;received=[PUBLIC-KAMAILIO]
        Via: SIP/2.0/UDP 127.0.0.8;branch=AX--tSEfHdrxbzKDRJlebk2eZknxmkYqIU2x6iMqyuMPyut4I-Me0JgKClzT5eLqLumisY08627qsW9e5ufx5Kbe5u0xH-yqsdnT0dHT6JtTl**
        To: <sip:pstn-did@[PUBLIC-MITEL]>;tag=0_1970073968-102972850
        From: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
        Call-ID: 1309573957_105226997@[PSTN-IPADDRESS]
        CSeq: 23667 BYE
        Date: Thu, 13 Aug 2015 00:32:03 GMT
        User-Agent: Mitel Border GW/4.4.0.80-01
        Content-Length: 0


More information about the sr-users mailing list