[Serusers] www_challange and proxy_challange

Thomas Britis thomas at tcnet.com.br
Tue Aug 23 21:16:28 CEST 2005


Hi all,

	Is it sane to use:

if (uri==myself) {
	if (method=="REGISTER") {
		if (!www_authorize("", "subscriber")) {
			www_challenge("", "0");
			break;
		};
	} else {
		if (!www_authorize("", "subscriber")) {
			if (!proxy_authorize("", "subscriber")) {
				proxy_challenge("", "0");
				break;
			};
		};
	};
};

	Or anything here appears to be wrong ?

	Thank you.
-- 
Thomas Storino Britis
TCNet Inf e Telecom LTDA




More information about the sr-users mailing list