[OpenSIPS-Users] RES: RES: Error in Module Permissions

Alcindo Schleder alcindoschleder at gmail.com
Tue Mar 18 20:11:33 CET 2014


Hi all..

 

I found the error. The version of the module was incorrect. The opensips was loaded through the rpm package version 1.9.2. I downloaded the source and recompiled ... voilà it worked.

 

[]s

 

De: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] Em nome de Laszlo
Enviada em: terça-feira, 18 de março de 2014 15:41
Para: OpenSIPS users mailling list
Assunto: Re: [OpenSIPS-Users] RES: Error in Module Permissions

 

that sounds interesting.

if you replace your check_address row with this, what do you get back?

if (check_address("1","$si","$sp","$proto","")) {

 

 

2014-03-18 18:56 GMT+01:00 Alcindo Schleder <alcindoschleder at gmail.com>:

Hi Laszli.

 

With 4 parameters returns the same error.

 

 

 

De: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] Em nome de Laszlo
Enviada em: terça-feira, 18 de março de 2014 14:24


Para: OpenSIPS users mailling list
Assunto: Re: [OpenSIPS-Users] Error in Module Permissions

 

the function expects 4 mandatory parameters, not 3

- Laszli

2014.03.18. 18:04, "Alcindo Schleder" <alcindoschleder at gmail.com> ezt írta:

I'm trying to use the function and check_address get an error compiling the script.

 

Script line 390.

                if (check_address("1", "$si", "$sp")) {

                        xlog("IP Allow Routing to $si");

                }

 

Error:

CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 396, column 38-39: unknown command <check_address>, missing loadmodule?

 

Alcindo Schleder

Gerente de Negócios – comercial at renovaretelecom.com.br 

(51) 3564-4156

(51) 9790-9437

Renovare Telecom <http://www.renovaretelecom.com.br/> 

 


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


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




-- 


--

Kind regards,

Laszlo Bekesi

http://voipfreak.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140318/af3ba3d4/attachment-0001.htm>


More information about the Users mailing list