[OpenSIPS-Users] Opensips Registering non-existing users
Saúl Ibarra
saghul at gmail.com
Tue Jun 9 00:24:40 CEST 2009
[snip]
> if (is_method("REGISTER"))
> {
> # authenticate the REGISTER requests (uncomment to enable auth)
> if (!www_authorize("", "subscriber"))
> {
> www_challenge("", "0");
> exit;
> }
>
> if (!check_to())
> {
> sl_send_reply("403","Forbidden auth ID");
> exit;
> }
>
> if (!save("location"))
> sl_reply_error();
>
> exit;
> }
>
It looks good to me... try to put some xlogs aorund this section so
you can track the error...
BTW, have you restarted OpenSIPS?
--
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/
More information about the Users
mailing list