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@lists.openser.org > http://lists.openser.org/cgi-bin/mailman/listinfo/devel > > _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel