[Serusers] how to use proxy_challenge
Welesley Sibelson Dias
leley.dias at redevox.com.br
Thu Jan 27 15:34:29 CET 2005
Em Qui 27 Jan 2005 11:29, você escreveu:
Thaks Marian
i have other question i have try using multi domain but cannot find
use_domain parameter do you send me one example and try using this
example e don't work in SER domain have both domains 192.168.0.216 and
sipproxy.redevox.com.br and into radius user is create with both domains
if (!(radius_www_authorize("subscriber"))) {
# challenge if none or invalid credentials
www_challenge( "" ,"1");
break;
};
thks and best regards
>
> > Hi Welesley,
> >
> > Yes, of course, this works with all there kinds of authentication (db,
> > radius, diameter).
> >
> > Best Regards,
> > Marian
> >
> > Welesley Sibelson Dias wrote:
> > > Many thaks Marian
> > >
> > > More one question this option works with auth_radius because a have
> > > forget explain this ;
> > >
> > > thks
> > > Best regards,
> > > Welesley
> > >
> > > Em Qua 26 Jan 2005 18:54, Marian Dumitru escreveu:
> > >>Hi Welesley,
> > >>
> > >>you need to enable the multi-domain support for auth module - check the
> > >>"use_domain" parameter and be sure you have the domain column filled in
> > >>in your subscriber table.
> > >>
> > >>In script, do the following:
> > >>
> > >>if (!www_authorize("", "subscriber")) {
> > >> proxy_challenge("", "0");
> > >> break;
> > >>};
> > >>
> > >>Best regards,
> > >>Marian
> > >>
> > >>Welesley Sibelson Dias wrote:
> > >>>Hi all
> > >>>how to use proxy_challenge to work with 2 domains instead of 1 with
> > >>>example above:
> > >>> if (!www_authorize("xxx.org", "subscriber")) {
> > >>> proxy_challenge("xxx.org", "0");
> > >>> break;
> > >>> };
> > >>>
> > >>>thks
> > >>>
> > >>>_______________________________________________
> > >>>Serusers mailing list
> > >>>serusers at lists.iptel.org
> > >>>http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list