linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linphone_core_set_nat_address() proposed chang


From: Simon Morlat
Subject: Re: [Linphone-developers] linphone_core_set_nat_address() proposed change
Date: Fri, 27 Jan 2006 00:04:17 +0100
User-agent: KMail/1.9.1

I agree this function does a bad job.
Did you split in 2 functions (one to set the parameters, another to 
enable/disable ) ?
You can commit !
Thanks
Simon

Le Jeudi 26 Janvier 2006 02:09, strk a écrit :
> I'm implementing a nat use/unuse toggler for
> the command line interface for linphone.
>
> Since there's no specific function in the coreapi
> for this I hoped to use linphone_core_set_nat_address(),
> but that function has a limitations preventing this.
>
> Basically linphone_core_set_nat_address() will set
> nat address to NULL if the 'nat_use' parameter
> is set to false.
>
> Note that this bug also shows up with the graphical
> interface, where disabling the nat destroys the
> nat configuration (saved in configfile on exit).
>
> I've made a patch to both fix this and allow for
> the 'nat_address' argument to be NULL to signify
> only 'nat_use' as to be set.
>
> Let me know if that's ok with you before I commit.
>
> --strk;
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]