Hello,
if you put the sql to create the table
in share/kamailio/mysql/customtable-create.sql
then you can run:
kamdbctl add-tables customtable
This has to be done after the kamdbctl
create command.
If you plan for long term, also taking
in consideration the option to add management of customtable
records in the cli, I can recommend to look at kamcli:
It can also create the customtable
using:
kamcli db create-tables-group
customtable
The 'kamcli db' offers what old
'kamdbctl' and 'kamctl db ...' do.
But then you can just add your own
python file in 'kamcli/commands/cmd_customtable.py' to manage
records in that table (for example, you can use cmd_aliasdb.py as
a starting point).
Cheers,
Daniel