TCP transport - Reset (RST) TCP

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

 



Hi,

I'm making a simple user agent using PJSIP. I'd like it to use TCP as
transport. For the first version, I'm sending an INVITE SIP message with a
text/plain body content. Just after sending this message my program exits.

When I use UDP as transport it is working great. I can see the body content
using tshark/wireshark. When I use TCP as transport, my client is sending a
reset(RST) TCP after getting the ACK and it is not working. Please see this
capture :

ua -> server
TCP 41474 > sip [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=473034042 TSER=0
WS=6

server -> ua
TCP sip > 41474 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=103628850
TSER=473034042 WS=7

ua -> server
TCP 41474 > sip [RST] Seq=1 Win=0 Len=0


Does anyone know why?

Appreciate your help.
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111005/07ab263b/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