[OpenSIPS-Users] Custom User Table
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Nov 7 11:12:17 CET 2008
Hi Juan,
You can load that extra columns from a subscriber-like table by using
the "load_credentials" module param from auth_db:
http://www.opensips.org/html/docs/modules/1.4.x/auth_db.html#id2528962
Once you have into info loaded into an AVP, you can check it from the
script.
Regards,
Bogdan
Juan Backson wrote:
> Hi,
>
> I have configure Opensips to authenticate against a custom user table
> that I defined using the column I specified. In the table I have an
> "enable_flag" which I want to use to specify whether the user is
> enabled or disabled. Is there anyway that I can have opensips to
> check this enable_flag for each user during authentication?
>
> Thanks alot for your help.
>
> JB
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list