Anyone any idea why these are reporting command disabled?
Regards
Lee
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Lee Archer Sent: 08 November 2010 17:27 To: sr-users@lists.sip-router.org Subject: [SR-Users] LCR database issues
Hi, I have kamailio configured to get it's LCR info from a mysql database but when I try to get this info from the command line I am told the command is disabled. Why is this?
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
lcr show_gws....... show database gateways
lcr show_routes.... show database routes
lcr dump_gws....... show in memory gateways
lcr dump_routes.... show in memory routes
lcr reload ........ reload lcr gateways and routes
lcr eval_weights .. evaluates probability for given GW's weights
[root@kam-3-1-s1 kamailio]# kamctl lcr reload
ERROR: command disabled
Regards
Lee
On 11/9/10 10:29 AM, Lee Archer wrote:
Anyone any idea why these are reporting command disabled?
The commands were disabled because the lcr database structure changed completely in 3.1 and the kamctl lcr commands were no longer valid. None of lcr devs/users added a version to work with latest structure, so I disabled them (you can search sr-dev mailing list archive to read the discussion).
Juha suggested that because there are many tables and columns to write in, a command line approach will not scale. So the option is to use siremis 2.0 to manage lcr rules. There is however one lcr related command in kamctl that computes for you probability numbers. As I am not a user of lcr module, I cannot help more in this aspect, but we will accept any contribution to kamctl that will make provisioning of lcr work again. Also improvements to siremis for lcr (and not only) are welcome.
Cheers, Daniel
Regards
Lee
*From:*sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of *Lee Archer *Sent:* 08 November 2010 17:27 *To:* sr-users@lists.sip-router.org *Subject:* [SR-Users] LCR database issues
Hi, I have kamailio configured to get it's LCR info from a mysql database but when I try to get this info from the command line I am told the command is disabled. Why is this?
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
lcr show_gws....... show database gateways
lcr show_routes.... show database routes
lcr dump_gws....... show in memory gateways
lcr dump_routes.... show in memory routes
lcr reload ........ reload lcr gateways and routes
lcr eval_weights .. evaluates probability for given GW's weights
[root@kam-3-1-s1 kamailio]# kamctl lcr reload
ERROR: command disabled
Regards
Lee
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thanks for the reply. Can I suggest that instead of displaying the value 0 as blank the interface actually displays 0?
Regards
Lee
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 09 November 2010 09:45 To: Lee Archer Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] LCR database issues
On 11/9/10 10:29 AM, Lee Archer wrote:
Anyone any idea why these are reporting command disabled?
The commands were disabled because the lcr database structure changed completely in 3.1 and the kamctl lcr commands were no longer valid. None of lcr devs/users added a version to work with latest structure, so I disabled them (you can search sr-dev mailing list archive to read the discussion).
Juha suggested that because there are many tables and columns to write in, a command line approach will not scale. So the option is to use siremis 2.0 to manage lcr rules. There is however one lcr related command in kamctl that computes for you probability numbers. As I am not a user of lcr module, I cannot help more in this aspect, but we will accept any contribution to kamctl that will make provisioning of lcr work again. Also improvements to siremis for lcr (and not only) are welcome.
Cheers, Daniel
Regards
Lee
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Lee Archer Sent: 08 November 2010 17:27 To: sr-users@lists.sip-router.org Subject: [SR-Users] LCR database issues
Hi, I have kamailio configured to get it's LCR info from a mysql database but when I try to get this info from the command line I am told the command is disabled. Why is this?
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
lcr show_gws....... show database gateways
lcr show_routes.... show database routes
lcr dump_gws....... show in memory gateways
lcr dump_routes.... show in memory routes
lcr reload ........ reload lcr gateways and routes
lcr eval_weights .. evaluates probability for given GW's weights
[root@kam-3-1-s1 kamailio]# kamctl lcr reload
ERROR: command disabled
Regards
Lee
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On 11/9/10 12:31 PM, Lee Archer wrote:
Thanks for the reply. Can I suggest that instead of displaying the value 0 as blank the interface actually displays 0?
You talk here about siremis, like you wrote in another email? Or is still about the lcr commands in kamctl?
Cheers, Daniel
Regards
Lee
*From:*Daniel-Constantin Mierla [mailto:miconda@gmail.com] *Sent:* 09 November 2010 09:45 *To:* Lee Archer *Cc:* sr-users@lists.sip-router.org *Subject:* Re: [SR-Users] LCR database issues
On 11/9/10 10:29 AM, Lee Archer wrote:
Anyone any idea why these are reporting command disabled?
The commands were disabled because the lcr database structure changed completely in 3.1 and the kamctl lcr commands were no longer valid. None of lcr devs/users added a version to work with latest structure, so I disabled them (you can search sr-dev mailing list archive to read the discussion).
Juha suggested that because there are many tables and columns to write in, a command line approach will not scale. So the option is to use siremis 2.0 to manage lcr rules. There is however one lcr related command in kamctl that computes for you probability numbers. As I am not a user of lcr module, I cannot help more in this aspect, but we will accept any contribution to kamctl that will make provisioning of lcr work again. Also improvements to siremis for lcr (and not only) are welcome.
Cheers, Daniel
Regards
Lee
*From:*sr-users-bounces@lists.sip-router.org mailto:sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of *Lee Archer *Sent:* 08 November 2010 17:27 *To:* sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org *Subject:* [SR-Users] LCR database issues
Hi, I have kamailio configured to get it's LCR info from a mysql database but when I try to get this info from the command line I am told the command is disabled. Why is this?
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
lcr show_gws....... show database gateways
lcr show_routes.... show database routes
lcr dump_gws....... show in memory gateways
lcr dump_routes.... show in memory routes
lcr reload ........ reload lcr gateways and routes
lcr eval_weights .. evaluates probability for given GW's weights
[root@kam-3-1-s1 kamailio]# kamctl lcr reload
ERROR: command disabled
Regards
Lee
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://www.asipto.com
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Sorry, yes I am referring to Siremis. The web interface is great but I think mandatory values need to be highlighted somehow and columns with a value of 0 should display 0 when you edit them and not be blank.
Regards
Lee
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 10 November 2010 07:20 To: Lee Archer Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] LCR database issues
On 11/9/10 12:31 PM, Lee Archer wrote:
Thanks for the reply. Can I suggest that instead of displaying the value 0 as blank the interface actually displays 0?
You talk here about siremis, like you wrote in another email? Or is still about the lcr commands in kamctl?
Cheers, Daniel
Regards
Lee
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 09 November 2010 09:45 To: Lee Archer Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] LCR database issues
On 11/9/10 10:29 AM, Lee Archer wrote:
Anyone any idea why these are reporting command disabled?
The commands were disabled because the lcr database structure changed completely in 3.1 and the kamctl lcr commands were no longer valid. None of lcr devs/users added a version to work with latest structure, so I disabled them (you can search sr-dev mailing list archive to read the discussion).
Juha suggested that because there are many tables and columns to write in, a command line approach will not scale. So the option is to use siremis 2.0 to manage lcr rules. There is however one lcr related command in kamctl that computes for you probability numbers. As I am not a user of lcr module, I cannot help more in this aspect, but we will accept any contribution to kamctl that will make provisioning of lcr work again. Also improvements to siremis for lcr (and not only) are welcome.
Cheers, Daniel
Regards
Lee
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Lee Archer Sent: 08 November 2010 17:27 To: sr-users@lists.sip-router.org Subject: [SR-Users] LCR database issues
Hi, I have kamailio configured to get it's LCR info from a mysql database but when I try to get this info from the command line I am told the command is disabled. Why is this?
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_gws
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr dump_routes
ERROR: command disabled
[root@kam-3-1-s1 kamailio]# kamctl lcr show_gws
ERROR: command disabled
lcr show_gws....... show database gateways
lcr show_routes.... show database routes
lcr dump_gws....... show in memory gateways
lcr dump_routes.... show in memory routes
lcr reload ........ reload lcr gateways and routes
lcr eval_weights .. evaluates probability for given GW's weights
[root@kam-3-1-s1 kamailio]# kamctl lcr reload
ERROR: command disabled
Regards
Lee
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users