Call fails when using transport=tcp

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

 



Hello,
I'm trying to register the pjsua sip client to use the transport = tcp
I'm using the following command for register :

pjsua-i386-Win32-vc8-Debug.exe --id="sip:409 at 192.168.3.7;transport=tcp"
--registrar="sip:192.168.3.7;transport=tcp"
--proxy="sip:192.168.3.7;transport=tcp"

The phone registers and everything is fine. I make a call to
sip:402 at 192.168.3.7

I get the following wireshark capture:
No.     Time        Source                Destination           Protocol
Length Info
    370 2.545081    192.168.3.108         192.168.3.7           SIP
749    Request: REGISTER sip:192.168.3.7;transport=tcp

Frame 370: 749 bytes on wire (5992 bits), 749 bytes captured (5992 bits)
Ethernet II, Src: IntelCor_4d:36:04 (00:23:15:4d:36:04), Dst:
JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc)
Internet Protocol Version 4, Src: 192.168.3.108 (192.168.3.108), Dst:
192.168.3.7 (192.168.3.7)
Transmission Control Protocol, Src Port: 56004 (56004), Dst Port: sip
(5060), Seq: 1, Ack: 1, Len: 695
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
    383 2.641324    192.168.3.7           192.168.3.108         SIP
641    Status: 200 OK    (1 bindings)

Frame 383: 641 bytes on wire (5128 bits), 641 bytes captured (5128 bits)
Ethernet II, Src: JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc), Dst:
IntelCor_4d:36:04 (00:23:15:4d:36:04)
Internet Protocol Version 4, Src: 192.168.3.7 (192.168.3.7), Dst:
192.168.3.108 (192.168.3.108)
Transmission Control Protocol, Src Port: sip (5060), Dst Port: 56004
(56004), Seq: 1, Ack: 696, Len: 587
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
   1354 9.430340    192.168.3.108         192.168.3.7           SIP/SDP
1233   Request: INVITE sip:402 at 192.168.3.7, with session description

Frame 1354: 1233 bytes on wire (9864 bits), 1233 bytes captured (9864 bits)
Ethernet II, Src: IntelCor_4d:36:04 (00:23:15:4d:36:04), Dst:
JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc)
Internet Protocol Version 4, Src: 192.168.3.108 (192.168.3.108), Dst:
192.168.3.7 (192.168.3.7)
Transmission Control Protocol, Src Port: 56004 (56004), Dst Port: sip
(5060), Seq: 696, Ack: 588, Len: 1179
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
   1355 9.433733    192.168.3.7           192.168.3.108         SIP
429    Status: 100 Trying

Frame 1355: 429 bytes on wire (3432 bits), 429 bytes captured (3432 bits)
Ethernet II, Src: JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc), Dst:
IntelCor_4d:36:04 (00:23:15:4d:36:04)
Internet Protocol Version 4, Src: 192.168.3.7 (192.168.3.7), Dst:
192.168.3.108 (192.168.3.108)
Transmission Control Protocol, Src Port: sip (5060), Dst Port: 56004
(56004), Seq: 588, Ack: 1875, Len: 375
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
   1384 9.632934    192.168.3.7           192.168.3.108         SIP
594    Status: 180 Ringing

Frame 1384: 594 bytes on wire (4752 bits), 594 bytes captured (4752 bits)
Ethernet II, Src: JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc), Dst:
IntelCor_4d:36:04 (00:23:15:4d:36:04)
Internet Protocol Version 4, Src: 192.168.3.7 (192.168.3.7), Dst:
192.168.3.108 (192.168.3.108)
Transmission Control Protocol, Src Port: sip (5060), Dst Port: 56004
(56004), Seq: 963, Ack: 1875, Len: 540
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
   2217 15.027216   192.168.3.7           192.168.3.108         SIP/SDP
869    Status: 200 OK, with session description

Frame 2217: 869 bytes on wire (6952 bits), 869 bytes captured (6952 bits)
Ethernet II, Src: JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc), Dst:
IntelCor_4d:36:04 (00:23:15:4d:36:04)
Internet Protocol Version 4, Src: 192.168.3.7 (192.168.3.7), Dst:
192.168.3.108 (192.168.3.108)
Transmission Control Protocol, Src Port: sip (5060), Dst Port: 56004
(56004), Seq: 1503, Ack: 1875, Len: 815
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
   2219 15.037119   192.168.3.108         192.168.3.7           SIP
396    Request: ACK sip:402 at 192.168.3.7:5060

Frame 2219: 396 bytes on wire (3168 bits), 396 bytes captured (3168 bits)
Ethernet II, Src: IntelCor_4d:36:04 (00:23:15:4d:36:04), Dst:
JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc)
Internet Protocol Version 4, Src: 192.168.3.108 (192.168.3.108), Dst:
192.168.3.7 (192.168.3.7)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No.     Time        Source                Destination           Protocol
Length Info
   2221 15.039667   192.168.3.7           192.168.3.108         ICMP
190    Destination unreachable (Port unreachable)

Frame 2221: 190 bytes on wire (1520 bits), 190 bytes captured (1520 bits)
Ethernet II, Src: JumpIndu_19:f5:bc (00:e0:4b:19:f5:bc), Dst:
IntelCor_4d:36:04 (00:23:15:4d:36:04)
Internet Protocol Version 4, Src: 192.168.3.7 (192.168.3.7), Dst:
192.168.3.108 (192.168.3.108)
Internet Control Message Protocol


If you notice, all the communication is on TCP till the

 <Request: ACK sip:402 at 192.168.3.7:5060>.

 This subsequently causes a
ICMP     190    Destination unreachable (Port unreachable)

What is the solution for this. Why is it that the ACK is going on the UDP.
Please guide me, and let me know if this query is adressed previously. if
so, please point me to the thread.

Additional data :
I'm running the phone on the Windows 7 machine.


Regards,
B. S. Vinayaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120713/46868f64/attachment-0001.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