[SR-Users] Malformed PUBLISH from pua_dialoginfo (4.0.0)

Charles Chance charles.chance at sipcentric.com
Tue Mar 12 14:04:55 CET 2013


Hi all,

We are testing 4.0.0 in the lab and since upgrading, PUBLISHes generated by
pua_dialoginfo appear to be malformed (content-length mismatch).

Please see attached output from Wireshark for both the PUBLISH and the 400
response from Kamailio. PUBLISH is being sent from one Kamailio to another
- nothing has changed other than upgrading from 3.3.3 to 4.0.0.

Has anyone else noticed the same?

Regards,

Charles

-- 
www.sipcentric.com

Follow us on twitter @sipcentric <http://twitter.com/sipcentric>

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham 
B7 4EJ.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130312/d484b7c1/attachment.htm>
-------------- next part --------------
No.     Time        Source                Destination           Protocol Info
   6123 2660.332884 10.28.0.20            10.28.0.21            SIP      Request: PUBLISH sip:001462 at sip.sipcentric.com

Frame 6123 (791 bytes on wire, 791 bytes captured)
    Arrival Time: Mar 12, 2013 12:46:48.231722000
    [Time delta from previous captured frame: 0.000536000 seconds]
    [Time delta from previous displayed frame: 0.000536000 seconds]
    [Time since reference or first frame: 2660.332884000 seconds]
    Frame Number: 6123
    Frame Length: 791 bytes
    Capture Length: 791 bytes
    [Frame is marked: True]
    [Protocols in frame: eth:ip:udp:sip]
    [Coloring Rule Name: UDP]
    [Coloring Rule String: udp]
Ethernet II, Src: RealtekU_7e:bb:71 (52:54:00:7e:bb:71), Dst: RealtekU_3c:a2:4f (52:54:00:3c:a2:4f)
    Destination: RealtekU_3c:a2:4f (52:54:00:3c:a2:4f)
        Address: RealtekU_3c:a2:4f (52:54:00:3c:a2:4f)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
    Source: RealtekU_7e:bb:71 (52:54:00:7e:bb:71)
        Address: RealtekU_7e:bb:71 (52:54:00:7e:bb:71)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
    Type: IP (0x0800)
Internet Protocol, Src: 10.28.0.20 (10.28.0.20), Dst: 10.28.0.21 (10.28.0.21)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00)
        0001 00.. = Differentiated Services Codepoint: Unknown (0x04)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 777
    Identification: 0x7641 (30273)
    Flags: 0x00
        0.. = Reserved bit: Not Set
        .0. = Don't fragment: Not Set
        ..0 = More fragments: Not Set
    Fragment offset: 0
    Time to live: 64
    Protocol: UDP (0x11)
    Header checksum: 0xed32 [correct]
        [Good: True]
        [Bad : False]
    Source: 10.28.0.20 (10.28.0.20)
    Destination: 10.28.0.21 (10.28.0.21)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
    Source port: sip (5060)
    Destination port: sip (5060)
    Length: 757
    Checksum: 0x6656 [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
Session Initiation Protocol
    Request-Line: PUBLISH sip:001462 at sip.sipcentric.com SIP/2.0
        Method: PUBLISH
        Request-URI: sip:001462 at sip.sipcentric.com
            Request-URI User Part: 001462
            Request-URI Host Part: sip.sipcentric.com
        [Resent Packet: False]
    Message Header
        Via: SIP/2.0/UDP 10.28.0.20;branch=z9hG4bK8023.45ffe121.0
            Transport: UDP
            Sent-by Address: 10.28.0.20
            Branch: z9hG4bK8023.45ffe121.0
        To: sip:001462 at sip.sipcentric.com
            SIP to address: sip:001462 at sip.sipcentric.com
                SIP to address User Part: 001462
                SIP to address Host Part: sip.sipcentric.com
        From: sip:001462 at sip.sipcentric.com;tag=2283942c43d5e413d656674cb322bb6f-3954
            SIP from address: sip:001462 at sip.sipcentric.com
                SIP from address User Part: 001462
                SIP from address Host Part: sip.sipcentric.com
            SIP tag: 2283942c43d5e413d656674cb322bb6f-3954
        CSeq: 10 PUBLISH
            Sequence Number: 10
            Method: PUBLISH
        Call-ID: 1acf33f3068b19b8-27919 at 10.28.0.20
        Content-Length: 290
        User-Agent: kamailio (4.0.0 (x86_64/linux))
        Max-Forwards: 70
        Event: dialog
        Expires: 7201
        Content-Type: application/dialog-info+xml
    Message Body
        <?xml version="1.0"?>\n
        <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:001462 at sip.sipcentric.com">\n
          <dialog id="30a5ea2d34d254b56e7efd6a15512940 at sip.sipcentric.com" direction="recipient">\n
            <state>terminated</state>\n
          </dialog>\n
        </dialog-info>\n

No.     Time        Source                Destination           Protocol Info
   6125 2660.333430 10.28.0.21            10.28.0.20            SIP      Status: 400 Content-Length mis-match

Frame 6125 (419 bytes on wire, 419 bytes captured)
    Arrival Time: Mar 12, 2013 12:46:48.232268000
    [Time delta from previous captured frame: 0.000358000 seconds]
    [Time delta from previous displayed frame: 0.000358000 seconds]
    [Time since reference or first frame: 2660.333430000 seconds]
    Frame Number: 6125
    Frame Length: 419 bytes
    Capture Length: 419 bytes
    [Frame is marked: True]
    [Protocols in frame: eth:ip:udp:sip]
    [Coloring Rule Name: UDP]
    [Coloring Rule String: udp]
Ethernet II, Src: RealtekU_3c:a2:4f (52:54:00:3c:a2:4f), Dst: RealtekU_7e:bb:71 (52:54:00:7e:bb:71)
    Destination: RealtekU_7e:bb:71 (52:54:00:7e:bb:71)
        Address: RealtekU_7e:bb:71 (52:54:00:7e:bb:71)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
    Source: RealtekU_3c:a2:4f (52:54:00:3c:a2:4f)
        Address: RealtekU_3c:a2:4f (52:54:00:3c:a2:4f)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
    Type: IP (0x0800)
Internet Protocol, Src: 10.28.0.21 (10.28.0.21), Dst: 10.28.0.20 (10.28.0.20)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00)
        0001 00.. = Differentiated Services Codepoint: Unknown (0x04)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 405
    Identification: 0xa1ea (41450)
    Flags: 0x00
        0.. = Reserved bit: Not Set
        .0. = Don't fragment: Not Set
        ..0 = More fragments: Not Set
    Fragment offset: 0
    Time to live: 64
    Protocol: UDP (0x11)
    Header checksum: 0xc2fd [correct]
        [Good: True]
        [Bad : False]
    Source: 10.28.0.21 (10.28.0.21)
    Destination: 10.28.0.20 (10.28.0.20)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
    Source port: sip (5060)
    Destination port: sip (5060)
    Length: 385
    Checksum: 0x2c40 [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
Session Initiation Protocol
    Status-Line: SIP/2.0 400 Content-Length mis-match
        Status-Code: 400
        [Resent Packet: False]
        [Request Frame: 6123]
        [Response Time (ms): 0]
    Message Header
        Via: SIP/2.0/UDP 10.28.0.20;branch=z9hG4bK8023.45ffe121.0
            Transport: UDP
            Sent-by Address: 10.28.0.20
            Branch: z9hG4bK8023.45ffe121.0
        To: sip:001462 at sip.sipcentric.com;tag=5b833ccf64ba83c390bca8a8f8d13a61.e051
            SIP to address: sip:001462 at sip.sipcentric.com
                SIP to address User Part: 001462
                SIP to address Host Part: sip.sipcentric.com
            SIP tag: 5b833ccf64ba83c390bca8a8f8d13a61.e051
        From: sip:001462 at sip.sipcentric.com;tag=2283942c43d5e413d656674cb322bb6f-3954
            SIP from address: sip:001462 at sip.sipcentric.com
                SIP from address User Part: 001462
                SIP from address Host Part: sip.sipcentric.com
            SIP tag: 2283942c43d5e413d656674cb322bb6f-3954
        CSeq: 10 PUBLISH
            Sequence Number: 10
            Method: PUBLISH
        Call-ID: 1acf33f3068b19b8-27919 at 10.28.0.20
        Server: kamailio (4.0.0 (x86_64/linux))
        Content-Length: 0


More information about the sr-users mailing list