/usr/share/kamailio/mysql/rtpengine-create.sql is in kamailio-mysql-modules 5.1.2-1ubuntu2.
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 | CREATE TABLE `rtpengine` (
`id` INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
`setid` INT(10) UNSIGNED DEFAULT 0 NOT NULL,
`url` VARCHAR(64) NOT NULL,
`weight` INT(10) UNSIGNED DEFAULT 1 NOT NULL,
`disabled` INT(1) DEFAULT 0 NOT NULL,
`stamp` DATETIME DEFAULT '1900-01-01 00:00:01' NOT NULL,
CONSTRAINT rtpengine_nodes UNIQUE (`setid`, `url`)
);
INSERT INTO version (table_name, table_version) values ('rtpengine','1');
|