[OpenSIPS-Users] content length!

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jul 10 12:03:00 CEST 2012


Hi Jorge,

How have you changed the body ?? NOTE that is forbidden to directly 
change the buffer of the message - any changes must be done via lumps - 
see the devel docs on how to change a SIP message:
     http://www.opensips.org/Resources/DevelTutorialSession03

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 07/09/2012 09:08 PM, Jorge Henrique Pinho wrote:
> Good afternoon, i am trying to manipulate the sdp content of messages. I retrieve the message body with the   'get_body(struct sip_msg*)' function and i add information to it.
> The problem is that the messages thar are sent are just a part of the sdp content, probably because of the original content length.
> What do i have to do update the content length of the message, in order to send the full sdp content.
>
> Thank you,
> King regards,
>
> Jorge Pinho
> Analyst/Developer
> Network Platforms and Multimedia Solutions
> Multimedia Division
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list