[Kamailio-Devel] Bugs on "kamctl" related to CR???

Edson - Lists 4lists at gmail.com
Tue May 19 22:29:37 CEST 2009


Forgot to mention:
  OpenSUSE 11.1;
  Kamailio SVN v.5248M (just updated to confirm behavior)

Edson.

Edson - Lists escreveu:
> Hi, Guys...
> 
> After some tests, I realize that CarrierRoute will feet better on we 
> want to do, but when trying to include a carrier, I got:
> 
>    # kamctl cr addrt 1 XXXX
>    ERROR 1146 (42S02) at line 1: Table 'kamailio.route_tree' doesn't exist
>    ERROR: cr - SQL Error
> 
> Then I try to include a route by hand with the commands:
> 
>    INSERT INTO carrier_name (carrier) VALUES ("default");
>    INSERT INTO domain_name (domain) VALUES ("default");
>    INSERT INTO carrierroute 
> (carrier,domain,scan_prefix,flags,mask,prob,strip,rewrite_host,rewrite_prefix,rewrite_suffix,description) 
> 
>                       
> VALUES("1","1","1000","0","0","1","0","PEER-01","","","FRANCE");
> 
> And try to see the results, but I got:
> 
>    # kamctl cr show
>    cr routing tree
>    ERROR 1146 (42S02) at line 1: Table 'kamailio.route_tree' doesn't exist
>    cr routes
> 
> Now is this resulting from bug(s) in the "kamctl" script or from wrong 
> definitions on the "kamctlrc" file?
> 
> Edson.
> 
> 



More information about the Devel mailing list