[OpenSIPS-Users] Using domain for group policy

Joan aseques at gmail.com
Tue Dec 23 18:36:54 CET 2008

Good afternoon,

I am currently using some groups to manage my users rights (mobile,
landlines, etc ...)
Since my setup is in multi-domain. environment, I would like to be
able to set rights for a whole domain.
Now I am using to allow/deny calls:
    is_user_in("Credentials","mobile") ||
is_user_in("Credentials","landlines") ...
For exampel if I don't have a user specific policy I would like to
check domain policies, something like:
    is_domain_in ("Credentials","mobile")

Is this planned to be implemented?
It would just be a change in the function to look for empty username,
while the rest wouldn't change.

More information about the Users mailing list