[OpenSIPS-Users] STUN

Liviu Chircu liviu at opensips.org
Tue Mar 4 11:53:12 CET 2014


Hello Nick,

Thank you for the feedback! Now I have to start updating the 
documentation... :(

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 03/04/2014 07:08 AM, Nick Altmann wrote:
> Hello, Liviu.
>
> It seems it works well. Thank you.
> Let's add it to source tree. :-)
>
> --
> Nick
>
> 2014-02-20 20:47 GMT+04:00 Liviu Chircu <liviu at opensips.org 
> <mailto:liviu at opensips.org>>:
>
>     Hello Nick,
>
>     Could you test out the attached patch for the advertised
>     interfaces? Example of module configuration:
>
>     modparam("stun", "primary_ip", "192.168.2.133 / 46.78.50.64")
>     modparam("stun", "primary_port", "5060    /   5061")
>     modparam("stun", "alternate_ip", "192.168.2.134 / 50.64.46.78")
>     modparam("stun", "alternate_port", "6001  /  6003")
>
>     Best regards,
>
>     Liviu Chircu
>     OpenSIPS Developer
>     http://www.opensips-solutions.com
>
>     On 02/19/2014 07:35 PM, Nick Altmann wrote:
>>     Thank you. This code needed to run STUN on always NATed servers
>>     like Amazon cloud.
>>
>>     --
>>     Nick
>>
>>
>>     2014-02-19 21:32 GMT+04:00 Bogdan-Andrei Iancu
>>     <bogdan at opensips.org <mailto:bogdan at opensips.org>>:
>>
>>         Hi,
>>
>>         I identify the code that need to be changed - it should be a
>>         lot of work to add an "advertised" value for the configured
>>         IPs and ports. It should make it in the new release.
>>
>>         Regards,
>>
>>         Bogdan-Andrei Iancu
>>         OpenSIPS Founder and Developer
>>         http://www.opensips-solutions.com
>>
>>         On 19.02.2014 17:45, Nick Altmann wrote:
>>>         Yes, it is!
>>>
>>>         --
>>>         Nick
>>>
>>>
>>>         2014-02-19 17:19 GMT+04:00 Bogdan-Andrei Iancu
>>>         <bogdan at opensips.org <mailto:bogdan at opensips.org>>:
>>>
>>>             Hi,
>>>
>>>             Nick, you want something like an "advertised" but for
>>>             the STUN stuff ?
>>>
>>>             Regards,
>>>
>>>             Bogdan-Andrei Iancu
>>>             OpenSIPS Founder and Developer
>>>             http://www.opensips-solutions.com
>>>
>>>             On 19.02.2014 14:25, Nick Altmann wrote:
>>>>             I'm about STUN only. Its required two external IPs.
>>>>             I'm not about routing.
>>>>
>>>>             --
>>>>             Nick
>>>>
>>>>
>>>>             2014-02-19 16:14 GMT+04:00 Ali Pey <alipey at gmail.com
>>>>             <mailto:alipey at gmail.com>>:
>>>>
>>>>                 Hi Nick,
>>>>
>>>>                 I don't think such a thing is possible in opensips.
>>>>                 There can only be one advertised_address as far as
>>>>                 I know. I think you need to do your own message
>>>>                 manipulation in your route script based on the
>>>>                 route it's going to.
>>>>
>>>>                 I'm interested in this scenario as well and look
>>>>                 forward to more replies from more knowledgeable
>>>>                 people.
>>>>
>>>>                 Please post updates when you find a solution.
>>>>
>>>>
>>>>                 Regards,
>>>>                 Ali Pey
>>>>
>>>>
>>>>                 On Wed, Feb 19, 2014 at 5:47 AM, Nick Altmann
>>>>                 <nick.altmann at gmail.com
>>>>                 <mailto:nick.altmann at gmail.com>> wrote:
>>>>
>>>>                     Hi!
>>>>
>>>>                     How to correctly configure STUN module if we
>>>>                     have two interfaces with internal addresses
>>>>                     where NATed two external IPs? (ports are the same)
>>>>                     I mean something like advertised_address option.
>>>>
>>>>                     --
>>>>                     Nick
>>>>
>>>>                     _______________________________________________
>>>>                     Users mailing list
>>>>                     Users at lists.opensips.org
>>>>                     <mailto:Users at lists.opensips.org>
>>>>                     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>                 _______________________________________________
>>>>                 Users mailing list
>>>>                 Users at lists.opensips.org
>>>>                 <mailto:Users at lists.opensips.org>
>>>>                 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>
>>>>             _______________________________________________
>>>>             Users mailing list
>>>>             Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> 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/20140304/5063378e/attachment-0001.htm>


More information about the Users mailing list