Hi Jean-Luc,
I haven't look into this functions, but all the changes on a SIP message
are done via lumps - you add a lump saying where and what you want to
change. The lumps are kept in the sip_msg structure and freed along with it.
regards,
bogdan
Behr Jean-Luc wrote:
Hi,
In function fix_contact of module mediaproxy the IP:Port is replaced in the
Contact field of the SIP message.
This is done by replacing the pointer "uri.s" of the parsed structure in the
message.
The replacement is done thanks to an allocated memory (pkg_malloc).
Usually "uri.s" points inside the message itself.
I don't understand where this memory is freed.
Any idea ?
Thanks,
Jean-Luc
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel