Hi Bogdan-Andrei.

Thank you!



RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


________________________________
De: Bogdan-Andrei Iancu <bog...@opensips.org>
Enviado: quarta-feira, 3 de fevereiro de 2016 15:03
Para: OpenSIPS users mailling list; Rodrigo Pimenta Carvalho
Assunto: Re: [OpenSIPS-Users] help with core parameter Listen sintax

Hi Rodrigo,

You need to fix this outside opensips, before actual start - make a script to 
detect the available and routable interfaces and their IP addresses and use M4 
or any text processing tool to replace into your opensips.cfg the listening IP 
with the detected one - and only after doing this you actually start opensips.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

[http://www.opensips-solutions.com/imgs/slideshow/slide1.jpg]<http://www.opensips-solutions.com/>

Home - OpenSIPS Solutions<http://www.opensips-solutions.com/>
www.opensips-solutions.com
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is 
more than a SIP proxy/router as it includes application-level functionalities.

On 03.02.2016 16:10, Rodrigo Pimenta Carvalho wrote:

Hi.


In my opensips.cfg I have something like this:


listen=tcp:eth0:5060   # CUSTOMIZE ME
listen=tls:eth0:5061   # CUSTOMIZE ME
listen=tls:eth0:5071


However, the device where opensips run will uses a wireless connection or a 
cable.

I can not know for sure what will be the chosen interface. The customer will 
decide in the future.


In this case, I would like to abandon the 'eth0' choice above.


How to change the listen attribute so that it will works well for wireless 
interfaces or 'eth' ones in a generic way?


Any hint will be very helpful!

Thanks a lot.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979



_______________________________________________
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to