[Devel] Mediaproxy / function fix_contact

Behr Jean-Luc Jean_Luc.Behr at alcatel-lucent.fr
Thu Dec 21 09:58:39 CET 2006


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.

Thanks,
Jean-Luc






More information about the Devel mailing list