[Kamailio-Devel] 200 ok to pua does not work

Juha Heinanen jh at tutpro.com
Fri Dec 12 20:12:41 CET 2008


i have noticed that there has been some messages about not matching 200
ok (or something like that).  perhaps what i'm seeing is related:

- i send PUBLISH to kamailio via pua_mi interface

- kamailio pua module sends PUBLISH back to kamailio

- kamailio replies with 200 ok to itself

- this 200 ok is either never passed to pua or pua does not match it,
  because pua keeps on re-sending PUBLISH

i don't see the problem every time, but quite often.

does this look like what other people have reported?

-- juha

Frame 1186 (561 bytes on wire, 561 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.97.99.10 (192.97.99.10), Dst: 127.0.0.1 (127.0.0.1)
User Datagram Protocol, Src Port: sip (5060), Dst Port: vtsas (5070)
Session Initiation Protocol
    Request-Line: PUBLISH sip:jh at vm.test.fi SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 192.97.99.10;branch=z9hG4bK3c94.f162e742.0
        To: sip:jh at vm.test.fi
        From: sip:jh at vm.test.fi;tag=ba4e950faf8e59dc272cc7720248bc15-fe82
        CSeq: 10 PUBLISH
        Call-ID: 7b77bffe
        Content-Length: 48
        User-Agent: OpenXg Kamailio (1.4.2-tls (i386/linux))
        Max-Forwards: 70
        Event: message-summary
        Expires: 7776001
        SIP-If-Match: a.1229106036.11033.1.4
        Content-Type: application/simple-message-summary
        P-Flags: 0
    Message Body
        Messages-Waiting: no\r\n
        Voice-Message: 0/1 (0/0)\r\n

Frame 1187 (420 bytes on wire, 420 bytes captured)
Linux cooked capture
Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 192.97.99.10 (192.97.99.10)
User Datagram Protocol, Src Port: vtsas (5070), Dst Port: sip (5060)
Session Initiation Protocol
    Status-Line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP 192.97.99.10;branch=z9hG4bK3c94.f162e742.0
        To: sip:jh at vm.test.fi;tag=42ebb7240680380346545013c91dac8c.f86c
        From: sip:jh at vm.test.fi;tag=ba4e950faf8e59dc272cc7720248bc15-fe82
        CSeq: 10 PUBLISH
        Call-ID: 7b77bffe
        Expires: 7776001
        SIP-ETag: a.1229106036.11038.1.5
        Server: OpenXg Kamailio (1.4.2-tls (i386/linux))
        Content-Length: 0

Frame 1188 (561 bytes on wire, 561 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.97.99.10 (192.97.99.10), Dst: 127.0.0.1 (127.0.0.1)
User Datagram Protocol, Src Port: sip (5060), Dst Port: vtsas (5070)
Session Initiation Protocol
    Request-Line: PUBLISH sip:jh at vm.test.fi SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 192.97.99.10;branch=z9hG4bK3c94.f162e742.0
        To: sip:jh at vm.test.fi
        From: sip:jh at vm.test.fi;tag=ba4e950faf8e59dc272cc7720248bc15-fe82
        CSeq: 10 PUBLISH
        Call-ID: 7b77bffe
        Content-Length: 48
        User-Agent: OpenXg Kamailio (1.4.2-tls (i386/linux))
        Max-Forwards: 70
        Event: message-summary
        Expires: 7776001
        SIP-If-Match: a.1229106036.11033.1.4
        Content-Type: application/simple-message-summary
        P-Flags: 0
    Message Body
        Messages-Waiting: no\r\n
        Voice-Message: 0/1 (0/0)\r\n

Frame 1189 (561 bytes on wire, 561 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.97.99.10 (192.97.99.10), Dst: 127.0.0.1 (127.0.0.1)
User Datagram Protocol, Src Port: sip (5060), Dst Port: vtsas (5070)
Session Initiation Protocol
    Request-Line: PUBLISH sip:jh at vm.test.fi SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 192.97.99.10;branch=z9hG4bK3c94.f162e742.0
        To: sip:jh at vm.test.fi
        From: sip:jh at vm.test.fi;tag=ba4e950faf8e59dc272cc7720248bc15-fe82
        CSeq: 10 PUBLISH
        Call-ID: 7b77bffe
        Content-Length: 48
        User-Agent: OpenXg Kamailio (1.4.2-tls (i386/linux))
        Max-Forwards: 70
        Event: message-summary
        Expires: 7776001
        SIP-If-Match: a.1229106036.11033.1.4
        Content-Type: application/simple-message-summary
        P-Flags: 0
    Message Body
        Messages-Waiting: no\r\n
        Voice-Message: 0/1 (0/0)\r\n

Frame 1190 (561 bytes on wire, 561 bytes captured)
Linux cooked capture
Internet Protocol, Src: 192.97.99.10 (192.97.99.10), Dst: 127.0.0.1 (127.0.0.1)
User Datagram Protocol, Src Port: sip (5060), Dst Port: vtsas (5070)
Session Initiation Protocol
    Request-Line: PUBLISH sip:jh at vm.test.fi SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 192.97.99.10;branch=z9hG4bK3c94.f162e742.0
        To: sip:jh at vm.test.fi
        From: sip:jh at vm.test.fi;tag=ba4e950faf8e59dc272cc7720248bc15-fe82
        CSeq: 10 PUBLISH
        Call-ID: 7b77bffe
        Content-Length: 48
        User-Agent: OpenXg Kamailio (1.4.2-tls (i386/linux))
        Max-Forwards: 70
        Event: message-summary
        Expires: 7776001
        SIP-If-Match: a.1229106036.11033.1.4
        Content-Type: application/simple-message-summary
        P-Flags: 0
    Message Body
        Messages-Waiting: no\r\n
        Voice-Message: 0/1 (0/0)\r\n




More information about the Devel mailing list