[OpenSIPS-Users] Permissions module error !

Nuno Marques yangsengopenser at gmail.com
Thu Aug 21 12:42:32 CEST 2008


Thanks... i never thought it was capital sensitive :)

2008/8/21 Bogdan-Andrei Iancu <bogdan at voice-system.ro>

> HI Nuno,
>
> for protocol non-dependent rule, use the keyword "any" instead of  "Any".
>
> Regards,
> Bogdan
>
> Nuno Marques wrote:
>
>> Hi,
>>
>>  I tried to install on my Openser 1.2.2 the permissions module so i can
>> use an asterisk gateway. I populated the trusted table with information
>> about the gateway.
>>  When i tried to run OpenSer it gave me some errors.
>>  Can anyone tell me what could be the problem? Below are the erros and the
>> data on trusted table.
>>  Thanks in advance,
>>
>>                   Nuno
>>
>>  0(3824) init_tcp: using epoll_lt as the io watch method (auto detected)
>>
>>  0(0) INFO: statistics manager successfully initialized
>>  0(0) StateLess module - initializing
>>  0(0) TM - initializing...
>>  0(0) Maxfwd module- initializing
>>  0(0) INFO:ul_init_locks: locks array size 512
>>  0(0) TextOPS - initializing
>>
>> labvoipua:/etc/openser#  0(0) permissions - initializing
>>  0(0) Default allow file (//etc/openser/permissions.allow) not found =>
>> empty rule set
>>  0(0) Default deny file (//etc/openser/permissions.deny) not found =>
>> empty rule set
>>
>>  0(0) hash_table_insert(): Unknown protocol
>>  0(0) ERROR: permissions: trusted_reload(): Hash table problem
>>  0(0) init_trusted(): Reload of trusted table failed
>>  0(0) Error while initializing allow_trusted function
>>
>>  0(0) init_mod(): Error while initializing module permissions
>> ERROR: error while initializing modules
>>  0(0) INFO:mi_fifo:mi_destroy:memory for the child's mi_fifo_pid was not
>> allocated -> nothing to destroy
>>
>>
>>
>> TRUSTED TABLE
>>
>> +----+----------------+-------+--------------+------+---------+
>> | id | src_ip         | proto | from_pattern | tag  | version |
>> +----+----------------+-------+--------------+------+---------+
>>
>> |  1 | 192.168.137.20 <http://192.168.137.20> | Any   | ^sip:.*$     |
>> NULL |       3 |
>> +----+----------------+-------+--------------+------+---------+
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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/20080821/d2a10a79/attachment-0001.htm 


More information about the Users mailing list