[OpenSIPS-Users] how to adapt opensips's database to authentification ?

Anca Vamanu anca at opensips.org
Fri Apr 16 12:04:27 CEST 2010


Hi Sam,

You can extract the info from your database with avp_db_query from 
avp_ops module ( 
http://www.opensips.org/html/docs/modules/devel/avpops.html#id271033) 
and use that info to do authentication with pvar 
auth(http://www.opensips.org/html/docs/modules/devel/auth.html#id271238).

Regards,

-- 
Anca Vamanu
www.voice-system.ro


sam dahmani wrote:
> Hello everybody
>
> I try to understand how the authentication of OpenSIPS with mysql 
> occurs, to try to adapt this mechanism to retrieve authentication data 
> from a database that already exists but that does not have the same 
> pattern as opensips's database.
> do you have an idea about that?
>
> Regards.
>
> Sam.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   





More information about the Users mailing list