[Devel] Mediaproxy / function fix_contact
Behr Jean-Luc
Jean_Luc.Behr at alcatel-lucent.fr
Fri Jan 5 13:55:42 CET 2007
Ok I got it.
Thanks a lot.
Jean-Luc
-----Original Message-----
From: devel-bounces at openser.org [mailto:devel-bounces at openser.org]On
Behalf Of Dan Pascu
Sent: jeudi 4 janvier 2007 19:00
To: devel at openser.org
Cc: Behr Jean-Luc
Subject: Re: [Devel] Mediaproxy / function fix_contact
On Thursday 04 January 2007 19:22, Behr Jean-Luc wrote:
> Yes I agree.
> But the function "fix_contact" is called to change the contact (IP
> address and port) that will be stored in the registrar. This storing is
> processed in the function "save" of the module registrar. And there the
> lump is not used !
Even if they're not being used to build a new outgoing request, the lumps
are freed when the request is destroyed.
> The contact is taken from the message itself. In fact in the parsed
> structure. So to modify the contact the function "fix_contact" modifies
> the parsed structure by using an allocated memory. And I don't find the
> place where this memory is freed.
>
> Thanks
> Jean-Luc
--
Dan
_______________________________________________
Devel mailing list
Devel at openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel
More information about the Devel
mailing list