[OpenSIPS-Users] Listening on all interfaces on Opensips 2.2

Liviu Chircu liviu at opensips.org
Tue Aug 23 18:35:18 CEST 2016


Hi, Jon!

The "eth0:5060" syntax has been deprecated along with the transport 
layer rework.

In order to achieve the same effect as before, you simply have to add 
one more line to your script for each transport you choose to support:

udp:eth0:5060

tcp:eth0:5060

hep:eth0:9060

...

Docs for the "listen" directive are indeed broken and I'll get them 
fixed asap. Thanks!

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 21.08.2016 04:19, Jon Abrams wrote:
> Hello list,
>
> I've been noticing the listen configuration seems to work differently 
> on the latest 2.2.X versions.
>
> I'm trying to listen on all addresses (essentially 0.0.0.0) without 
> having to manually add each ip line by line to the script.
>
> In the old days you could just omit the listen and set the port. 
> However I need to leave a listen directive for HEP.
>
> Mentioned in the 2.2 docs, listen=eth0:5060, gives a vague generic 
> script error. listen=udp:eth0:5060 works. Are the docs out of date on 
> some of these? disable_tcp and port seem to give generic script errors 
> despite being still listed in the docs
>
> Best Regards,
>
> Jon
>
>
>
>
> _______________________________________________
> 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/20160823/5b26ebdc/attachment-0001.htm>


More information about the Users mailing list