hi all, i am trying to load the permission module in the following manner:
loadmodule "permissions.so"
#---- permission params ------
modparam("permissions", "db_url",
"mysql://openser:openserrw@localhost/openser")
modparam("permissions", "db_mode",1)
modparam("permissions", "trusted_table", "trusted")
and i am getting the following error:
ct 9 04:44:25 ubuntu /sbin/kamailio[1469]: WARNING: permissions
[permissions.c:604]: default allow file (//etc/kamailio/permissions.allow)
not found => empty rule set
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: WARNING: permissions
[permissions.c:613]: default deny file (//etc/kamailio/permissions.deny) not
found => empty rule set
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR: permissions
[address.c:156]: database problem
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: CRITICAL: permissions
[address.c:233]: reload of address table failed
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR: permissions
[address.c:243]: no more shm memory
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR: permissions
[permissions.c:627]: failed to initialize the allow_address function
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR: <core>
[sr_module.c:874]: init_mod(): Error while initializing module permissions
any idea what is happening ?
--
Regards
Shrouk Khan (Khan)
System Administrator / Telecommunication System Developer
Office: +354 4400807 (Reykjavik)
+44 2031370800 (London)
Mobile: +66 875049439 (Bangkok)
Web:
www.softverk.is
Reykjavik, Iceland // London, UK // Bangkok, Thailand