[OpenSER-Users] RADIUS and Local database lookup on register

liran tal liransgarage at gmail.com
Sun Jul 15 10:17:46 CEST 2007


Hey everyone,

I was wondering if it's possible to combine the two methods of lookup
so that a user can authenticate to both radius and local database (on the
one
that he is defined).

to authenticate via radius it is done in my register section like this:

   if (!radius_www_authorize(""))
    {
        www_challenge("","0");
        exit;
    };

and so I was wondering if it's possible to do something like this:

   if ( (!www_authorize("","subscriber")) || (!radius_www_authorize("")) )
    {
        www_challenge("","0");
        exit;
    };




Thanks,
Lir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070715/ada69229/attachment.htm 


More information about the Users mailing list