[Kamailio-Devel] [ openser-Bugs-2794168 ] "kamctl" doesn't reflect CarrierRoute table changes

SourceForge.net noreply at sourceforge.net
Wed May 20 15:57:03 CEST 2009


Bugs item #2794168, was opened at 2009-05-20 01:59
Message generated for change (Settings changed) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2794168&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Henning Westerholt (henningw)
Summary: "kamctl" doesn't reflect CarrierRoute table changes

Initial Comment:
Trying to use CarrierRoute module, start to populate the tables, but got errors using 'kamctl' script.

I run the script in a clean installation (SVN 5842) and got the following:

Kamailio-151:/etc/kamailio # kamdbctl reinit kamailio
 MySQL password for root:
 INFO: Database kamailio deleted
 INFO: test server charset
 INFO: creating database kamailio ...
 INFO: Core Kamailio tables succesfully created.
 Install presence related tables? (y/n): y
 INFO: creating presence tables into kamailio ...
 INFO: Presence tables succesfully created.
 Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist
 htable purple? (y/n): y
 INFO: creating extra tables into kamailio ...
 INFO: Extra tables succesfully created.
 Kamailio-151:/etc/kamailio # kamctl cr addrt 0 'XXXX'
 ERROR 1146 (42S02) at line 1: Table 'kamailio.route_tree' doesn't exist
 ERROR: cr - SQL Error
 Kamailio-151:/etc/kamailio #

As stated by Ovidiu, seams that 'kamctl' and the related backend 'kamdbctl' script weren't updated to reflect the Carrier Route DB changes.

Edson.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-05-20 13:47

Message:
Hi, Henning,

Just upgraded to SVN 5845 and tested.... works as expected....

Danke,
   Edson.

----------------------------------------------------------------------

Comment By: Henning Westerholt (henningw)
Date: 2009-05-20 08:50

Message:
Hi Edson,

thanks for the report. Yes, the kamctl command was not updated after the
changes for 1.5.x. I've did a bunch of fixes on branch 1.5, would be great
if you could test if its works for you now.

Cheers,
Henning

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2794168&group_id=139143



More information about the Devel mailing list