hello
when using kamctl to start/stop kamailio it also provides a lot more "functions" like "kamctl lcr show", "kamctl ul show", etc. If I start kamailio using kamailio -f "path to my config" etc how can I have the same functionalities?
regards
jp
Kamctl communicates with Kamailio through a manager interface (MI) FIFO socket. It is possible to perform these functions with kamctl no matter how Kamailio was started, as long as it is running.
Juan Perez wrote:
hello
when using kamctl to start/stop kamailio it also provides a lot more "functions" like "kamctl lcr show", "kamctl ul show", etc. If I start kamailio using kamailio -f "path to my config" etc how can I have the same functionalities?
regards
jp
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On 04/09/2009 12:53 AM, Alex Balashov wrote:
Kamctl communicates with Kamailio through a manager interface (MI) FIFO socket. It is possible to perform these functions with kamctl no matter how Kamailio was started, as long as it is running.
... as long as it is running and in the config you have fifo file /tmp/kamailio_fifo set for mi_fifo module.
Cheers, Daniel
Juan Perez wrote:
hello
when using kamctl to start/stop kamailio it also provides a lot more "functions" like "kamctl lcr show", "kamctl ul show", etc. If I start kamailio using kamailio -f "path to my config" etc how can I have the same functionalities?
regards
jp
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
thank you daniel cheers jp
----- Original Message ---- From: Daniel-Constantin Mierla miconda@gmail.com To: Juan Perez jperezsip2008@yahoo.com Cc: kamailio users@lists.kamailio.org Sent: Thursday, April 9, 2009 2:48:47 AM Subject: Re: [Kamailio-Users] starting kamailio using kamailio binary
On 04/09/2009 12:53 AM, Alex Balashov wrote:
Kamctl communicates with Kamailio through a manager interface (MI) FIFO socket. It is possible to perform these functions with kamctl no matter how Kamailio was started, as long as it is running.
.... as long as it is running and in the config you have fifo file /tmp/kamailio_fifo set for mi_fifo module.
Cheers, Daniel
Juan Perez wrote:
hello
when using kamctl to start/stop kamailio it also provides a lot more "functions" like "kamctl lcr show", "kamctl ul show", etc. If I start kamailio using kamailio -f "path to my config" etc how can I have the same functionalities?
regards
jp
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com/
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
cheers jp
----- Original Message ---- From: Daniel-Constantin Mierla miconda@gmail.com To: Juan Perez jperezsip2008@yahoo.com Cc: kamailio users@lists.kamailio.org Sent: Thursday, April 9, 2009 2:48:47 AM Subject: Re: [Kamailio-Users] starting kamailio using kamailio binary
On 04/09/2009 12:53 AM, Alex Balashov wrote:
Kamctl communicates with Kamailio through a manager interface (MI) FIFO socket. It is possible to perform these functions with kamctl no matter how Kamailio was started, as long as it is running.
.... as long as it is running and in the config you have fifo file /tmp/kamailio_fifo set for mi_fifo module.
Cheers, Daniel
Juan Perez wrote:
hello
when using kamctl to start/stop kamailio it also provides a lot more "functions" like "kamctl lcr show", "kamctl ul show", etc. If I start kamailio using kamailio -f "path to my config" etc how can I have the same functionalities?
regards
jp
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com/
Juan Perez 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
klaus
cheers jp
----- Original Message ---- From: Daniel-Constantin Mierla miconda@gmail.com To: Juan Perez jperezsip2008@yahoo.com Cc: kamailio users@lists.kamailio.org Sent: Thursday, April 9, 2009 2:48:47 AM Subject: Re: [Kamailio-Users] starting kamailio using kamailio binary
On 04/09/2009 12:53 AM, Alex Balashov wrote:
Kamctl communicates with Kamailio through a manager interface (MI) FIFO socket. It is possible to perform these functions with kamctl no matter how Kamailio was started, as long as it is running.
.... as long as it is running and in the config you have fifo file /tmp/kamailio_fifo set for mi_fifo module.
Cheers, Daniel
Juan Perez wrote:
hello
when using kamctl to start/stop kamailio it also provides a lot more "functions" like "kamctl lcr show", "kamctl ul show", etc. If I start kamailio using kamailio -f "path to my config" etc how can I have the same functionalities?
regards
jp
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com/
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
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
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@1und1.de To: users@lists.kamailio.org Cc: Klaus Darilion klaus.mailinglists@pernau.at; Juan Perez jperezsip2008@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