ok, thanks guys, I think I get it now. I will try using Henning's approach.
I thought that the "kamctl lcr show" calls "kamailio" with fifo
related parameters to load the values into memory. Some sort of "kamailio fifo lcr
reload" for example.
And I was looking to use that if possible instead of tweaking the "kamctl"
script.
txs a lot
jp
----- Original Message ----
From: Henning Westerholt <henning.westerholt(a)1und1.de>
To: users(a)lists.kamailio.org
Cc: Klaus Darilion <klaus.mailinglists(a)pernau.at>at>; Juan Perez
<jperezsip2008(a)yahoo.com>
Sent: Thursday, April 16, 2009 4:25:41 AM
Subject: Re: [Kamailio-Users] starting kamailio using kamailio binary
On Wednesday 15 April 2009, Klaus Darilion wrote:
I found a
prob, when using ODBC to access a MSSQL db the kamctl script
does not "reads" the content of that DB but the local mysql db. I would
like to know how I can use the command "kamctl lcr show" or "kamctl lcr
reload" now. Can I use the "kamailio" program for that? I tried several
ways it does not work, I haven't found the proper way yet. any help would
be highly appreciated
in /etc/kamailio/kamctlrc you can configure the DB ENGINE. I do not know
if odbc is supported to but you can try
Hi Klaus,
mysql on local host is the default for the kamctl script. There is no support
for ODBC in the ctl script yet. But it should not too hard to implement, one
could use the kamctl.psql and just replace the SQL command specific parts.
Cheers,
Henning