<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; ">"</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("usrloc", "db_mode", 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("usrloc", "db_mode", 2)</b></i></div><div><i>modparam("usrloc", "db_url",</i></div>
<div><i><span class="Apple-tab-span" style="white-space:pre">        </span>"mysql://opensips:opensipsrw@localhost/opensips")</i></div></div><div>"</div><div>So i think that my "db_mode" 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; ">" <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."</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 "show online user" --- "no data found" </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 'MYSQL' loaded</i></div><div><i>Control engine 'FIFO' 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 <<a href="mailto:dave.singer@wideideas.com" style="color: rgb(20, 125, 186); ">dave.singer@wideideas.com</a>><br>Subject: Re: [OpenSIPS-Users] Opensips Control Pannel does not take<br>
effect into Opensips Server<br>To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" style="color: rgb(20, 125, 186); ">users@lists.opensips.org</a>><br>Message-ID:<br> <AANLkTimB=bQZ1buVKaWzMKq2LM=<a href="mailto:UsLhEsAQWW%2BuFrrw7@mail.gmail.com" style="color: rgb(20, 125, 186); ">UsLhEsAQWW+uFrrw7@mail.gmail.com</a>><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><<a href="mailto:ngoahotanglongbk@gmail.com" style="color: rgb(20, 125, 186); ">ngoahotanglongbk@gmail.com</a>> wrote:<br>> Dear Dave!<br>> Thanks for your help.<br>
> I've checked the opensips.cfg again but i still can not find out what stuff<br>> is incorrect ! :-(<br>> I attached my config file in this email, hope that will help my problem to<br>> be?clearer!<br>> If anyone has had the same issue, please tell me how can i check or fix it.<br>
> (Hope to receive relatively specific informations)<br>> Thanks and Best Regards.<br>><br>><br>><br>> Date: Mon, 21 Mar 2011 08:45:03 -0700<br>> From: Dave Singer <<a href="mailto:dave.singer@wideideas.com" style="color: rgb(20, 125, 186); ">dave.singer@wideideas.com</a>><br>
> Subject: Re: [OpenSIPS-Users] Opensips Control Pannel does not take<br>> ? ? ? ?effect into Opensips Server<br>> To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" style="color: rgb(20, 125, 186); ">users@lists.opensips.org</a>><br>
> Message-ID:<br>> ? ? ? ?<<a href="mailto:AANLkTinGLDzzbUgJgQXOd_93r31hjnHAVAzPMo64K-MQ@mail.gmail.com" style="color: rgb(20, 125, 186); ">AANLkTinGLDzzbUgJgQXOd_93r31hjnHAVAzPMo64K-MQ@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=ISO-8859-1<br>><br>> Duong,<br>><br>> Some modules, like drouting, you have to click a reload module button<br>> in the control pannel.<br>> However, I think your problem is that you haven't implemented the<br>
> needed stuff in opensips.cfg script.<br>> CP only provides an interface to managing/accessing the databases<br>> tables. You still have to impliment the logic in opensips.cfg.<br>><br>> Dave<br>><br>> On Sat, Mar 19, 2011 at 3:04 AM, Duong Manh Truong<br>
> <<a href="mailto:ngoahotanglongbk@gmail.com" style="color: rgb(20, 125, 186); ">ngoahotanglongbk@gmail.com</a>> wrote:<br>>> Hi all,<br>>> I have followed all instructions about Opensips CP installations<br>
>> After done all configurations, the Web interface is appeared<br>>> but unfortunately, when i use modules in this interfaces, it seems there<br>>> is<br>>> no connection between Opensips CP and Opensips Server Core!<br>
>> Take add/manage users module as an example: I registered user 1001, then i<br>>> selected this module to show online users<br>>> => But the result was "no data found" :-(<br>>> I've created opensips database, correctly insert parameters to opensips CP<br>
>> config files (including mysql user/pass to connect to opensips database)<br>>> No error found !<br>>> But i still can not use Opensips CP, someone help me to figure out why<br>>> Opensips CP has no effect ??<br>
>> Do i misconfig ?(or forget to config) some important parameters to make<br>>> Opensips CP connect properly to Opensips Server Core?<br>>> (Something likes authentications........etc)<br>>> Thanks a lot!<br>
>> _______________________________________________<br>>> Users mailing list<br>>>?<a href="mailto:Users@lists.opensips.org" style="color: rgb(20, 125, 186); ">Users@lists.opensips.org</a><br>>>?<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>
>><br>>><br>><br>><br>><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@lists.opensips.org" style="color: rgb(20, 125, 186); ">Users@lists.opensips.org</a><br>
> <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>><br>></span>