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

Stefano Pisani stefano.pisani at omnianet.it
Tue Mar 18 20:39:49 CET 2014


So I was right :-)

Il 18/03/2014 20.11, Alcindo Schleder ha scritto:
>
> 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 
> <mailto: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> 
> [mailto: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 
> <mailto: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 
> <mailto: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 <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
>
>
> --
>
> Kind regards,
>
> Laszlo Bekesi
>
> http://voipfreak.net
>
>
>
> _______________________________________________
> 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/20140318/89e9c339/attachment.htm>


More information about the Users mailing list