I'm getting mad, this script always gives "No permission for local calls"
even if caller has "local" permission, I checked also in database.
I'm missing something ?
if (uri=~"0*@DOMAINNAME") {
if (!is_user_in("credentials", "local")){
sl_send_reply("403", "No permission for local calls");
break;
} else {
rewritehostport("SERVERIP:5090");
t_relay_to_udp("SERVERIP", "5090");
break;
};
};
ser log:
is_user_in(): No authorized credentials found (error in scripts)
Tnx for any help !