[OpenSIPS-Users] gateways on dinamic routing use don't load new values
Dear users@lists.opensips.org: Newly i have a trouble with dinamic routing use, i write this email finding help. Now, when i add a new gateway on dr_gateways tables, (with Control Panel tool, by example), and apply the changes, all appears ok, but clicking on Status red dot, the message "Error while enabling gateway newgateway" appears. I've tried with MI Commands to see what's happen, in this way: - dr_reload => appears OK - dr_gw_status => All dr_gateways old registers without the new gateway. - dr_gw_status oldgateway => Enabled:: yes - dr_gw_status newgateway => 404 GW ID not found And the newgateway information on dr_gateways table is right. Also i've add a dr_groups register for newgateway. Also I've tried restarting the opensips service and no changes was happened on dr_gw_status list. Then I tried with osipsconsole but all was the same. ¿Do you know why OpenSips aren't loading new dr_gateways registers on dr_gw_status list?. My OpenSips actual version is: OpenSIPS$:version Server:: OpenSIPS (1.9.1-notls (x86_64/linux)) Thankyou very much and 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. - <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips 1.9.1 and CDRTool
thanks, Mark, for your interest. I've encounter problems with the acc module when i configure the modparams radius_flag, radius_missed_flag and radius_extra, find errors on the logs file and OpenSIPS not start. File opensips.logs throws this information: Jul 17 17:59:32 silver opensips: ERROR:core:set_mod_param_regex: parameter not found in module Jul 17 17:59:32 silver opensips: CRITICAL:core:yyerror: parse error in config file /usr/etc/opensips/opensips_residential_2013-6-24_18:57:42.cfg, line 149, column 26-27: Parameter not found in module - can't set Jul 17 17:59:32 silver opensips: ERROR:core:set_mod_param_regex: parameter not found in module Jul 17 17:59:32 silver opensips: CRITICAL:core:yyerror: parse error in config file /usr/etc/opensips/opensips_residential_2013-6-24_18:57:42.cfg, line 150, column 19-20: Parameter not found in module - can't set Jul 17 17:59:32 silver opensips: ERROR:core:set_mod_param_regex: parameter not found in module Jul 17 17:59:32 silver opensips: CRITICAL:core:yyerror: parse error in config file /usr/etc/opensips/opensips_residential_2013-6-24_18:57:42.cfg, line 165, column 2-3: Parameter not found in module - can't set Jul 17 17:59:32 silver opensips: ERROR:core:main: bad config file (3 errors) root@silver:/usr/etc/opensips# And the opensips.conf configuration was... modparam("acc", "radius_flag",1) modparam("acc", "radius_missed_flag", 1) modparam("acc", "radius_extra", "User-Name=$Au; \ Calling-Station-Id=$from; \ Called-Station-Id=$to; \ Sip-Translated-Request-URI=$ru; \ Sip-RPid=$avp(s:rpid); \ Source-IP=$avp(s:source_ip); \ Source-Port=$avp(s:source_port); \ SIP-Proxy-IP= $avp(s:sip_proxy_ip); \ Canonical-URI=$avp(s:can_uri); \ Billing-Party= $avp(billing_party); \ Divert-Reason= $avp(s:divert_reason); \ User-Agent=$hdr(user-agent); \ Contact=$hdr(contact); \ Event=$hdr(event); \ ENUM-TLD=$avp(s:enum_tld)") I understand that these parameters are not valid from version 1.7 onwards, but there isn't indicated as OpenSIPS must be configured for new releases -- - 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: Mark Dalby Reply-to: OpenSIPS users mailling list Para: 'OpenSIPS users mailling list' Asunto: Re: [OpenSIPS-Users] OpenSips 1.9.1 and CDRTool Fecha: Wed, 17 Jul 2013 17:41:43 +0200 Hi Miguel, Could you provide the specific errors you are encountering? Thanks, Mark From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Miguel J. López Valverde Sent: 17 July 2013 17:32 To: users@lists.opensips.org Subject: [OpenSIPS-Users] OpenSips 1.9.1 and CDRTool Hello I'm trying to set up a test model with OpenSIPS 1.9.1 and CDRTool, but the information available on the link http://cdrtool.ag-projects.com/projects/cdrtool/wiki/Installation_Guide is only valid up to version 1.6 OpenSIPS, generating errors with the use of acc module parameters. I searched information in different forums and sources, but can not find anything suitable. Can you recommend me some valid information source for working with these versions?, (Links, courses, training low down payment, etc). Thank you very much, 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 Sma
[OpenSIPS-Users] OpenSips 1.9.1 and CDRTool
Hello I'm trying to set up a test model with OpenSIPS 1.9.1 and CDRTool, but the information available on the link http://cdrtool.ag-projects.com/projects/cdrtool/wiki/Installation_Guide is only valid up to version 1.6 OpenSIPS, generating errors with the use of acc module parameters. I searched information in different forums and sources, but can not find anything suitable. Can you recommend me some valid information source for working with these versions?, (Links, courses, training low down payment, etc). Thank you very much, 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. - <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] use of is_from_gw directive from drouting module.
Hello Bogdan-Andrei. With this patch it's working correcty. Thanyou 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. - -Mensaje original- De: Bogdan-Andrei Iancu Para: "\"Miguel J.\" López Valverde" Cc: OpenSIPS users mailling list Asunto: Re: [OpenSIPS-Users] use of is_from_gw directive from drouting module. Fecha: Mon, 20 May 2013 15:05:49 +0300 Hello Miguel, Please apply and attached patch (recompile + reinstall) with the is_from_gw("2","n") format. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05/20/2013 11:37 AM, Miguel J. López Valverde wrote: > Hello Bogdan-Andrei, > > Thanyou very much for this information, I had not undertood the > information give on manuals. > > Enyway, I tried also this forms and did no work correctly: > > dr_gateways have the next information: > > mysql> select * from dr_gateways; > ++-+--++---++---++---+ > | id | gwid| type | address| strip | > pri_prefix | attrs | probe_mode | description | > ++-+--++---++---++---+ > | 1 | Provider_0 |2 | xxx.xxx.xxx.xxx| 0 | NULL > | NULL | 0 |Provider_0_incoming| > > > With the is_from_gw("2","n") or dr_is_gw("$si","2","n") directives did > the same and do not identify the carrier correctly. With the dr_is_gw > directive, the next information appeared in the log file: > > ERROR:drouting:_is_dr_uri_gw: invalid sip uri > > Can I do some more testing?, > > 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 > Para: "\"Miguel J.\" López Valverde" > Cc: OpenSIPS users mailling list > Asunto: Re: [OpenSIPS-Users] use of is_from_gw directive from drouting > module. > Fecha: Fri, 17 May 2013 13:57:38 +0300 > > Hello Miguel, > > The "3" from the is_from_gw() matches the "type" column" from the > dr_gateways table - it has nothing to do with the dr_group table. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > > > On 05/16/2013 11:18 PM, Miguel J. López Valverde wrote: > > > Dear Bogdan-Andrei > > > > I've tried to asign a new group for this providers, (group 3, I > > can't asign it to group 0 because this group is used by another type > > of users). I've filled dr_groups registers with this new > > information, (dr_gateways was filled before, on 1.8 release): > > > > select * from dr_gateways; > > ++-+--++---++---++---+ > > | id | gwid| type | address| strip | > > pri
Re: [OpenSIPS-Users] use of is_from_gw directive from drouting module.
Hello Bogdan-Andrei, Thanyou very much for this information, I had not undertood the information give on manuals. Enyway, I tried also this forms and did no work correctly: dr_gateways have the next information: mysql> select * from dr_gateways; ++-+--++---++---++---+ | id | gwid| type | address| strip | pri_prefix | attrs | probe_mode | description | ++-+--++---++---++---+ | 1 | Provider_0 |2 | xxx.xxx.xxx.xxx| 0 | NULL | NULL | 0 |Provider_0_incoming| With the is_from_gw("2","n") or dr_is_gw("$si","2","n") directives did the same and do not identify the carrier correctly. With the dr_is_gw directive, the next information appeared in the log file: ERROR:drouting:_is_dr_uri_gw: invalid sip uri Can I do some more testing?, 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 Para: "\"Miguel J.\" López Valverde" Cc: OpenSIPS users mailling list Asunto: Re: [OpenSIPS-Users] use of is_from_gw directive from drouting module. Fecha: Fri, 17 May 2013 13:57:38 +0300 Hello Miguel, The "3" from the is_from_gw() matches the "type" column" from the dr_gateways table - it has nothing to do with the dr_group table. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05/16/2013 11:18 PM, Miguel J. López Valverde wrote: > Dear Bogdan-Andrei > > I've tried to asign a new group for this providers, (group 3, I can't > asign it to group 0 because this group is used by another type of > users). I've filled dr_groups registers with this new information, > (dr_gateways was filled before, on 1.8 release): > > select * from dr_gateways; > ++-+--++---++---++---+ > | id | gwid| type | address| strip | > pri_prefix | attrs | probe_mode | description | > ++-+--++---++---++---+ > | 1 | Provider_0 |2 | XXX.XXX.XXX.XXX| 0 | NULL > | NULL | 0 | Provider0_incoming| > > > > select * from dr_groups; > ++---+-+-+---+ > | id | username | domain | groupid | description > | > ++---+-+-+---+ > | 24 | Provider_0| XXX.XXX.XXX.XXX| 3 | > Provider0_incoming| > > > And the new configuration: > > } else if (is_from_gw()) { > # request comes from gw > setflag(21); > > } else if (is_from_gw("3","n")) { > # request comes from gw with strange udp-ports > setflag(21); > } > > With this configuration, the is_from_gw() directive is working right > for providers without dr_groups db information and using 5060 port, > but the is_from_gw("3","n") aren't working, it don't match with > providers of group 3 and working with ports diferents of 5060. > > ¿Are this configuration wrong?. > > Thankyou very much for your help. > > > -- > > > > - > 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 su
Re: [OpenSIPS-Users] use of is_from_gw directive from drouting module.
Dear Bogdan-Andrei I've tried to asign a new group for this providers, (group 3, I can't asign it to group 0 because this group is used by another type of users). I've filled dr_groups registers with this new information, (dr_gateways was filled before, on 1.8 release): select * from dr_gateways; ++-+--++---++---++---+ | id | gwid| type | address| strip | pri_prefix | attrs | probe_mode | description | ++-+--++---++---++---+ | 1 | Provider_0 |2 | XXX.XXX.XXX.XXX| 0 | NULL | NULL | 0 | Provider0_incoming| select * from dr_groups; ++---+-+-+---+ | id | username | domain | groupid | description | ++---+-+-+---+ | 24 | Provider_0| XXX.XXX.XXX.XXX| 3 | Provider0_incoming| And the new configuration: } else if (is_from_gw()) { # request comes from gw setflag(21); } else if (is_from_gw("3","n")) { # request comes from gw with strange udp-ports setflag(21); } With this configuration, the is_from_gw() directive is working right for providers without dr_groups db information and using 5060 port, but the is_from_gw("3","n") aren't working, it don't match with providers of group 3 and working with ports diferents of 5060. ¿Are this configuration wrong?. Thankyou very much for your help. -- - 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 Para: OpenSIPS users mailling list Cc: "\"Miguel J.\" López Valverde" Asunto: Re: [OpenSIPS-Users] use of is_from_gw directive from drouting module. Fecha: Wed, 15 May 2013 20:59:47 +0300 Hello Miguel, Starting with 1.9, DR module does SIP wise resolving of the destination (in order to find all the IPs behind the a FQDN, via NATPR, SRV and A lookups). A side effect is that according to SIP, no port means 5060. In your case, the "n" flag should do the trick - but I understand that when using it, your problem is what group to use (by the way, "" group is translated to group 0 ) . Are your GWs in various groups? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05/15/2013 04:16 AM, Miguel J. López Valverde wrote: > Dear UserList Opensips: > > I used drouting with OpenSips 1.8.0 release, the gateways list was > in the dr_gateways table and no ports where configurated in it. For > incoming calls wasn't necesary. > > Now, I upgrade OpenSips to 1.9.1 release and for incoming calls > from a few providers, I can't do match they whith the "is_from_gw()" > directive. I tried in this diferents forms: > > is_from_gw(), OpenSips start and providers with 5060-udp port > match fine, but a few providers who employ other random ports haven't > match. > is_from_gw("", "n"), OpenSips start but incoming calls haven't > match with the gateways on dr_gateways table. > is_from_gw("-1", "n"), OpenSips don't start. > is_from_gw("diferents_formats", "n"), OpenSips start but > incoming calls haven't match with the gateways on dr_gateways table. > > Then I need to ask you... > > ¿How I have to use the is_from_gw directive with "n" parameter and > dr_gateways table with the list of incoming calls providers?. > > ¿Which is the field on the dr_gateways table where i can make > match with type parameter on the is_from_gw directive?. > > Thanyou very much and best regards. > > Miguel J. López. > > > ___ > Users mailing list > 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
[OpenSIPS-Users] use of is_from_gw directive from drouting module.
Dear UserList Opensips: I used drouting with OpenSips 1.8.0 release, the gateways list was in the dr_gateways table and no ports where configurated in it. For incoming calls wasn't necesary. Now, I upgrade OpenSips to 1.9.1 release and for incoming calls from a few providers, I can't do match they whith the "is_from_gw()" directive. I tried in this diferents forms: is_from_gw(), OpenSips start and providers with 5060-udp port match fine, but a few providers who employ other random ports haven't match. is_from_gw("", "n"), OpenSips start but incoming calls haven't match with the gateways on dr_gateways table. is_from_gw("-1", "n"), OpenSips don't start. is_from_gw("diferents_formats", "n"), OpenSips start but incoming calls haven't match with the gateways on dr_gateways table. Then I need to ask you... ¿How I have to use the is_from_gw directive with "n" parameter and dr_gateways table with the list of incoming calls providers?. ¿Which is the field on the dr_gateways table where i can make match with type parameter on the is_from_gw directive?. Thanyou very much and best regards. Miguel J. López. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Error mensages in logs with stun configuration
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 Para: OpenSIPS users mailling list Cc: "\"Miguel J.\" López Valverde" 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@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
[OpenSIPS-Users] Error mensages in logs with stun configuration
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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] OpenSIPS and Sip-Provider like gateway authenticate.
Hello users@list.opensips I've a query for you. I want to connect my OpenSIP Server with a SIP provider that requires validate the user account and password instead of by IP. The question is... ¿It's posible to resgistar OpenSIPS like an UAC against a SIP-Provider like gateway authenticate by user/pass for send and recive calls throught it? Regards. Miguel J. López. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] dialplan table and Control Panel tool.
Thankyou very much Alex. Now it's working fine. Regards, Miguel López -Mensaje original- De: Alex Ionescu Reply-to: OpenSIPS users mailling list Para: OpenSIPS users mailling list Asunto: Re: [OpenSIPS-Users] dialplan table and Control Panel tool. Fecha: Thu, 15 Nov 2012 13:13:34 +0200 Hi Miguel, Can you please do a SVN checkout : svn co https://opensips-cp.svn.sourceforge.net/svnroot/opensips-cp/trunk /path/to/your/opensips-cp Then just copy your boxes and db config files from your old installation to this new one and you should be ready to go. Regards, Alex On 11/15/2012 01:08 PM, Miguel J. López Valverde wrote: > > Hi Alex, > > Thankyou for your answer. > > I installed it downloading the tarball file, (opensips-cp_5.0.tgz). > > Rergards. > > > > -Mensaje original- > De: Alex Ionescu > Reply-to: OpenSIPS users mailling list > Para: OpenSIPS users mailling list > Asunto: Re: [OpenSIPS-Users] dialplan table and Control Panel tool. > Fecha: Thu, 15 Nov 2012 12:45:49 +0200 > > Hi, > > No, don't change anything. In 5 minutes a fix will be available on SVN > trunk. There is a small bug in the code. > Miguel, how did you install OpenSIPS Control Panel ? SVN or tarball ? > > Regards, > Alex Ionescu > > On 11/15/2012 12:40 PM, Max Mühlbronner wrote: > > > > Hi, > > > > > > maybe you need to adjust memory_limit in php.inf and restart apache. > > At least this helped me a few times when i had the same problem with > > dynamic routing/dr_rules table. > > > > > > Max M. > > > > > > On 11/15/2012 11:23 AM, Miguel J. López Valverde wrote: > > > > > > > Dear Opensips lists: > > > > > > I've a trouble with the OpenSips Control Panel tool when the > > > dialplan table has more than 4 rows. > > > > > > If this table contains up to 40,000 rows, the content is > > > provided in the web tool and everything works fine but if this > > > table contains a record more, the tool leaves the panel empty. > > > > > > Can I configure this tool to avoid this limitation? > > > > > > Thank you very much and best regards > > > > > > > > > ___ > > > Users mailing list > > > 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 > > > > ___ > Users mailing list > 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 ___ Users mailing list 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
Re: [OpenSIPS-Users] dialplan table and Control Panel tool.
Hi Alex, Thankyou for your answer. I installed it downloading the tarball file, (opensips-cp_5.0.tgz). Rergards. -Mensaje original- De: Alex Ionescu Reply-to: OpenSIPS users mailling list Para: OpenSIPS users mailling list Asunto: Re: [OpenSIPS-Users] dialplan table and Control Panel tool. Fecha: Thu, 15 Nov 2012 12:45:49 +0200 Hi, No, don't change anything. In 5 minutes a fix will be available on SVN trunk. There is a small bug in the code. Miguel, how did you install OpenSIPS Control Panel ? SVN or tarball ? Regards, Alex Ionescu On 11/15/2012 12:40 PM, Max Mühlbronner wrote: > Hi, > > > maybe you need to adjust memory_limit in php.inf and restart apache. > At least this helped me a few times when i had the same problem with > dynamic routing/dr_rules table. > > > Max M. > > > On 11/15/2012 11:23 AM, Miguel J. López Valverde wrote: > > > > > Dear Opensips lists: > > > > I've a trouble with the OpenSips Control Panel tool when the > > dialplan table has more than 4 rows. > > > > If this table contains up to 40,000 rows, the content is > > provided in the web tool and everything works fine but if this table > > contains a record more, the tool leaves the panel empty. > > > > Can I configure this tool to avoid this limitation? > > > > Thank you very much and best regards > > > > > > ___ > > Users mailing list > > 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 ___ Users mailing list 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
[OpenSIPS-Users] dialplan table and Control Panel tool.
Dear Opensips lists: I've a trouble with the OpenSips Control Panel tool when the dialplan table has more than 4 rows. If this table contains up to 40,000 rows, the content is provided in the web tool and everything works fine but if this table contains a record more, the tool leaves the panel empty. Can I configure this tool to avoid this limitation? Thank you very much and best regards ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users