[OpenSIPS-Users] Listen IP in CFG File

Ben Newlin Ben.Newlin at genesys.com
Tue May 8 14:04:26 EDT 2018


According to the documentation, if you don’t provide an IP OpenSIPS will attempt to listen on all interfaces.

Also, if you want eth0, you can just use that. [1]

[1] - http://www.opensips.org/Documentation/Script-CoreParameters-2-4#toc37

Thanks,
Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Alexander Perkins <alexanderhenryperkins at gmail.com>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Tuesday, May 8, 2018 at 1:51 PM
To: "users at lists.opensips.org" <users at lists.opensips.org>
Subject: [OpenSIPS-Users] Listen IP in CFG File

Hi All.  I have several OpenSIPS servers and would like to know if there is some sort of variable I can assign to the 'listen=' field of the config file so that it automatically detects the local IP of the system.  For example, in the case below, eth0 has an IP of 172.31.37.100.  Is there a variable I can refer to instead of hard-coding an IP?

[cid:ii_jgxyxibk1_16340de283e68464]
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180508/e7b72bc0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8454 bytes
Desc: image001.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20180508/e7b72bc0/attachment-0001.png>


More information about the Users mailing list