Yes, the section in the script was not modified from the default, so it is:<br><br> if (!(method=="REGISTER") && is_from_local()) /*multidomain version*/<br> {<br> if (!proxy_authorize("", "subscriber")) {<br>
proxy_challenge("", "0");<br> exit;<br> }<br> if (!db_check_from()) {<br> sl_send_reply("403","Forbidden auth ID");<br>
exit;<br> }<br> <br> consume_credentials();<br> # caller authenticated<br> }<br><br>I am thinking perhaps this is to do with the domain, I don't see a query in my sql trace log showing a query for domain, and the domain of the request is in memory and the DB. I did have an initial problem where I was getting the "Preload Route denied", but I added the IP of the server to the domain list, and that went away.<br>
<br>Thanks<br><br>-dg<br>
<br><br><div class="gmail_quote">On Thu, Dec 24, 2009 at 12:13 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Daniel,<br>
<br>
The auth part is not sending by itself a 403 -> probably this is<br>
explicitly sent from the script, so you need to check what function is<br>
failing triggering the 403 in script -> is it the db_check_to() ?<br>
<br>
Regards,<br>
Bogdan<br>
<div><div></div><div class="h5"><br>
Daniel Goepp wrote:<br>
> I am having another issue with this latest version also, and I believe<br>
> it could perhaps be related to my last post. Very straight forward<br>
> here, I have just two users on this new lab system.<br>
><br>
> The problem:<br>
><br>
> First register comes in, challenged with 401 no problem, then a<br>
> register with auth header, which is responded to with:<br>
><br>
> SIP/2.0 403 Forbidden auth ID.<br>
><br>
> I did an SQL trace, and the query is select password from subscriber<br>
> where username='2001':<br>
><br>
> When I execute manually, no problem:<br>
><br>
> mysql> select password from subscriber where username='2001';<br>
> +----------+<br>
> | password |<br>
> +----------+<br>
> | 2001 |<br>
> +----------+<br>
><br>
> Did something change recently regarding how users are auth'd? This is<br>
> a very very basic setup, pretty much out of the box. And ideas about<br>
> what boneheaded thing I have done here?<br>
><br>
> Thanks<br>
><br>
> -dg<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>