<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt">Hi Christian, <br><br>load and configure "auth_db" and "auth" modules. Then use these function:&nbsp; proxy_authorize() and www_authorize()<br>see these:<br><a href="http://www.opensips.org/html/docs/modules/devel/auth_db.html#id250229">http://www.opensips.org/html/docs/modules/devel/auth_db.html#id250229</a><br><br>And chapter 5 of book "Building Telephony Systems with OpenSIPS 1.6"<br><div><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>// Binan.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial">
 <hr size="1">  <b><span style="font-weight:bold;">Från:</span></b> Christian Cambier &lt;cca@voxtron.com&gt;<br> <b><span style="font-weight: bold;">Till:</span></b> OpenSIPS users mailling list &lt;users@lists.opensips.org&gt; <br><b><span style="font-weight: bold;">Kopia:</span></b> Christian Cambier &lt;cca@voxtron.com&gt; <br> <b><span style="font-weight: bold;">Skickat:</span></b> måndag, 19 november 2012 19:52<br> <b><span style="font-weight: bold;">Ämne:</span></b> [OpenSIPS-Users] OpenSIPS not using mysql DB??<br> </font> </div> <br>
<div id="yiv1177481870">


 
 
<style>
<!--
#yiv1177481870  
 _filtered #yiv1177481870 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv1177481870 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv1177481870 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1177481870  
#yiv1177481870 p.yiv1177481870MsoNormal, #yiv1177481870 li.yiv1177481870MsoNormal, #yiv1177481870 div.yiv1177481870MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
#yiv1177481870 a:link, #yiv1177481870 span.yiv1177481870MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1177481870 a:visited, #yiv1177481870 span.yiv1177481870MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1177481870 p.yiv1177481870MsoAcetate, #yiv1177481870 li.yiv1177481870MsoAcetate, #yiv1177481870 div.yiv1177481870MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
#yiv1177481870 span.yiv1177481870EmailStyle17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
#yiv1177481870 span.yiv1177481870BalloonTextChar
        {font-family:"Tahoma", "sans-serif";}
#yiv1177481870 .yiv1177481870MsoChpDefault
        {}
 _filtered #yiv1177481870 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv1177481870 div.yiv1177481870Section1
        {}
-->
</style>



<div>

<div class="yiv1177481870Section1">

<div class="yiv1177481870MsoNormal"><span style="font-family:&quot;Arial&quot;, &quot;sans-serif&quot;;color:black;">Hi.<br>
<br>
Using 2 soft-SipPhones I specify the IP-address of my OpenSIPS proxy and manage
to register 2 users that I created using the OpenSIPS control panel<br>
The users can call each other and everything, logging/traces on the proxy clearly
show the traffic between the 2 users <br>
<br>
Now the strange thing is that if I change the extension number to a number that
doesn't correspond to any user in the DB, not only does the registration
process succeed, but that user can make&nbsp;successful&nbsp;calls as well.<br>
<br>
It is as if my proxy is not using the opensips DB?<br>
<br>
How to make sure that the mysql db is used?<br>
<br>
thx</span></div> 

</div>

</div>


</div><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" 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> </div> </div>  </div></body></html>