/usr/share/opensips/postgres/dialplan-create.sql is in opensips-postgres-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 15 16 | INSERT INTO version (table_name, table_version) values ('dialplan','5');
CREATE TABLE dialplan (
id SERIAL PRIMARY KEY NOT NULL,
dpid INTEGER NOT NULL,
pr INTEGER NOT NULL,
match_op INTEGER NOT NULL,
match_exp VARCHAR(64) NOT NULL,
match_flags INTEGER NOT NULL,
subst_exp VARCHAR(64),
repl_exp VARCHAR(32),
timerec VARCHAR(255),
disabled INTEGER DEFAULT 0 NOT NULL,
attrs VARCHAR(32)
);
ALTER SEQUENCE dialplan_id_seq MAXVALUE 2147483647 CYCLE;
|