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.