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

Ovidiu Sas osas at voipembedded.com
Tue May 19 22:38:13 CEST 2009


This is a question for users, not for devel.
Please install the extra tables via kamdbctl.
Take a look also at /etc/kamailio/kamctlrc where the extra tables are defined.


Regards,
Ovidiu Sas

On Tue, May 19, 2009 at 4:25 PM, Edson - Lists <4lists at gmail.com> wrote:
> 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.
>
>
> _______________________________________________
> Kamailio (OpenSER) - Devel mailing list
> Devel at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list