<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Thank David,</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">But i found that in my opensips.cfg file:</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">&quot;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><i># ----- usrloc params -----<br></i></span><div><i><b># modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   0)</b></i></div>
<div><i>/* uncomment the following lines if you want to enable DB persistency</i></div><div><i>   for location entries */</i></div><div><i><b>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   2)</b></i></div><div><i>modparam(&quot;usrloc&quot;, &quot;db_url&quot;,</i></div>
<div><i><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)</i></div></div><div>&quot;</div><div>So i think that my &quot;db_mode&quot; is not the cause of my failed CP</div>
<div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; ">&quot; <i>2 - Write-Back scheme. This is a combination of previous two schemes. All changes are made to memory and database synchronization is done in the timer. The timer deletes all expired contacts and flushes all modified or new contacts to database. Use this scheme if you encounter high-load peaks and want them to process as fast as possible. The mode will not help at all if the load is high all the time. Also, latency of this mode is much lower than latency of mode 1, but slightly higher than latency of mode </i>0.&quot;</span></div>
<div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; "><br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; ">My CP still does  not work :-( , even the simple function like &quot;show online user&quot;  --- &quot;no data found&quot; </span></div>
<div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; ">(While checking by using opensipsctl is ok)</span></div><div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; "><div>
 <i>opensipsctl online</i></div><div><i>database engine &#39;MYSQL&#39; loaded</i></div><div><i>Control engine &#39;FIFO&#39; loaded</i></div><div><i>1001</i></div> </span></div><div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; ">Please tell me how to check my CP and its connection to Opensips server?</span></div><div>
<span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; "><br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; ">Thanks ! </span></div>
<div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; "><br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica, Arial; font-size: 12px; border-collapse: separate; "><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div>----------------------------------------------------------------------<br>
<br>Message: 1<br>Date: Tue, 22 Mar 2011 21:06:21 -0700<br>From: Dave Singer &lt;<a href="mailto:dave.singer@wideideas.com" style="color: rgb(20, 125, 186); ">dave.singer@wideideas.com</a>&gt;<br>Subject: Re: [OpenSIPS-Users] Opensips Control Pannel does not take<br>
       effect into Opensips Server<br>To: OpenSIPS users mailling list &lt;<a href="mailto:users@lists.opensips.org" style="color: rgb(20, 125, 186); ">users@lists.opensips.org</a>&gt;<br>Message-ID:<br>       &lt;AANLkTimB=bQZ1buVKaWzMKq2LM=<a href="mailto:UsLhEsAQWW%2BuFrrw7@mail.gmail.com" style="color: rgb(20, 125, 186); ">UsLhEsAQWW+uFrrw7@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br><br>The key I think is usrloc db mode is 0, which means db is not used.<br><a href="http://www.opensips.org/html/docs/modules/1.6.x/usrloc.html#id292029" target="_blank" style="color: rgb(20, 125, 186); ">http://www.opensips.org/html/docs/modules/1.6.x/usrloc.html#id292029</a><br>
<br>On Tue, Mar 22, 2011 at 6:47 PM, Duong Manh Truong<br>&lt;<a href="mailto:ngoahotanglongbk@gmail.com" style="color: rgb(20, 125, 186); ">ngoahotanglongbk@gmail.com</a>&gt; wrote:<br>&gt; Dear Dave!<br>&gt; Thanks for your help.<br>
&gt; I&#39;ve checked the opensips.cfg again but i still can not find out what stuff<br>&gt; is incorrect ! :-(<br>&gt; I attached my config file in this email, hope that will help my problem to<br>&gt; be?clearer!<br>&gt; If anyone has had the same issue, please tell me how can i check or fix it.<br>
&gt; (Hope to receive relatively specific informations)<br>&gt; Thanks and Best Regards.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Date: Mon, 21 Mar 2011 08:45:03 -0700<br>&gt; From: Dave Singer &lt;<a href="mailto:dave.singer@wideideas.com" style="color: rgb(20, 125, 186); ">dave.singer@wideideas.com</a>&gt;<br>
&gt; Subject: Re: [OpenSIPS-Users] Opensips Control Pannel does not take<br>&gt; ? ? ? ?effect into Opensips Server<br>&gt; To: OpenSIPS users mailling list &lt;<a href="mailto:users@lists.opensips.org" style="color: rgb(20, 125, 186); ">users@lists.opensips.org</a>&gt;<br>
&gt; Message-ID:<br>&gt; ? ? ? ?&lt;<a href="mailto:AANLkTinGLDzzbUgJgQXOd_93r31hjnHAVAzPMo64K-MQ@mail.gmail.com" style="color: rgb(20, 125, 186); ">AANLkTinGLDzzbUgJgQXOd_93r31hjnHAVAzPMo64K-MQ@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=ISO-8859-1<br>&gt;<br>&gt; Duong,<br>&gt;<br>&gt; Some modules, like drouting, you have to click a reload module button<br>&gt; in the control pannel.<br>&gt; However, I think your problem is that you haven&#39;t implemented the<br>
&gt; needed stuff in opensips.cfg script.<br>&gt; CP only provides an interface to managing/accessing the databases<br>&gt; tables. You still have to impliment the logic in opensips.cfg.<br>&gt;<br>&gt; Dave<br>&gt;<br>&gt; On Sat, Mar 19, 2011 at 3:04 AM, Duong Manh Truong<br>
&gt; &lt;<a href="mailto:ngoahotanglongbk@gmail.com" style="color: rgb(20, 125, 186); ">ngoahotanglongbk@gmail.com</a>&gt; wrote:<br>&gt;&gt; Hi all,<br>&gt;&gt; I have followed all instructions about Opensips CP installations<br>
&gt;&gt; After done all configurations, the Web interface is appeared<br>&gt;&gt; but unfortunately, when i use modules in this interfaces, it seems there<br>&gt;&gt; is<br>&gt;&gt; no connection between Opensips CP and Opensips Server Core!<br>
&gt;&gt; Take add/manage users module as an example: I registered user 1001, then i<br>&gt;&gt; selected this module to show online users<br>&gt;&gt; =&gt; But the result was &quot;no data found&quot; :-(<br>&gt;&gt; I&#39;ve created opensips database, correctly insert parameters to opensips CP<br>
&gt;&gt; config files (including mysql user/pass to connect to opensips database)<br>&gt;&gt; No error found !<br>&gt;&gt; But i still can not use Opensips CP, someone help me to figure out why<br>&gt;&gt; Opensips CP has no effect ??<br>
&gt;&gt; Do i misconfig ?(or forget to config) some important parameters to make<br>&gt;&gt; Opensips CP connect properly to Opensips Server Core?<br>&gt;&gt; (Something likes authentications........etc)<br>&gt;&gt; Thanks a lot!<br>
&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list<br>&gt;&gt;?<a href="mailto:Users@lists.opensips.org" style="color: rgb(20, 125, 186); ">Users@lists.opensips.org</a><br>&gt;&gt;?<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" style="color: rgb(20, 125, 186); ">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@lists.opensips.org" style="color: rgb(20, 125, 186); ">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" style="color: rgb(20, 125, 186); ">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br>&gt;</span>