[Kamailio-Users] Extra byte in Content-length header

Vikram Ragukumar vragukumar at signalogic.com
Tue Feb 9 21:51:19 CET 2010


Hello,

I am testing a cellphone software that registers with an Asterisk server 
through an outbound proxy (Kamailio+rtpproxy). I am capturing network 
traffic using wireshark and i notice that the SIP Register message from 
the cellphone has an extra byte in the Content-Length header, which 
causes Kamailio to discard the message with the following error output : 
 
 


  - ERROR:core:parse_content_length: parse error near char [13][^M]
  - ERROR:core:get_hdr_field: bad content_length header

Could it be that this byte was appended somewhere downstream(possibly at 
the wireless router..) or can i be sure that the byte was added during 
SIP Message construction by the cellphone software ?

Thanks in advance,
Vikram.




More information about the sr-users mailing list