[Users] How to write auth username to an AVP (with avpops) for future checking?
Marcello Lupo
lupo at itspecialist.it
Tue Jan 3 15:15:39 CET 2006
Hi,
yes i do.
if (!proxy_authorize("","subscriber")) {
if(isflagset(FLAG_DEBUG)) {
xlog("L_NOTICE","--- User without credential $fu
username $au realm $ar from $si:$sp ---\n");
}
proxy_challenge("","0");
return;
}
thanks,
Bye,
Marcello
Alle 15:07, martedì 3 gennaio 2006, Klaus Darilion ha scritto:
> Just a guess: Do you proxy_authenticate before using $ua ?
> I guess this is necessary to parse the Authentication header.
>
> regards
> klaus
>
> Marcello Lupo wrote:
> > Hi,
> > probably a stupid question, but how to write the auth username passed on
> > authentication to an AVP?? I tried to access $ua pseudo variable in
> > openser to get it in to the AVP but it failed, obviously.As the docs says
> > the pseudo variables are accessible only for avp_print function.
> > Any help?
> > Thanks,
> > Bye,
> > Marcello
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
More information about the sr-users
mailing list