|
Hi, I'm new to OpenSIPS, set
up only load_balance
and REGISTER but I have a problem with the registration. returns error some users "Please send new Register with auth info 1000" i use mysql for register users if (is_method("REGISTER")) { if (!www_authorize("", "subscriber")) { if ($retcode < 0) { switch ($retcode) { case - 4: xlog("L_INFO", "Please send new Register with auth info $fU"); www_challenge("", "0"); exit; case - 2: xlog("L_INFO", "Wrong password for user $fU"); sl_send_reply("401", "Wrong password"); break; case - 1: xlog("L_INFO", "User doesnt exist $fU"); sl_send_reply("401", "User doesnt exist"); break; } } } if (!save("location")) { sl_send_reply("408", "Requeste timeout"); exit; } exit; } __________ Información de ESET Smart Security, versión de la base de firmas de virus 6438 (20110905) __________ ESET Smart Security ha comprobado este mensaje. http://www.eset.com |
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
