[OpenSIPS-Users] error permissions module

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jun 10 22:33:45 CEST 2010


Hi,

docs are you friends!! check the docs for the opensips version you have.

in 1.6, the parameter was removed (caching is all the time enabled):
       http://www.opensips.org/html/docs/modules/1.6.x/permissions.html

Regards,
Bogdan

link debian wrote:
> Hi,
>
> I'm configuring Opensips to route calls to Asterisk Server.
>
> I've added permissions and group module with these parameters:
>
> modparam("group","db_url","mysql://opensips:opensipsrw@localhost/opensips")
>
> modparam("permissions", "db_mode", 1)
> modparam("permissions", 
> "db_url","mysql://opensips:opensipsrw@localhost/opensips")
>
> When I restart opensips appears these errors:
>
> Not starting opensips: invalid configuration file!
>
> Jun 10 11:01:14 [10795] ERROR:core:set_mod_param_regex: parameter 
> <db_mode> not found in module <permissions>
> Jun 10 11:01:14 [10795] CRITICAL:core:yyerror: parse error in config 
> file, line 96, column 19-20: Parameter <db_mode> not found in module 
> <permissions> - can't set
> Jun 10 11:01:15 [10795] ERROR:core:main: bad config file (1 errors)
>
> I've checked module documentation and this parameter exists. I don' t 
> know how fix it
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list