[OpenSIPS-Users] Error mensages in logs with stun configuration

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 6 11:59:31 CET 2013


Hi Miguel,

It seems you have an older version of opensips - which one you use ??

errno 4 means SYSTEM INTERRUPT and in the current code is properly 
handled (not displayed as regular error).

Please do an  "opensips -V" and post here.

Regards,

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


On 03/05/2013 07:24 PM, Miguel J. López Valverde wrote:
> Dear lists.opensips:
>
>     I'm using stun on a Linux-Debian test server. Everything seems to 
> work correctly but in the log file the following messages appear 
> repeatedly:
>
>     ERROR:stun:stun_loop: error in select 4
>
>     The opensips.conf lines for stun are:
>
>
> listen=udp:X.X.X.1:5060   # CUSTOMIZE ME
> listen=udp:X.X.X.2:3478   # CUSTOMIZE ME
>
> disable_tcp=yes
>
> disable_tls=yes
>
>
> ####### Modules Section ########
>
> #set module path
> mpath="//lib64/opensips/modules/"
>
>
> #### STUN SERVER
> loadmodule "stun.so"
> modparam("stun","primary_ip","X.X.X.1")  # CUSTOMIZE ME
> modparam("stun","primary_port","5060")          # CUSTOMIZE ME
> modparam("stun","alternate_ip","X.X.X.2")        # CUSTOMIZE ME
> modparam("stun","alternate_port","3478")        # CUSTOMIZE ME
>
>     And the server interfaces configuracion:
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
>         address X.X.X.1
>         netmask 255.255.255.248
>         network X.X.X.0
>         broadcast X.X.X.9
>         gateway A.A.A.A
>
>
> # The second network interface
> # for STUN Server
> allow-hotplug eth1
> iface eth1 inet static
>         address X.X.X.2
>         netmask 255.255.255.248
>         network X.X.X.0
>         broadcast X.X.X.9
>
>
>     Is this right or do I have something misconfigured?.
>
>     I want also to consult you, ¿can be configured more ips / public 
> interfaces on a single server for SIP / stun?, ¿As would it be 
> configured?.
>
> Thank you very much.
>
> -- 
>
>
>
> -----
> Sus datos de carácter personal (nombre, apellidos, dirección postal y 
> de correo electrónico, etc.) son tratados para la gestión de su 
> relación con la Entidad, así como para el envío de información sobre 
> nuestra actividad y la de terceros relacionadas con la actividad de 
> Consulting Smartic Solutions, S.L., CIF: B85130037, C/Pº de la 
> Castellana, 135, 7ª planta, 28046 Madrid. Usted puede ejercer sus 
> derechos de acceso, rectificación, cancelación y oposición 
> dirigiéndose por escrito, con copia de un documento que acredite su 
> identidad, a la dirección info (arroba) smartic.es.
> Este mensaje puede contener información confidencial. Si usted no es 
> su destinatario, no debe leerlo, copiarlo, distribuirlo, ni hacer uso 
> de la información que contiene. En este caso, por favor, llámenos o 
> comuníquenoslo por escrito y borre este mensaje de su sistema.
> -----
>
>
> _______________________________________________
> 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/20130306/1a09a018/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4338 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130306/1a09a018/attachment.gif>


More information about the Users mailing list