nvm..its permissions.so :) stupid me!
On Sat, Oct 9, 2010 at 5:38 PM, Shrouk Khan <shroukkhan(a)softverk.is> wrote:
hi,
i have been trying to use the allow_trusted() to allow or disallow invite
request from certain IP address. This is the block that i am using:
loadmodule "permission.so"
......
........
if(is_method("INVITE")){
if(!allow_trusted()){
sl_send_reply("403","Address Not allowed");
exit;
}
}
but trying to restart kamailio after this fails. and from the syslog it
says:
Oct 9 03:19:49 ubuntu kamailio: ERROR: <core> [sr_module.c:378]: ERROR:
load_module: could not find module <permission> in
<//lib/kamailio/modules_k/://lib/kamailio/modules/>
Oct 9 03:19:49 ubuntu kamailio: : <core> [cfg.y:3330]: parse error in
config file //etc/kamailio/kamailio.cfg, line 151, column 12-26: failed to
load module
Oct 9 03:19:49 ubuntu kamailio: : <core> [cfg.y:3333]: parse error in
config file //etc/kamailio/kamailio.cfg, line 356, column 21: unknown
command, missing loadmodule?#012
I think i forgot to compile kamailio with the support of permission module
. but i do not see it anywhere in the ignore list either. can anyone tell me
what could be the problem
--
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
--
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