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(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com