Arif-Uz-Zaman writes:
I've already tested with the following config but no luck. Since the following config check only whether callee is registered or not. Not the caller.
if(!registered("location")) { sl_send_reply("403","Forbidden auth ID"); exit; }
indeed the function should take a pseudo variable that contains aor used for checking.
Is there any other suggestions?
save r-uri, store caller's aor to r-uri and call the above function. then restore r-uri.
-- juha