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 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users