[Kamailio-Users] Permissions module error !

Juha Heinanen jh at tutpro.com
Thu Aug 21 07:30:45 CEST 2008


Nuno Marques writes:

 > +----+----------------+-------+--------------+------+---------+
 > | id | src_ip         | proto | from_pattern | tag  | version |
 > +----+----------------+-------+--------------+------+---------+
 > |  1 | 192.168.137.20 | Any   | ^sip:.*$     | NULL |       3 |
 > +----+----------------+-------+--------------+------+---------+

try with protocol "any".

-- juha








































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































 > <div dir="ltr">Hi,<br><br>&nbsp; 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.<br>&nbsp; When i tried to run OpenSer it gave me some errors.<br>
 > &nbsp; Can anyone tell me what could be the problem? Below are the erros and the data on trusted table.<br>&nbsp; Thanks in advance,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nuno<br><br><pre> 0(3824) init_tcp: using epoll_lt as the io watch method (auto detected)<br>
 >  0(0) INFO: statistics manager successfully initialized<br> 0(0) StateLess module - initializing<br> 0(0) TM - initializing...<br> 0(0) Maxfwd module- initializing<br> 0(0) INFO:ul_init_locks: locks array size 512<br> 0(0) TextOPS - initializing<br>
 > labvoipua:/etc/openser#  0(0) permissions - initializing<br> 0(0) Default allow file (//etc/openser/permissions.allow) not found =&gt; empty rule set<br> 0(0) Default deny file (//etc/openser/permissions.deny) not found =&gt; empty rule set<br>
 >  0(0) hash_table_insert(): Unknown protocol<br> 0(0) ERROR: permissions: trusted_reload(): Hash table problem<br> 0(0) init_trusted(): Reload of trusted table failed<br> 0(0) Error while initializing allow_trusted function<br>
 >  0(0) init_mod(): Error while initializing module permissions<br>ERROR: error while initializing modules<br> 0(0) INFO:mi_fifo:mi_destroy:memory for the child&#39;s mi_fifo_pid was not allocated -&gt; nothing to destroy<br>
 > <br><br>TRUSTED TABLE<br><br>+----+----------------+-------+--------------+------+---------+<br>| id | src_ip         | proto | from_pattern | tag  | version |<br>+----+----------------+-------+--------------+------+---------+<br>
 > |  1 | <a href="http://192.168.137.20">192.168.137.20</a> | Any   | ^sip:.*$     | NULL |       3 |<br>+----+----------------+-------+--------------+------+---------+<br><br></pre><br></div>
 > _______________________________________________
 > Users mailing list
 > Users at lists.kamailio.org
 > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list