[SR-Users] LCR database issues
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 9 10:45:12 CET 2010
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 at lists.sip-router.org
> [mailto:sr-users-bounces at lists.sip-router.org] *On Behalf Of *Lee Archer
> *Sent:* 08 November 2010 17:27
> *To:* sr-users at 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 at kam-3-1-s1 kamailio]# kamctl lcr show_gws
>
> ERROR: command disabled
>
> [root at kam-3-1-s1 kamailio]# kamctl lcr dump_gws
>
> ERROR: command disabled
>
> [root at kam-3-1-s1 kamailio]# kamctl lcr show_routes
>
> ERROR: command disabled
>
> [root at kam-3-1-s1 kamailio]# kamctl lcr dump_routes
>
> ERROR: command disabled
>
> [root at 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 at 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101109/8e7139ea/attachment.htm>
More information about the sr-users
mailing list