/usr/share/opensips/mysql/dispatcher-create.sql is in opensips-mysql-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 | INSERT INTO version (table_name, table_version) values ('dispatcher','7');
CREATE TABLE dispatcher (
id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
setid INT DEFAULT 0 NOT NULL,
destination CHAR(192) DEFAULT '' NOT NULL,
socket CHAR(128) DEFAULT NULL,
state INT DEFAULT 0 NOT NULL,
weight INT DEFAULT 1 NOT NULL,
priority INT DEFAULT 0 NOT NULL,
attrs CHAR(128) DEFAULT '' NOT NULL,
description CHAR(64) DEFAULT '' NOT NULL
) ENGINE=InnoDB;
|