/usr/share/kamailio/mysql/uac-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 14 15 16 17 18 | CREATE TABLE `uacreg` (
`id` INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
`l_uuid` VARCHAR(64) DEFAULT '' NOT NULL,
`l_username` VARCHAR(64) DEFAULT '' NOT NULL,
`l_domain` VARCHAR(128) DEFAULT '' NOT NULL,
`r_username` VARCHAR(64) DEFAULT '' NOT NULL,
`r_domain` VARCHAR(128) DEFAULT '' NOT NULL,
`realm` VARCHAR(64) DEFAULT '' NOT NULL,
`auth_username` VARCHAR(64) DEFAULT '' NOT NULL,
`auth_password` VARCHAR(64) DEFAULT '' NOT NULL,
`auth_proxy` VARCHAR(64) DEFAULT '' NOT NULL,
`expires` INT DEFAULT 0 NOT NULL,
`flags` INT DEFAULT 0 NOT NULL,
`reg_delay` INT DEFAULT 0 NOT NULL,
CONSTRAINT l_uuid_idx UNIQUE (`l_uuid`)
);
INSERT INTO version (table_name, table_version) values ('uacreg','2');
|