/usr/share/opensips/mysql/dialplan-create.sql is in opensips-mysql-module 2.2.2-3.
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 14 | INSERT INTO version (table_name, table_version) values ('dialplan','5');
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 CHAR(64) NOT NULL,
match_flags INT(11) NOT NULL,
subst_exp CHAR(64),
repl_exp CHAR(32),
timerec CHAR(255),
disabled INT(11) DEFAULT 0 NOT NULL,
attrs CHAR(32)
) ENGINE=InnoDB;
|