/usr/share/opensips/sqlite/registrant-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 | INSERT INTO version (table_name, table_version) values ('registrant','1');
CREATE TABLE registrant (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
registrar CHAR(128) DEFAULT '' NOT NULL,
proxy CHAR(128) DEFAULT NULL,
aor CHAR(128) DEFAULT '' NOT NULL,
third_party_registrant CHAR(128) DEFAULT NULL,
username CHAR(64) DEFAULT NULL,
password CHAR(64) DEFAULT NULL,
binding_URI CHAR(128) DEFAULT '' NOT NULL,
binding_params CHAR(64) DEFAULT NULL,
expiry INTEGER DEFAULT NULL,
forced_socket CHAR(64) DEFAULT NULL,
CONSTRAINT registrant_aor_idx UNIQUE (aor)
);
|