[OpenSER-Devel] Content-Length after message modification
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Feb 22 10:04:56 CET 2008
Hi Francisco,
If you added a body lump, than the content-length header is
automatically updated by openser when sending out the message. You do
not need to do anything special.
Regards,
Bogdan
Francisco Seratti wrote:
> Hello, I have added some gtd info to the body of some
> SIP messages using data lumps, and now i have to
> re-calculate Content-Length header. Ive tried with
> strlen(get_body(struct sip_msg *)) but no changes are
> present after modifies. How should i calc this header
> value?
> Thanks a lot!
>
> Francisco
>
>
> Yahoo! Encuentros.
>
> Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros http://yahoo.cupidovirtual.com/servlet/NewRegistration
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list