Definitely turned off:<br><br># ----- uri params -----<br>modparam("uri", "use_uri_table", 0)<br><br>But thanks for the comment, that helped me find exactly what the problem was and I fixed it.<br><br>-dg<br>
<br><br><div class="gmail_quote">On Thu, Dec 24, 2009 at 11:06 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;">
The db_check_from() (if use_uac_table is turned off) will simply check<br>
if the username from the FROM hdr is the same with the authentication<br>
username.<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
Daniel Goepp wrote:<br>
</div><div class="im">> Yes, the section in the script was not modified from the default, so<br>
> it is:<br>
><br>
> if (!(method=="REGISTER") && is_from_local()) /*multidomain<br>
> 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<br>
> query in my sql trace log showing a query for domain, and the domain<br>
> of the request is in memory and the DB. I did have an initial problem<br>
> where I was getting the "Preload Route denied", but I added the IP of<br>
> the server to the domain list, and that went away.<br>
><br>
> Thanks<br>
><br>
> -dg<br>
><br>
><br>
> On Thu, Dec 24, 2009 at 12:13 AM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div class="h5">> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>> wrote:<br>
><br>
> 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>
><br>
> Daniel Goepp wrote:<br>
> > I am having another issue with this latest version also, and I<br>
> 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?<br>
> This is<br>
> > a very very basic setup, pretty much out of the box. And ideas<br>
> about<br>
> > what boneheaded thing I have done here?<br>
> ><br>
> > Thanks<br>
><br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">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>
</div></div></blockquote></div><br>