/usr/share/opensips/sqlite/dialog-create.sql is in opensips-sqlite-module 2.2.2-3build4.
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 19 20 21 22 23 24 25 26 27 28 29 | INSERT INTO version (table_name, table_version) values ('dialog','10');
CREATE TABLE dialog (
dlg_id BIGINT(10) PRIMARY KEY NOT NULL,
callid CHAR(255) NOT NULL,
from_uri CHAR(128) NOT NULL,
from_tag CHAR(64) NOT NULL,
to_uri CHAR(128) NOT NULL,
to_tag CHAR(64) NOT NULL,
mangled_from_uri CHAR(64) DEFAULT NULL,
mangled_to_uri CHAR(64) DEFAULT NULL,
caller_cseq CHAR(11) NOT NULL,
callee_cseq CHAR(11) NOT NULL,
caller_ping_cseq INTEGER NOT NULL,
callee_ping_cseq INTEGER NOT NULL,
caller_route_set TEXT(512),
callee_route_set TEXT(512),
caller_contact CHAR(128),
callee_contact CHAR(128),
caller_sock CHAR(64) NOT NULL,
callee_sock CHAR(64) NOT NULL,
state INTEGER NOT NULL,
start_time INTEGER NOT NULL,
timeout INTEGER NOT NULL,
vars BLOB(4096) DEFAULT NULL,
profiles TEXT(512) DEFAULT NULL,
script_flags INTEGER DEFAULT 0 NOT NULL,
module_flags INTEGER DEFAULT 0 NOT NULL,
flags INTEGER DEFAULT 0 NOT NULL
);
|