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 <[email protected]>: > 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 <[email protected]>: > >> 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 <[email protected]>: >> >>> 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 <[email protected]>: >>> >>>> 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 >>>> <[email protected]>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 >>>>> [email protected] >>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>> >>>> >>> >>> >>> _______________________________________________ >>> Users mailing >>> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >>> >> >> > > > _______________________________________________ > Users mailing > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
