Thanks Iñaki...

xlog seems to help a lot, by the way, it's quite confusing where to put the
xlog sentences within the script...working on that :)


2011/2/6 Iñaki Baz Castillo <i...@aliax.net>

> 2011/2/3 Danny Dias <ing.diasda...@gmail.com>:
> >         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
> <i...@aliax.net>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to