[OpenSIPS-Users] STUN

Nick Altmann nick.altmann at gmail.com
Thu Feb 20 19:17:34 CET 2014


Oh, so quick. :-)

Thank you. I'll test it and let you know some later.

--
Nick


2014-02-20 20:47 GMT+04:00 Liviu Chircu <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 Developerhttp://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>:
>
>>  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 Developerhttp://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>:
>>
>>>  Hi,
>>>
>>> Nick, you want something like an "advertised" but for the STUN stuff ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developerhttp://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>:
>>>
>>>> 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>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
>>>>> 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
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://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/20140220/0ba1e81c/attachment.htm>


More information about the Users mailing list