2011/2/3 Danny Dias <ing.diasdanny(a)gmail.com>om>:
if (is_method("REGISTER"))
{
# authenticate the REGISTER requests (uncomment to enable
auth)
if (!www_authorize("", "subscriber"))
{
www_challenge("", "0");
exit;
}
##
if (!db_check_to())
{
sl_send_reply("403","Forbidden auth ID");
exit;
}
if (!save("location"))
sl_reply_error();
exit;
}
Ensure that this block is being executed in your test. For that, add
some xlog here and there. Most probably there is some part of your
script that makes the above work not to be executed for your request.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>