[Serusers] SIP message bodies sometimes corrupted
Jan Janak
jan at iptel.org
Wed Feb 1 14:47:32 CET 2006
Jon Burke wrote:
> Hello,
> I'm having trouble with SER (0.9.4) sometimes corrupting the bodies of
> SIP messages that it forwards. I'm using binary message bodies, with
> appropriate Accept, Content-Type and Content-Length headers which the
> proxy server should forward without modification.
>
> Sometimes the messages are forwarded correctly with all headers and the
> message body intact. Other times, one byte has gone missing from the end
> of the message body, so that the value in the Content-Length header is
> one more than the actual number of bytes in the message body. The
> receiving UA then rejects this message because it is malformed. From
> repeated testing, it looks as though this problem happens whenever the
> number of bytes in the SIP message (going out from SER) prior to the
> body is an even number. When there are an odd number of bytes, the
> message body is always uncorrupted.
>
> Anybody have any ideas what's happening here or how to fix it?
>
> Jon.
What functions do you call in the configuration file when processing the
request ? Is there any function that could potentially modify the body ?
Also could you make a dump of incoming and outgoing message (corrupted)
and send it here ?
Jan.
More information about the sr-users
mailing list