[SR-Users] set_advertised_address() / set_advertised_port() + PVs?
Daniel-Constantin Mierla
miconda at gmail.com
Wed Mar 23 19:35:51 CET 2016
On 23/03/16 19:33, Alex Balashov wrote:
> On 03/23/2016 02:32 PM, Daniel-Constantin Mierla wrote:
>
>> On the other hand, what I prefer in this case is to use different ports
>> for communication with external and internal worlds. Then you can
>> specify the listen on external port with advertise address and the one
>> for internal without. Nothing else should be done in config regarding
>> the advertise address, just select the proper socket for sending the
>> traffic.
>
> Interesting suggestion, thanks!
>
> How does one apply advertised_address= to a particular listening
> socket? I thought it was a global directive that applies to all
> outgoing traffic on all sockets?
>
I meant advertise attribute for listen parameter:
listen=udp:x.y.z.w:5060 advertise a.b.c.d:5060
listen=udp:x.y.z.w:5080
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
More information about the sr-users
mailing list