send INVITE with tcp, but send ACK with udp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



send invite by pjsua_call_make_call("sip:112.91.66.69;transport=tcp");
recv 200ok
then pjsua send ACK with udp, but it is unexpected.

can you help me?
thanks!


Transmission Control Protocol, Src Port: 2580 (2580), Dst Port: 5060 (5060),
Seq: 1, Ack: 1, Len: 706
    Source port: 2580 (2580)
    Destination port: 5060 (5060)
    Sequence number: 1    (relative sequence number)
    Next sequence number: 707    (relative sequence number)
    Acknowledgement number: 1    (relative ack number)
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 262144 (scaled)
    Checksum: 0x779c [incorrect, should be 0xfceb]
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 80507, tsecr 0
Session Initiation Protocol
    Request-Line: INVITE
sip:13715209697 at 112.91.66.69<sip%3A13715209697 at 112.91.66.69>;transport=tcp
SIP/2.0
        Method: INVITE
        Resent Packet: False
    Message Header
        Via: SIP/2.0/TCP 192.168.1.107:2580
;rport;branch=z9hG4bKPjf314ce91fe334fd6938aaab1369646aa
        Max-Forwards: 70
        From: sip:192.168.1.107;tag=7393f8f9983d4a25b6b95513e2a836e3
            SIP from address: sip:192.168.1.107
            SIP tag: 7393f8f9983d4a25b6b95513e2a836e3
        To: sip:13715209697 at 112.91.66.69 <sip%3A13715209697 at 112.91.66.69>
            SIP to address:
sip:13715209697 at 112.91.66.69<sip%3A13715209697 at 112.91.66.69>
        Contact: <sip:192.168.1.107:5060>
            Contact Binding: <sip:192.168.1.107:5060>
                URI: <sip:192.168.1.107:5060>
                    SIP contact address: sip:192.168.1.107:5060
        Call-ID: 7e613804a4204edfbf0dab605ba18790
        CSeq: 18467 INVITE



Internet Protocol, Src: 192.168.1.107 (192.168.1.107), Dst: 10.4.22.29
(10.4.22.29)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 386
    Identification: 0x2be0 (11232)
    Flags: 0x00
        0... = Reserved bit: Not set
        .0.. = Don't fragment: Not set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 128
    Protocol: UDP (0x11)
    Header checksum: 0x0000 [incorrect, should be 0x2b57]
        Good: False
        Bad : True
    Source: 192.168.1.107 (192.168.1.107)
    Destination: 10.4.22.29 (10.4.22.29)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 366
    Checksum: 0xdf2c [correct]
Session Initiation Protocol
    Request-Line: ACK sip:10.4.22.29:5060 SIP/2.0
        Method: ACK
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.1.107:5060
;rport;branch=z9hG4bKPjac7194fbea594b73a43e5594e90dac11
        Max-Forwards: 70
        From: sip:192.168.1.107;tag=7393f8f9983d4a25b6b95513e2a836e3
            SIP from address: sip:192.168.1.107
            SIP tag: 7393f8f9983d4a25b6b95513e2a836e3
        To: sip:13715209697 at 112.91.66.69 <sip%3A13715209697 at 112.91.66.69>
;tag=49b3b057a711469493fe35c31165ea03
            SIP to address:
sip:13715209697 at 112.91.66.69<sip%3A13715209697 at 112.91.66.69>
            SIP tag: 49b3b057a711469493fe35c31165ea03
        Call-ID: 7e613804a4204edfbf0dab605ba18790
        CSeq: 18467 ACK
        Content-Length:  0




hance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101127/de6b4dce/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux