I have the following condition below in my config
if (!allow_trusted("$si", "$proto")) {
xlog("L_INFO","\n\n--NOT trusted! - $si - $proto");
sl_send_reply("403", "Forbidden");
exit;
}
I checked that $si is the same ip as in the permissions table and confirmed that it has been loaded
with
kamcmd permissions.trustedDump
This is the output
{
table: 8
item: {
ip: x.x.x.x
proto: 0
pattern:
ruri_pattern:
tag: NULL
priority: 0
}
}
However allow_trusted function returns false i.e. not trusted. Why so this be the case when permissions.trustedDump report as above?
By the way I am using sqlite as the data store if that make a diffreence
thanks