On 08/07/2016 01:50 AM, Daniel-Constantin Mierla wrote:
tcp being a stream protocol, kamailio is reading the
body of sip
messages based on content-lenght header -- can you check and see if the
values for content length are accurate?
The initial INVITE has a Content-Length value of 122, but 116 is the
length of the incomplete SDP body in that packet:
v=0
o=- 3679365582 3679365582 IN IP4 10.0.0.200
s=pjmedia
t=0 0
m=audio 4006 RTP/AVP 0 8 96
c=IN IP4 1.1.1.1
The remainder, sent in the continuation/trailer, has 149 bytes.
So, I'm guessing the answer to your question is no: the Content-Length
is not accurate, and doesn't reflect the full payload from the combined
length of the SDP stanzas (122 + 149 = 271).
Do you have the parameter tcp_accept_no_cl set?
I do not.
--
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/