Read this: http://www.opensips.org/html/docs/modules/1.4.x/auth.html#id228366 and http://www.opensips.org/html/docs/modules/1.4.x/auth_db.html#id228346
And try this code:
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
exit;
}
That way it should work if I'm not mistaken.
--
/Saúl
http://www.saghul.net | http://www.sipdoc.net
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
