<div dir="ltr">Hi, <br><br>I am getting the following error when making call from one sip phone to another:<br><br>Oct 20 05:09:08 [19087] ERROR:uri_db:check_username: No authorized credentials found (error in scripts)<br>
Oct 20 05:09:08 [19087] ERROR:uri_db:check_username: Call {www,proxy}_authorize before calling check_* functions!<br><br><br>Using xlog, I found that the following code is causing the problem. As one can see, I did call proxy_authorize before check_from. I don't understand why it is still giving error. The only thing I did differently is that I used my custom table to authenticate. Does anyone know what may be cause these errors?<br>
<br><br> if (!proxy_authorize("","agent")) {<br><br> proxy_challenge("","1");<br><br> exit;<br> } else if (!check_from()) {<br>
<br> sl_send_reply("403", "Forbidden, use From=ID");<br> exit;<br> };<br><br><br>Thanks a million for all your help in advance.<br><br>Mark<br></div>