[Serusers] how to use proxy_challenge

Marian Dumitru marian.dumitru at voice-sistem.ro
Wed Jan 26 19:54:26 CET 2005


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
> 

-- 
Voice System
http://www.voice-system.ro




More information about the sr-users mailing list