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