[OpenSIPS-Users] Opensips Control Pannel does not take effect into Opensips Server
dave.singer at wideideas.com
Wed Mar 23 20:50:46 CET 2011
Yea missed that. :-)
To check basic CP connection to opensips, go to System, MI Commands.
In box under Execute MI Command, put "ps" and click "execute". It
should show a bunch of lines about the opensips processes that are
As far as showing Online Users, it may be using presence module/table
rather than active registrations to qualify a user as "online".
Someone else will have to answer that or you can look at the CP source
code for that answer.
On Wed, Mar 23, 2011 at 12:35 PM, Duong Manh Truong
<ngoahotanglongbk at gmail.com> wrote:
> Thank David,
> But i found that in my opensips.cfg file:
> # ----- usrloc params -----
> # modparam("usrloc", "db_mode", 0)
> /* uncomment the following lines if you want to enable DB persistency
> for location entries */
> modparam("usrloc", "db_mode", 2)
> modparam("usrloc", "db_url",
> So i think that my "db_mode" is not the cause of my failed CP
> " 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 0."
> My CP still does not work :-( , even the simple function like "show online
> user" --- "no data found"
> (While checking by using opensipsctl is ok)
> opensipsctl online
> database engine 'MYSQL' loaded
> Control engine 'FIFO' loaded
> Please tell me how to check my CP and its connection to Opensips server?
> Thanks !
> Message: 1
> Date: Tue, 22 Mar 2011 21:06:21 -0700
> From: Dave Singer <dave.singer at wideideas.com>
> Subject: Re: [OpenSIPS-Users] Opensips Control Pannel does not take
> effect into Opensips Server
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> <AANLkTimB=bQZ1buVKaWzMKq2LM=UsLhEsAQWW+uFrrw7 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> The key I think is usrloc db mode is 0, which means db is not used.
> On Tue, Mar 22, 2011 at 6:47 PM, Duong Manh Truong
> <ngoahotanglongbk at gmail.com> wrote:
>> Dear Dave!
>> Thanks for your help.
>> I've checked the opensips.cfg again but i still can not find out what
>> is incorrect ! :-(
>> I attached my config file in this email, hope that will help my problem to
>> If anyone has had the same issue, please tell me how can i check or fix
>> (Hope to receive relatively specific informations)
>> Thanks and Best Regards.
>> Date: Mon, 21 Mar 2011 08:45:03 -0700
>> From: Dave Singer <dave.singer at wideideas.com>
>> Subject: Re: [OpenSIPS-Users] Opensips Control Pannel does not take
>> ? ? ? ?effect into Opensips Server
>> To: OpenSIPS users mailling list <users at lists.opensips.org>
>> ? ? ? ?<AANLkTinGLDzzbUgJgQXOd_93r31hjnHAVAzPMo64K-MQ at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>> Some modules, like drouting, you have to click a reload module button
>> in the control pannel.
>> However, I think your problem is that you haven't implemented the
>> needed stuff in opensips.cfg script.
>> CP only provides an interface to managing/accessing the databases
>> tables. You still have to impliment the logic in opensips.cfg.
>> On Sat, Mar 19, 2011 at 3:04 AM, Duong Manh Truong
>> <ngoahotanglongbk at gmail.com> wrote:
>>> Hi all,
>>> I have followed all instructions about Opensips CP installations
>>> After done all configurations, the Web interface is appeared
>>> but unfortunately, when i use modules in this interfaces, it seems there
>>> no connection between Opensips CP and Opensips Server Core!
>>> Take add/manage users module as an example: I registered user 1001, then
>>> selected this module to show online users
>>> => But the result was "no data found" :-(
>>> I've created opensips database, correctly insert parameters to opensips
>>> config files (including mysql user/pass to connect to opensips database)
>>> No error found !
>>> But i still can not use Opensips CP, someone help me to figure out why
>>> Opensips CP has no effect ??
>>> Do i misconfig ?(or forget to config) some important parameters to make
>>> Opensips CP connect properly to Opensips Server Core?
>>> (Something likes authentications........etc)
>>> Thanks a lot!
>>> Users mailing list
>>>?Users at lists.opensips.org
>> Users mailing list
>> Users at lists.opensips.org
> Users mailing list
> Users at lists.opensips.org
More information about the Users