[OpenSIPS-Users] Multiple IPs

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Aug 10 03:43:39 EDT 2018

Hi Alexnader,

the "advertised_address" is a global setting - it affects all listeners 
that you define in OpenSIPS.
Still you have the possibility to do an "advertise" per listener:

listen = udp: as

(see http://www.opensips.org/Documentation/Script-CoreParameters-2-4#toc37)


Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
OpenSIPS Bootcamp 2018

On 08/10/2018 06:21 AM, Alexander Perkins wrote:
> Hi All.  Currently, I am using OpenSIPs on AWS without issues (NAT 
> environment).  I have it configured as follows (I have removed the 
> real IP and replaced it with
> listen=udp:eth0:5060
> advertised_address=""
> alias=""
> advertised_port=5060
> What I would like to do is add multiple public IPs to this box (which 
> AWS allows this).  My question is as follows:
> If I add another interface, let's say eth1, how will OpenSIPs know 
> which IP to advertise?  I don't see a way of telling OpenSIPS- Hey, if 
> the request comes in on eth0, then advertise public IP  But, 
> if a request comes in on eth1, then advertise public IP
> Any help is greatly appreciated.
> Thanks,
> Alex
> _______________________________________________
> 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/20180810/2264bd35/attachment.html>

More information about the Users mailing list