/usr/share/kamailio/postgres/rtpengine-create.sql is in kamailio-postgres-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 SERIAL PRIMARY KEY NOT NULL,
setid INTEGER DEFAULT 0 NOT NULL,
url VARCHAR(64) NOT NULL,
weight INTEGER DEFAULT 1 NOT NULL,
disabled INTEGER DEFAULT 0 NOT NULL,
stamp TIMESTAMP WITHOUT TIME ZONE DEFAULT '1900-01-01 00:00:01' NOT NULL,
CONSTRAINT rtpengine_rtpengine_nodes UNIQUE (setid, url)
);
INSERT INTO version (table_name, table_version) values ('rtpengine','1');
|