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

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 6 13:19:50 CET 2013


Hi,

OK, in 1.8 was fixed , so I suggest moving on with latest 1.8.2 (fully 
compatible with 1.8.0) to get rid of that.

Note that the log you see is completely harmless .

Regards,

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


On 03/06/2013 01:50 PM, Miguel J. López Valverde wrote:
> Dear Bogdan-Andrei:
>
> Thank you very much for your answer.
>
> Here I sending you the information:
>
>
> opensips -V
> version: opensips 1.8.0-tls (x86_64/linux)
> flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, 
> USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
> FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> svnrevision: unknown
> @(#) $Id: main.c 8772 2012-03-08 11:16:13Z bogdan_iancu $
> main.c compiled on 11:58:59 Jul  9 2012 with gcc 4.4.5
>
>
> Best Regards.
>
> -- 
>
>
>
> -----
> 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.
> -----
>
> -----Mensaje original-----
> *De*: Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:Bogdan-Andrei%20Iancu%20%3cbogdan at opensips.org%3e>>
> *Para*: OpenSIPS users mailling list <users at lists.opensips.org 
> <mailto:OpenSIPS%20users%20mailling%20list%20%3cusers at lists.opensips.org%3e>>
> *Cc*: "\"Miguel J.\" López Valverde" <mjlopez at smartic.es 
> <mailto:%22%5c%22%5c%5c%5c%22Miguel%20J.%5c%5c%5c%22%22%20%3d%3fISO-8859-1%3fQ%3fL%3dF3pez%3f%3d%20%22Valverde%5c%22%22%20%3cmjlopez at smartic.es%3e>>
> *Asunto*: Re: [OpenSIPS-Users] Error mensages in logs with stun 
> configuration
> *Fecha*: Wed, 06 Mar 2013 12:59:31 +0200
>
> 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  <mailto: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/34651a81/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/34651a81/attachment.gif>
-------------- 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/34651a81/attachment-0001.gif>


More information about the Users mailing list