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> 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> When i tried to run OpenSer
it gave me some errors.<br>
Can anyone tell me what could be the problem? Below are the erros and the data
on trusted table.<br> Thanks in
advance,<br><br>
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 => empty rule set<br> 0(0)
Default deny file (//etc/openser/permissions.deny) not found => 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's
mi_fifo_pid was not allocated -> 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(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users