[SR-Users] exit after www_challenge

PICCORO McKAY Lenz mckaygerhard at gmail.com
Tue Oct 8 17:07:44 CEST 2019


i have the code with an exit, i dont know if are correct that "exit"
in that line? or not? help me please?

# authenticate the REGISTER requests (uncomment to enable auth)
#!ifdef WITH_ASTERISK
if (!www_authorize("$td", "sipusers"))
#!else
if (!www_authorize("$td", "subscriber"))
#!endif
{
www_challenge("$td", "0");
exit;
}

if ($au!=$tU)
{
sl_send_reply("403","Forbidden auth ID");
exit;
}
consume_credentials();


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com



More information about the sr-users mailing list