[Serusers] check_from not work
Jan Janak
jan at iptel.org
Sun Mar 28 20:41:03 CEST 2004
You should first call www_authorize or proxy_authorize to authorize the
caller. check_from compares the username in From with the username in
digest credentials and the comparison makes no sense if you do not
verify the credentials first.
Jan.
On 26-03 11:35, Raymond Chen wrote:
> Dear all,
>
>
>
> We have configured Ser to check from username field to authorize user
> ??unknown??
>
>
>
> if (!check_from()) {
>
> sl_send_reply("403", "Only registered users are
> allowed");
>
> break;
>
> };
>
>
>
> We have error message
>
>
>
> 0(2568) check_username(): No authorized credentials found (error in scripts)
>
> 0(2568) check_username(): Call {www,proxy}_authorize before
> calling check_* function !
>
>
>
> We have ??unknown?? username entry in uri table.
>
>
>
>
>
> Regards
>
>
>
>
>
> We use
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list