Hi there
of course this helps, thanks :-)
are there RADIUS enable counterparts for check_from, is_user_in and does_uri_exist?
I couldn't find any. testing SER 0.8.14
Cheers !3runo
Andreas Granig wrote:
If users have to proxy_authenticate() when calling, there's no problem with accounting.
Explicitely blocked users can be handled with groups, so you can differ between incoming-blocked and outgoing-blocked, e.a.:
# proxy_authenticate() here, then:
if(method == "INVITE") { if(!check_from()) { # spoofed From-URI, send 403 here break; }
if(is_user_in("credentials", "outblocked")) { # outgoing call attempt of blocked user, deflect to announcement # or send 403 here break; } if(does_uri_exist() && is_user_in("Request-URI", "inblocked")) { # incoming call to local blocked user, see above break; }
}
and use serctl for blocking users: "serctl acl grant <user> outblocked"
So still no need to register.