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