[OpenSIPS-Users] RES: Error in Module Permissions

Laszlo laszlo at voipfreak.net
Tue Mar 18 19:40:56 CET 2014


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/de7cf9b6/attachment.htm>


More information about the Users mailing list