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