/usr/share/kamailio/mysql/dialplan-create.sql is in kamailio-mysql-modules 4.4.4-2+deb9u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | CREATE TABLE `dialplan` (
`id` INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
`dpid` INT(11) NOT NULL,
`pr` INT(11) NOT NULL,
`match_op` INT(11) NOT NULL,
`match_exp` VARCHAR(64) NOT NULL,
`match_len` INT(11) NOT NULL,
`subst_exp` VARCHAR(64) NOT NULL,
`repl_exp` VARCHAR(64) NOT NULL,
`attrs` VARCHAR(64) NOT NULL
);
INSERT INTO version (table_name, table_version) values ('dialplan','2');
|