[OpenSIPS-Users] NEW: Changes in NATHELPER module
Razvan Crainea
razvancrainea at opensips.org
Wed Mar 9 13:54:59 CET 2011
Hello all,
All functions from the *nathelper *module used by OpenSIPS to
communicate with RTPProxy were moved in a new module named *rtpproxy*.
From now on, if you're using RTPProxy media relay, you will have to
load the *rtpproxy* module in your configuration file.
Regards,
Razvan
On 03/08/2011 04:28 PM, Bogdan-Andrei Iancu wrote:
> Hi Stan,
>
> Some automatic way to convert the "nathelper" to "rtpproxy" module
> name may be misleading, I think - especially that the set of functions
> in the 2 modules will be different (as set and names).
>
> A better possible approach can be keep the "nathelper" module as an
> dummy module that tells (at load time) the whole migration story so
> that, you can load the proper module.
>
> Regards,
> Bogdan
>
> Stanisław Pitucha wrote:
>> On 2 March 2011 13:47, Razvan Crainea <razvancrainea at opensips.org>
>> wrote:
>>> Note that there will be no functional changes, but only structural
>>> ones, all
>>> current functions exported by nathelper module will still be
>>> available (some
>>> name changes might be possible though), just that they will be
>>> provided by
>>> the new module or nat_traversal module .
>>
>> Since the functions themselves don't change, can we still have
>> "nathelper.so" name treated like a "fake module" that will load the
>> actual new ones? We already had some problems with the xlog module
>> removed (config changes in a revision, not even minor, update) - maybe
>> this time it could be done in a nicer way this time :)
>>
>> I'd like to propose that if there's a loadmodule request that matches
>> "^(.*)/nathelper.(.*)$" it should automagically:
>> 1. WARN that it's deprecated and functions are in rtpproxy and
>> nat_traversal.
>> 2. try to load modules from $1/rtpproxy.$2 and $1/nat_traversal.$2 and
>> if both can be found - do not fail.
>>
>> Same for 'mangler' and 'nat_traversal' itself. I'm pretty sure that
>> could solve some problems in the future (just recall the number of
>> people asking about xlog on irc and some of the posts on the mailing
>> list).
>>
>> Regards,
>> Stan
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110309/0ad6e170/attachment-0001.htm>
More information about the Users
mailing list