add tls_port and wss_port to sbc_addresses, update some deps (#160)

* add tls_port and wss_port to sbc_addresses, update some deps

* add system_information table
This commit is contained in:
Dave Horton
2023-05-01 10:45:19 -04:00
committed by GitHub
parent 1dcc92a177
commit c97874ed1f
7 changed files with 4088 additions and 3844 deletions

View File

@@ -16,6 +16,8 @@ DROP TABLE IF EXISTS call_routes;
DROP TABLE IF EXISTS dns_records; DROP TABLE IF EXISTS dns_records;
DROP TABLE IF EXISTS lcr;
DROP TABLE IF EXISTS lcr_carrier_set_entry; DROP TABLE IF EXISTS lcr_carrier_set_entry;
DROP TABLE IF EXISTS lcr_routes; DROP TABLE IF EXISTS lcr_routes;
@@ -52,6 +54,8 @@ DROP TABLE IF EXISTS smpp_addresses;
DROP TABLE IF EXISTS speech_credentials; DROP TABLE IF EXISTS speech_credentials;
DROP TABLE IF EXISTS system_information;
DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS users;
DROP TABLE IF EXISTS smpp_gateways; DROP TABLE IF EXISTS smpp_gateways;
@@ -136,11 +140,23 @@ PRIMARY KEY (dns_record_sid)
CREATE TABLE lcr_routes CREATE TABLE lcr_routes
( (
lcr_route_sid CHAR(36), lcr_route_sid CHAR(36),
lcr_sid CHAR(36) NOT NULL,
regex VARCHAR(32) NOT NULL COMMENT 'regex-based pattern match against dialed number, used for LCR routing of PSTN calls', regex VARCHAR(32) NOT NULL COMMENT 'regex-based pattern match against dialed number, used for LCR routing of PSTN calls',
description VARCHAR(1024), description VARCHAR(1024),
priority INTEGER NOT NULL UNIQUE COMMENT 'lower priority routes are attempted first', priority INTEGER NOT NULL COMMENT 'lower priority routes are attempted first',
PRIMARY KEY (lcr_route_sid) PRIMARY KEY (lcr_route_sid)
) COMMENT='Least cost routing table'; ) COMMENT='An ordered list of digit patterns in an LCR table. The pat';
CREATE TABLE lcr
(
lcr_sid CHAR(36) NOT NULL UNIQUE ,
name VARCHAR(64) COMMENT 'User-assigned name for this LCR table',
is_active BOOLEAN NOT NULL DEFAULT 1,
default_carrier_set_entry_sid CHAR(36) COMMENT 'default carrier/route to use when no digit match based results are found.',
service_provider_sid CHAR(36),
account_sid CHAR(36),
PRIMARY KEY (lcr_sid)
) COMMENT='An LCR (least cost routing) table that is used by a service ';
CREATE TABLE password_settings CREATE TABLE password_settings
( (
@@ -248,6 +264,8 @@ CREATE TABLE sbc_addresses
sbc_address_sid CHAR(36) NOT NULL UNIQUE , sbc_address_sid CHAR(36) NOT NULL UNIQUE ,
ipv4 VARCHAR(255) NOT NULL, ipv4 VARCHAR(255) NOT NULL,
port INTEGER NOT NULL DEFAULT 5060, port INTEGER NOT NULL DEFAULT 5060,
tls_port INTEGER,
wss_port INTEGER,
service_provider_sid CHAR(36), service_provider_sid CHAR(36),
last_updated DATETIME, last_updated DATETIME,
PRIMARY KEY (sbc_address_sid) PRIMARY KEY (sbc_address_sid)
@@ -308,6 +326,13 @@ created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (speech_credential_sid) PRIMARY KEY (speech_credential_sid)
); );
CREATE TABLE system_information
(
domain_name VARCHAR(255),
sip_domain_name VARCHAR(255),
monitoring_domain_name VARCHAR(255)
);
CREATE TABLE users CREATE TABLE users
( (
user_sid CHAR(36) NOT NULL UNIQUE , user_sid CHAR(36) NOT NULL UNIQUE ,
@@ -504,6 +529,14 @@ ALTER TABLE call_routes ADD FOREIGN KEY application_sid_idxfk (application_sid)
CREATE INDEX dns_record_sid_idx ON dns_records (dns_record_sid); CREATE INDEX dns_record_sid_idx ON dns_records (dns_record_sid);
ALTER TABLE dns_records ADD FOREIGN KEY account_sid_idxfk_4 (account_sid) REFERENCES accounts (account_sid); ALTER TABLE dns_records ADD FOREIGN KEY account_sid_idxfk_4 (account_sid) REFERENCES accounts (account_sid);
CREATE INDEX lcr_sid_idx ON lcr_routes (lcr_sid);
ALTER TABLE lcr_routes ADD FOREIGN KEY lcr_sid_idxfk (lcr_sid) REFERENCES lcr (lcr_sid);
CREATE INDEX lcr_sid_idx ON lcr (lcr_sid);
ALTER TABLE lcr ADD FOREIGN KEY default_carrier_set_entry_sid_idxfk (default_carrier_set_entry_sid) REFERENCES lcr_carrier_set_entry (lcr_carrier_set_entry_sid);
CREATE INDEX service_provider_sid_idx ON lcr (service_provider_sid);
CREATE INDEX account_sid_idx ON lcr (account_sid);
CREATE INDEX permission_sid_idx ON permissions (permission_sid); CREATE INDEX permission_sid_idx ON permissions (permission_sid);
CREATE INDEX predefined_carrier_sid_idx ON predefined_carriers (predefined_carrier_sid); CREATE INDEX predefined_carrier_sid_idx ON predefined_carriers (predefined_carrier_sid);
CREATE INDEX predefined_sip_gateway_sid_idx ON predefined_sip_gateways (predefined_sip_gateway_sid); CREATE INDEX predefined_sip_gateway_sid_idx ON predefined_sip_gateways (predefined_sip_gateway_sid);

View File

@@ -87,7 +87,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[49E56AF4-4E40-49B6-BA88-4E378F1E6C18]]></uid> <uid><![CDATA[49E56AF4-4E40-49B6-BA88-4E378F1E6C18]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[9]]></labelWindowIndex> <labelWindowIndex><![CDATA[10]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[0507BD46-ACAC-48A3-841E-4DEC2FEDCB72]]></uid> <uid><![CDATA[0507BD46-ACAC-48A3-841E-4DEC2FEDCB72]]></uid>
</SQLTable> </SQLTable>
@@ -148,7 +148,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[6E651E52-F91E-4086-9A1E-FB3425476B2F]]></uid> <uid><![CDATA[6E651E52-F91E-4086-9A1E-FB3425476B2F]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[19]]></labelWindowIndex> <labelWindowIndex><![CDATA[20]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[0A95311F-47FA-429F-BAF9-1442C6EE0C0E]]></uid> <uid><![CDATA[0A95311F-47FA-429F-BAF9-1442C6EE0C0E]]></uid>
</SQLTable> </SQLTable>
@@ -225,7 +225,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[D1019218-F1FC-4BC5-A890-F8DBB7153375]]></uid> <uid><![CDATA[D1019218-F1FC-4BC5-A890-F8DBB7153375]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[12]]></labelWindowIndex> <labelWindowIndex><![CDATA[13]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[0AC2FD20-B22F-48DB-8611-801CEF6BFA12]]></uid> <uid><![CDATA[0AC2FD20-B22F-48DB-8611-801CEF6BFA12]]></uid>
</SQLTable> </SQLTable>
@@ -279,7 +279,7 @@
<uid><![CDATA[755D10B0-F60D-4250-8971-C8E4FDB0E0CD]]></uid> <uid><![CDATA[755D10B0-F60D-4250-8971-C8E4FDB0E0CD]]></uid>
<unique><![CDATA[1]]></unique> <unique><![CDATA[1]]></unique>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[16]]></labelWindowIndex> <labelWindowIndex><![CDATA[17]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[16B9E383-E044-4D71-AB46-FEB86A46A298]]></uid> <uid><![CDATA[16B9E383-E044-4D71-AB46-FEB86A46A298]]></uid>
</SQLTable> </SQLTable>
@@ -287,8 +287,8 @@
<name><![CDATA[password_settings]]></name> <name><![CDATA[password_settings]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<location> <location>
<x>2690.00</x> <x>2521.00</x>
<y>260.00</y> <y>360.00</y>
</location> </location>
<size> <size>
<width>276.00</width> <width>276.00</width>
@@ -316,7 +316,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[C4EEBFF0-C3CB-4897-8720-12D14DBA93A5]]></uid> <uid><![CDATA[C4EEBFF0-C3CB-4897-8720-12D14DBA93A5]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[3]]></labelWindowIndex> <labelWindowIndex><![CDATA[4]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[1A80FB9B-419E-483A-86FF-B44A00A44D7F]]></uid> <uid><![CDATA[1A80FB9B-419E-483A-86FF-B44A00A44D7F]]></uid>
</SQLTable> </SQLTable>
@@ -471,7 +471,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[601FA05B-78A5-4E7E-9983-39BB0E6D18EB]]></uid> <uid><![CDATA[601FA05B-78A5-4E7E-9983-39BB0E6D18EB]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[23]]></labelWindowIndex> <labelWindowIndex><![CDATA[24]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[2A735FAB-592C-42E5-9C8B-06B109314799]]></uid> <uid><![CDATA[2A735FAB-592C-42E5-9C8B-06B109314799]]></uid>
</SQLTable> </SQLTable>
@@ -537,7 +537,7 @@
<indexed><![CDATA[1]]></indexed> <indexed><![CDATA[1]]></indexed>
<uid><![CDATA[365FB018-429D-4DA4-AC33-D9D106EA97E5]]></uid> <uid><![CDATA[365FB018-429D-4DA4-AC33-D9D106EA97E5]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[8]]></labelWindowIndex> <labelWindowIndex><![CDATA[9]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[311D99B2-DC8B-4C4A-A1FC-4AFAA1F450F3]]></uid> <uid><![CDATA[311D99B2-DC8B-4C4A-A1FC-4AFAA1F450F3]]></uid>
</SQLTable> </SQLTable>
@@ -546,8 +546,8 @@
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<comment><![CDATA[A Carrier or customer PBX that can send or receive calls]]></comment> <comment><![CDATA[A Carrier or customer PBX that can send or receive calls]]></comment>
<location> <location>
<x>20.00</x> <x>16.00</x>
<y>287.00</y> <y>427.00</y>
</location> </location>
<size> <size>
<width>293.00</width> <width>293.00</width>
@@ -737,7 +737,7 @@
<type><![CDATA[VARCHAR(4096)]]></type> <type><![CDATA[VARCHAR(4096)]]></type>
<uid><![CDATA[7C7DFE92-D7AC-4447-A1C2-E0F10C1EA26A]]></uid> <uid><![CDATA[7C7DFE92-D7AC-4447-A1C2-E0F10C1EA26A]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[24]]></labelWindowIndex> <labelWindowIndex><![CDATA[25]]></labelWindowIndex>
<objectComment><![CDATA[A Carrier or customer PBX that can send or receive calls]]></objectComment> <objectComment><![CDATA[A Carrier or customer PBX that can send or receive calls]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[3D3136A7-AFC0-4A70-AEC3-68577955CA2E]]></uid> <uid><![CDATA[3D3136A7-AFC0-4A70-AEC3-68577955CA2E]]></uid>
@@ -819,7 +819,7 @@
<defaultValue><![CDATA[CURRENT_TIMESTAMP]]></defaultValue> <defaultValue><![CDATA[CURRENT_TIMESTAMP]]></defaultValue>
<uid><![CDATA[C84C9B6A-80B5-4B0B-8C14-EB02F7421BBE]]></uid> <uid><![CDATA[C84C9B6A-80B5-4B0B-8C14-EB02F7421BBE]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[33]]></labelWindowIndex> <labelWindowIndex><![CDATA[34]]></labelWindowIndex>
<objectComment><![CDATA[An authorization token that is used to access the REST api]]></objectComment> <objectComment><![CDATA[An authorization token that is used to access the REST api]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[3EDF89A0-FD38-4DF9-BB65-E0FCD0A678BE]]></uid> <uid><![CDATA[3EDF89A0-FD38-4DF9-BB65-E0FCD0A678BE]]></uid>
@@ -872,7 +872,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[EA4C1A7E-68ED-41D5-9EE9-345DD61F00C7]]></uid> <uid><![CDATA[EA4C1A7E-68ED-41D5-9EE9-345DD61F00C7]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[5]]></labelWindowIndex> <labelWindowIndex><![CDATA[6]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[4893A0F0-BE1B-4322-9034-644528E802DE]]></uid> <uid><![CDATA[4893A0F0-BE1B-4322-9034-644528E802DE]]></uid>
</SQLTable> </SQLTable>
@@ -999,7 +999,7 @@
<indexType><![CDATA[UNIQUE]]></indexType> <indexType><![CDATA[UNIQUE]]></indexType>
<uid><![CDATA[554ABEC2-3E1B-41B1-BF07-25F403D5E3B4]]></uid> <uid><![CDATA[554ABEC2-3E1B-41B1-BF07-25F403D5E3B4]]></uid>
</SQLIndex> </SQLIndex>
<labelWindowIndex><![CDATA[18]]></labelWindowIndex> <labelWindowIndex><![CDATA[19]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[49A68E1C-DEE2-446C-A4EB-9850E16155CC]]></uid> <uid><![CDATA[49A68E1C-DEE2-446C-A4EB-9850E16155CC]]></uid>
</SQLTable> </SQLTable>
@@ -1007,8 +1007,8 @@
<name><![CDATA[schema_version]]></name> <name><![CDATA[schema_version]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<location> <location>
<x>2769.00</x> <x>2519.00</x>
<y>28.00</y> <y>192.00</y>
</location> </location>
<size> <size>
<width>159.00</width> <width>159.00</width>
@@ -1020,7 +1020,7 @@
<type><![CDATA[VARCHAR(16)]]></type> <type><![CDATA[VARCHAR(16)]]></type>
<uid><![CDATA[1EA572BD-FF6B-43CC-9EBB-33A735781429]]></uid> <uid><![CDATA[1EA572BD-FF6B-43CC-9EBB-33A735781429]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[6]]></labelWindowIndex> <labelWindowIndex><![CDATA[7]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[518AC592-D3E6-4032-8A33-15A3DB72B060]]></uid> <uid><![CDATA[518AC592-D3E6-4032-8A33-15A3DB72B060]]></uid>
</SQLTable> </SQLTable>
@@ -1081,7 +1081,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[6B2F726C-48A6-49D9-B7B1-8850DD6FB3EC]]></uid> <uid><![CDATA[6B2F726C-48A6-49D9-B7B1-8850DD6FB3EC]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[11]]></labelWindowIndex> <labelWindowIndex><![CDATA[12]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[51A02EFE-AA51-46EF-8671-E8B2F1FC5F8D]]></uid> <uid><![CDATA[51A02EFE-AA51-46EF-8671-E8B2F1FC5F8D]]></uid>
</SQLTable> </SQLTable>
@@ -1133,7 +1133,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[2EA3A57F-7EF7-4958-B06B-62B0279BB87E]]></uid> <uid><![CDATA[2EA3A57F-7EF7-4958-B06B-62B0279BB87E]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[4]]></labelWindowIndex> <labelWindowIndex><![CDATA[5]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[5784AC2F-BEBC-466F-9818-F9A7D227A5B5]]></uid> <uid><![CDATA[5784AC2F-BEBC-466F-9818-F9A7D227A5B5]]></uid>
</SQLTable> </SQLTable>
@@ -1183,7 +1183,7 @@
<type><![CDATA[VARCHAR(255)]]></type> <type><![CDATA[VARCHAR(255)]]></type>
<uid><![CDATA[04BB457A-D532-4780-8A58-5900094171EC]]></uid> <uid><![CDATA[04BB457A-D532-4780-8A58-5900094171EC]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[25]]></labelWindowIndex> <labelWindowIndex><![CDATA[26]]></labelWindowIndex>
<objectComment><![CDATA[An HTTP callback]]></objectComment> <objectComment><![CDATA[An HTTP callback]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[64D64CB9-0990-4C68-BE71-F9FD43C2BE19]]></uid> <uid><![CDATA[64D64CB9-0990-4C68-BE71-F9FD43C2BE19]]></uid>
@@ -1283,7 +1283,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[9A75A20B-1EFD-4E16-994A-5376C650EAB5]]></uid> <uid><![CDATA[9A75A20B-1EFD-4E16-994A-5376C650EAB5]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[7]]></labelWindowIndex> <labelWindowIndex><![CDATA[8]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[6511AF7D-91FD-40C7-9F73-B8E9E66DC249]]></uid> <uid><![CDATA[6511AF7D-91FD-40C7-9F73-B8E9E66DC249]]></uid>
</SQLTable> </SQLTable>
@@ -1292,8 +1292,8 @@
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<comment><![CDATA[a regex-based pattern match for call routing]]></comment> <comment><![CDATA[a regex-based pattern match for call routing]]></comment>
<location> <location>
<x>18.00</x> <x>31.00</x>
<y>864.00</y> <y>983.00</y>
</location> </location>
<size> <size>
<width>254.00</width> <width>254.00</width>
@@ -1352,7 +1352,7 @@
<uid><![CDATA[9B4208B5-9E3B-4B76-B7F7-4E5D36B99BF2]]></uid> <uid><![CDATA[9B4208B5-9E3B-4B76-B7F7-4E5D36B99BF2]]></uid>
<unsigned><![CDATA[0]]></unsigned> <unsigned><![CDATA[0]]></unsigned>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[32]]></labelWindowIndex> <labelWindowIndex><![CDATA[33]]></labelWindowIndex>
<objectComment><![CDATA[a regex-based pattern match for call routing]]></objectComment> <objectComment><![CDATA[a regex-based pattern match for call routing]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[78584D93-2CD7-4495-9C5E-893C7B869133]]></uid> <uid><![CDATA[78584D93-2CD7-4495-9C5E-893C7B869133]]></uid>
@@ -1361,8 +1361,8 @@
<name><![CDATA[signup_history]]></name> <name><![CDATA[signup_history]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<location> <location>
<x>2752.00</x> <x>2519.00</x>
<y>129.00</y> <y>259.00</y>
</location> </location>
<size> <size>
<width>215.00</width> <width>215.00</width>
@@ -1389,7 +1389,7 @@
<noQuoteDefault><![CDATA[1]]></noQuoteDefault> <noQuoteDefault><![CDATA[1]]></noQuoteDefault>
<uid><![CDATA[4D2F7B02-F183-4239-8CE8-3E98206708AE]]></uid> <uid><![CDATA[4D2F7B02-F183-4239-8CE8-3E98206708AE]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[10]]></labelWindowIndex> <labelWindowIndex><![CDATA[11]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[86FAB0AB-DC68-4ADF-8A08-BBAF61BA1840]]></uid> <uid><![CDATA[86FAB0AB-DC68-4ADF-8A08-BBAF61BA1840]]></uid>
</SQLTable> </SQLTable>
@@ -1427,7 +1427,7 @@
<type><![CDATA[VARCHAR(255)]]></type> <type><![CDATA[VARCHAR(255)]]></type>
<uid><![CDATA[673137EA-B74C-4BA7-AD25-1B71360A2E26]]></uid> <uid><![CDATA[673137EA-B74C-4BA7-AD25-1B71360A2E26]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[2]]></labelWindowIndex> <labelWindowIndex><![CDATA[3]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[87F254ED-D381-48E3-8E8F-C0F3D99CC01C]]></uid> <uid><![CDATA[87F254ED-D381-48E3-8E8F-C0F3D99CC01C]]></uid>
</SQLTable> </SQLTable>
@@ -1459,7 +1459,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[8998AAD6-A21C-4697-9660-8DC5005AED07]]></uid> <uid><![CDATA[8998AAD6-A21C-4697-9660-8DC5005AED07]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[1]]></labelWindowIndex> <labelWindowIndex><![CDATA[2]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[8E75DB2D-9078-40E6-88BF-7DDED5033362]]></uid> <uid><![CDATA[8E75DB2D-9078-40E6-88BF-7DDED5033362]]></uid>
</SQLTable> </SQLTable>
@@ -1536,7 +1536,7 @@
<uid><![CDATA[1DDAD1A1-942D-4487-89C8-D496B7F82274]]></uid> <uid><![CDATA[1DDAD1A1-942D-4487-89C8-D496B7F82274]]></uid>
<unique><![CDATA[1]]></unique> <unique><![CDATA[1]]></unique>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[22]]></labelWindowIndex> <labelWindowIndex><![CDATA[23]]></labelWindowIndex>
<objectComment><![CDATA[A Microsoft Teams customer tenant]]></objectComment> <objectComment><![CDATA[A Microsoft Teams customer tenant]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[92FD042A-5AEC-4D8F-AB94-C73C0F566F75]]></uid> <uid><![CDATA[92FD042A-5AEC-4D8F-AB94-C73C0F566F75]]></uid>
@@ -1547,7 +1547,7 @@
<comment><![CDATA[An entry in the LCR routing list]]></comment> <comment><![CDATA[An entry in the LCR routing list]]></comment>
<location> <location>
<x>22.00</x> <x>22.00</x>
<y>155.00</y> <y>296.00</y>
</location> </location>
<size> <size>
<width>259.00</width> <width>259.00</width>
@@ -1558,6 +1558,7 @@
<name><![CDATA[lcr_carrier_set_entry_sid]]></name> <name><![CDATA[lcr_carrier_set_entry_sid]]></name>
<type><![CDATA[CHAR(36)]]></type> <type><![CDATA[CHAR(36)]]></type>
<primaryKey>1</primaryKey> <primaryKey>1</primaryKey>
<forcedUnique><![CDATA[1]]></forcedUnique>
<uid><![CDATA[7F8F912B-6596-4068-8C4D-9C790A2DEC8C]]></uid> <uid><![CDATA[7F8F912B-6596-4068-8C4D-9C790A2DEC8C]]></uid>
</SQLField> </SQLField>
<SQLField> <SQLField>
@@ -1606,7 +1607,7 @@
<objectComment><![CDATA[lower priority carriers are attempted first]]></objectComment> <objectComment><![CDATA[lower priority carriers are attempted first]]></objectComment>
<uid><![CDATA[01F61C68-799B-49B0-9E6A-0E2162EE5A54]]></uid> <uid><![CDATA[01F61C68-799B-49B0-9E6A-0E2162EE5A54]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[28]]></labelWindowIndex> <labelWindowIndex><![CDATA[29]]></labelWindowIndex>
<objectComment><![CDATA[An entry in the LCR routing list]]></objectComment> <objectComment><![CDATA[An entry in the LCR routing list]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[956025F5-0798-47F7-B76C-457814C7B52E]]></uid> <uid><![CDATA[956025F5-0798-47F7-B76C-457814C7B52E]]></uid>
@@ -1616,8 +1617,8 @@
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<comment><![CDATA[An enterprise that uses the platform for comm services]]></comment> <comment><![CDATA[An enterprise that uses the platform for comm services]]></comment>
<location> <location>
<x>827.00</x> <x>838.00</x>
<y>327.00</y> <y>368.00</y>
</location> </location>
<size> <size>
<width>318.00</width> <width>318.00</width>
@@ -1799,7 +1800,7 @@
<referencesTableUID><![CDATA[E97EE4F0-7ED7-4E8C-862E-D98192D6EAE0]]></referencesTableUID> <referencesTableUID><![CDATA[E97EE4F0-7ED7-4E8C-862E-D98192D6EAE0]]></referencesTableUID>
<uid><![CDATA[4B8283B4-5E16-4846-A79D-12C6B2E73C86]]></uid> <uid><![CDATA[4B8283B4-5E16-4846-A79D-12C6B2E73C86]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[30]]></labelWindowIndex> <labelWindowIndex><![CDATA[31]]></labelWindowIndex>
<objectComment><![CDATA[An enterprise that uses the platform for comm services]]></objectComment> <objectComment><![CDATA[An enterprise that uses the platform for comm services]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[985D6997-B1A7-4AB3-80F4-4D59B45480C8]]></uid> <uid><![CDATA[985D6997-B1A7-4AB3-80F4-4D59B45480C8]]></uid>
@@ -1838,7 +1839,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[D0BF7D36-E40C-4385-9BA5-2099B49A1042]]></uid> <uid><![CDATA[D0BF7D36-E40C-4385-9BA5-2099B49A1042]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[17]]></labelWindowIndex> <labelWindowIndex><![CDATA[18]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[A8ED2178-3CC4-4174-A8FC-C2B58FD28214]]></uid> <uid><![CDATA[A8ED2178-3CC4-4174-A8FC-C2B58FD28214]]></uid>
</SQLTable> </SQLTable>
@@ -1846,8 +1847,8 @@
<name><![CDATA[predefined_carriers]]></name> <name><![CDATA[predefined_carriers]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<location> <location>
<x>35.00</x> <x>27.00</x>
<y>1194.00</y> <y>1370.00</y>
</location> </location>
<size> <size>
<width>302.00</width> <width>302.00</width>
@@ -1930,10 +1931,81 @@
<type><![CDATA[VARCHAR(32)]]></type> <type><![CDATA[VARCHAR(32)]]></type>
<uid><![CDATA[CE2015BC-8538-4FB0-B4D9-454436FAB1D9]]></uid> <uid><![CDATA[CE2015BC-8538-4FB0-B4D9-454436FAB1D9]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[13]]></labelWindowIndex> <labelWindowIndex><![CDATA[14]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[AF34726D-EDFD-414E-9B44-5243DA9D9497]]></uid> <uid><![CDATA[AF34726D-EDFD-414E-9B44-5243DA9D9497]]></uid>
</SQLTable> </SQLTable>
<SQLTable>
<name><![CDATA[lcr]]></name>
<schema><![CDATA[]]></schema>
<comment><![CDATA[An LCR (least cost routing) table that is used by a service provider or account to make decisions about routing outbound calls when multiple carriers are available.]]></comment>
<location>
<x>21.00</x>
<y>16.00</y>
</location>
<size>
<width>290.00</width>
<height>140.00</height>
</size>
<zorder>34</zorder>
<SQLField>
<name><![CDATA[lcr_sid]]></name>
<type><![CDATA[CHAR(36)]]></type>
<primaryKey>1</primaryKey>
<forcedUnique><![CDATA[1]]></forcedUnique>
<indexed><![CDATA[1]]></indexed>
<notNull><![CDATA[1]]></notNull>
<uid><![CDATA[35D5D70B-A42A-44FB-9897-458AE12C65DE]]></uid>
<unique><![CDATA[1]]></unique>
</SQLField>
<SQLField>
<name><![CDATA[name]]></name>
<type><![CDATA[VARCHAR(64)]]></type>
<objectComment><![CDATA[User-assigned name for this LCR table]]></objectComment>
<uid><![CDATA[36037B81-0FE7-4047-8352-554A5936357A]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[is_active]]></name>
<type><![CDATA[BOOLEAN]]></type>
<defaultValue><![CDATA[1]]></defaultValue>
<notNull><![CDATA[1]]></notNull>
<uid><![CDATA[958CAE39-99BB-42C1-9ACE-668A2FA2372E]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[default_carrier_set_entry_sid]]></name>
<type><![CDATA[CHAR(36)]]></type>
<referencesField>lcr_carrier_set_entry_sid</referencesField>
<referencesTable>lcr_carrier_set_entry</referencesTable>
<referencesField><![CDATA[lcr_carrier_set_entry_sid]]></referencesField>
<referencesTable><![CDATA[lcr_carrier_set_entry]]></referencesTable>
<sourceCardinality>4</sourceCardinality>
<destinationCardinality>1</destinationCardinality>
<referencesFieldUID><![CDATA[7F8F912B-6596-4068-8C4D-9C790A2DEC8C]]></referencesFieldUID>
<referencesTableUID><![CDATA[956025F5-0798-47F7-B76C-457814C7B52E]]></referencesTableUID>
<forcedUnique><![CDATA[0]]></forcedUnique>
<notNull><![CDATA[0]]></notNull>
<objectComment><![CDATA[default carrier/route to use when no digit match based results are found.]]></objectComment>
<uid><![CDATA[3029D066-4206-4058-B8B3-54652CA4DDE5]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[service_provider_sid]]></name>
<type><![CDATA[CHAR(36)]]></type>
<forcedUnique><![CDATA[0]]></forcedUnique>
<indexed><![CDATA[1]]></indexed>
<uid><![CDATA[0C8D97E1-19D7-48BC-B7E5-F0709F498E3F]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[account_sid]]></name>
<type><![CDATA[CHAR(36)]]></type>
<forcedUnique><![CDATA[0]]></forcedUnique>
<indexed><![CDATA[1]]></indexed>
<uid><![CDATA[EA936343-89D3-4E3F-BD92-9F8967DC27C4]]></uid>
</SQLField>
<labelWindowIndex><![CDATA[1]]></labelWindowIndex>
<objectComment><![CDATA[An LCR (least cost routing) table that is used by a service provider or account to make decisions about routing outbound calls when multiple carriers are available.]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[AFD51FD4-44C8-4442-94C2-0DFA93CD48AE]]></uid>
</SQLTable>
<SQLTable> <SQLTable>
<name><![CDATA[dns_records]]></name> <name><![CDATA[dns_records]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
@@ -1981,7 +2053,7 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[73092A7A-9F3F-4C49-8478-39CE5DAF5ADD]]></uid> <uid><![CDATA[73092A7A-9F3F-4C49-8478-39CE5DAF5ADD]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[15]]></labelWindowIndex> <labelWindowIndex><![CDATA[16]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[B10C0DE3-03CD-4C5A-B1FB-F9F81ED14A40]]></uid> <uid><![CDATA[B10C0DE3-03CD-4C5A-B1FB-F9F81ED14A40]]></uid>
</SQLTable> </SQLTable>
@@ -1990,8 +2062,8 @@
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<comment><![CDATA[A phone number that has been assigned to an account]]></comment> <comment><![CDATA[A phone number that has been assigned to an account]]></comment>
<location> <location>
<x>17.00</x> <x>16.00</x>
<y>1010.00</y> <y>1128.00</y>
</location> </location>
<size> <size>
<width>265.00</width> <width>265.00</width>
@@ -2077,7 +2149,7 @@
<objectComment><![CDATA[if not null, this number is a test number for the associated service provider]]></objectComment> <objectComment><![CDATA[if not null, this number is a test number for the associated service provider]]></objectComment>
<uid><![CDATA[D2D46B75-F9C7-42A5-8D8C-4A8412C75ECA]]></uid> <uid><![CDATA[D2D46B75-F9C7-42A5-8D8C-4A8412C75ECA]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[31]]></labelWindowIndex> <labelWindowIndex><![CDATA[32]]></labelWindowIndex>
<objectComment><![CDATA[A phone number that has been assigned to an account]]></objectComment> <objectComment><![CDATA[A phone number that has been assigned to an account]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[BA650DDC-AC7B-4DFE-A5E5-828C75607807]]></uid> <uid><![CDATA[BA650DDC-AC7B-4DFE-A5E5-828C75607807]]></uid>
@@ -2177,7 +2249,7 @@
<indexNamePrefix><![CDATA[sip_gateway]]></indexNamePrefix> <indexNamePrefix><![CDATA[sip_gateway]]></indexNamePrefix>
<uid><![CDATA[1C744DE3-39BD-4EC6-B427-7EB2DD258771]]></uid> <uid><![CDATA[1C744DE3-39BD-4EC6-B427-7EB2DD258771]]></uid>
</SQLIndex> </SQLIndex>
<labelWindowIndex><![CDATA[27]]></labelWindowIndex> <labelWindowIndex><![CDATA[28]]></labelWindowIndex>
<objectComment><![CDATA[A whitelisted sip gateway used for origination/termination]]></objectComment> <objectComment><![CDATA[A whitelisted sip gateway used for origination/termination]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[D8A564E2-DA41-4217-8ACE-06CF77E9BEC1]]></uid> <uid><![CDATA[D8A564E2-DA41-4217-8ACE-06CF77E9BEC1]]></uid>
@@ -2351,7 +2423,7 @@
<indexType><![CDATA[UNIQUE]]></indexType> <indexType><![CDATA[UNIQUE]]></indexType>
<uid><![CDATA[3FDDDF3B-375D-4DE4-B759-514438845F7D]]></uid> <uid><![CDATA[3FDDDF3B-375D-4DE4-B759-514438845F7D]]></uid>
</SQLIndex> </SQLIndex>
<labelWindowIndex><![CDATA[29]]></labelWindowIndex> <labelWindowIndex><![CDATA[30]]></labelWindowIndex>
<objectComment><![CDATA[A defined set of behaviors to be applied to phone calls ]]></objectComment> <objectComment><![CDATA[A defined set of behaviors to be applied to phone calls ]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[E97EE4F0-7ED7-4E8C-862E-D98192D6EAE0]]></uid> <uid><![CDATA[E97EE4F0-7ED7-4E8C-862E-D98192D6EAE0]]></uid>
@@ -2459,10 +2531,39 @@
<type><![CDATA[VARBINARY(52)]]></type> <type><![CDATA[VARBINARY(52)]]></type>
<uid><![CDATA[B4793720-635C-4E25-A306-62E7416541C4]]></uid> <uid><![CDATA[B4793720-635C-4E25-A306-62E7416541C4]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[14]]></labelWindowIndex> <labelWindowIndex><![CDATA[15]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[EB4BC5F9-CC10-4C8C-AB31-6D942256AEFB]]></uid> <uid><![CDATA[EB4BC5F9-CC10-4C8C-AB31-6D942256AEFB]]></uid>
</SQLTable> </SQLTable>
<SQLTable>
<name><![CDATA[system_information]]></name>
<schema><![CDATA[]]></schema>
<location>
<x>2552.00</x>
<y>61.00</y>
</location>
<size>
<width>266.00</width>
<height>80.00</height>
</size>
<zorder>35</zorder>
<SQLField>
<name><![CDATA[domain_name]]></name>
<type><![CDATA[VARCHAR(255)]]></type>
<uid><![CDATA[C7897324-FE6E-4534-B4BB-736070825D04]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[sip_domain_name]]></name>
<type><![CDATA[VARCHAR(255)]]></type>
<uid><![CDATA[ED76F31F-B9BF-497D-A862-5D5E8661965C]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[monitoring_domain_name]]></name>
<type><![CDATA[VARCHAR(255)]]></type>
<uid><![CDATA[0A8DB34E-76C9-4D40-9E31-786E0228DCEE]]></uid>
</SQLField>
<uid><![CDATA[F0C2DC80-CBA7-4BE7-8856-D10B062A7B17]]></uid>
</SQLTable>
<SQLTable> <SQLTable>
<name><![CDATA[sbc_addresses]]></name> <name><![CDATA[sbc_addresses]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
@@ -2472,7 +2573,7 @@
</location> </location>
<size> <size>
<width>281.00</width> <width>281.00</width>
<height>140.00</height> <height>180.00</height>
</size> </size>
<zorder>13</zorder> <zorder>13</zorder>
<SQLField> <SQLField>
@@ -2498,6 +2599,16 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<uid><![CDATA[707EF28F-F4AF-4B7E-AB04-C128C894ECE9]]></uid> <uid><![CDATA[707EF28F-F4AF-4B7E-AB04-C128C894ECE9]]></uid>
</SQLField> </SQLField>
<SQLField>
<name><![CDATA[tls_port]]></name>
<type><![CDATA[INTEGER]]></type>
<uid><![CDATA[89D52E8F-73BF-4A40-8FBD-617C7BA6AB63]]></uid>
</SQLField>
<SQLField>
<name><![CDATA[wss_port]]></name>
<type><![CDATA[INTEGER]]></type>
<uid><![CDATA[22B35E87-249A-4E4A-8FB0-CD37B7A19A9F]]></uid>
</SQLField>
<SQLIndex> <SQLIndex>
<name><![CDATA[sbc_addresses_idx_host_port]]></name> <name><![CDATA[sbc_addresses_idx_host_port]]></name>
<fieldName><![CDATA[ipv4]]></fieldName> <fieldName><![CDATA[ipv4]]></fieldName>
@@ -2534,21 +2645,21 @@
<type><![CDATA[DATETIME]]></type> <type><![CDATA[DATETIME]]></type>
<uid><![CDATA[CD43B91B-F34E-4422-9C0F-A4B92E2E7B95]]></uid> <uid><![CDATA[CD43B91B-F34E-4422-9C0F-A4B92E2E7B95]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[21]]></labelWindowIndex> <labelWindowIndex><![CDATA[22]]></labelWindowIndex>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[F0EE651E-DBF6-4CAC-A517-AC85BCC2D3AF]]></uid> <uid><![CDATA[F0EE651E-DBF6-4CAC-A517-AC85BCC2D3AF]]></uid>
</SQLTable> </SQLTable>
<SQLTable> <SQLTable>
<name><![CDATA[lcr_routes]]></name> <name><![CDATA[lcr_routes]]></name>
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<comment><![CDATA[Least cost routing table]]></comment> <comment><![CDATA[An ordered list of digit patterns in an LCR table. The patterns are tested in sequence until one matches]]></comment>
<location> <location>
<x>24.00</x> <x>41.00</x>
<y>32.00</y> <y>168.00</y>
</location> </location>
<size> <size>
<width>233.00</width> <width>192.00</width>
<height>100.00</height> <height>120.00</height>
</size> </size>
<zorder>8</zorder> <zorder>8</zorder>
<SQLField> <SQLField>
@@ -2559,6 +2670,21 @@
<indexed><![CDATA[0]]></indexed> <indexed><![CDATA[0]]></indexed>
<uid><![CDATA[B558A3B9-2F3E-40E0-B78E-997350021A6B]]></uid> <uid><![CDATA[B558A3B9-2F3E-40E0-B78E-997350021A6B]]></uid>
</SQLField> </SQLField>
<SQLField>
<name><![CDATA[lcr_sid]]></name>
<type><![CDATA[CHAR(36)]]></type>
<referencesField>lcr_sid</referencesField>
<referencesTable>lcr</referencesTable>
<referencesField><![CDATA[lcr_sid]]></referencesField>
<referencesTable><![CDATA[lcr]]></referencesTable>
<sourceCardinality>4</sourceCardinality>
<destinationCardinality>1</destinationCardinality>
<referencesFieldUID><![CDATA[35D5D70B-A42A-44FB-9897-458AE12C65DE]]></referencesFieldUID>
<referencesTableUID><![CDATA[AFD51FD4-44C8-4442-94C2-0DFA93CD48AE]]></referencesTableUID>
<indexed><![CDATA[1]]></indexed>
<notNull><![CDATA[1]]></notNull>
<uid><![CDATA[B2401824-B0C5-447A-A947-F696F764592B]]></uid>
</SQLField>
<SQLField> <SQLField>
<name><![CDATA[regex]]></name> <name><![CDATA[regex]]></name>
<type><![CDATA[VARCHAR(32)]]></type> <type><![CDATA[VARCHAR(32)]]></type>
@@ -2577,10 +2703,10 @@
<notNull><![CDATA[1]]></notNull> <notNull><![CDATA[1]]></notNull>
<objectComment><![CDATA[lower priority routes are attempted first]]></objectComment> <objectComment><![CDATA[lower priority routes are attempted first]]></objectComment>
<uid><![CDATA[B73773BA-AB1B-47AA-B995-2D2FE006198F]]></uid> <uid><![CDATA[B73773BA-AB1B-47AA-B995-2D2FE006198F]]></uid>
<unique><![CDATA[1]]></unique> <unique><![CDATA[0]]></unique>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[26]]></labelWindowIndex> <labelWindowIndex><![CDATA[27]]></labelWindowIndex>
<objectComment><![CDATA[Least cost routing table]]></objectComment> <objectComment><![CDATA[An ordered list of digit patterns in an LCR table. The patterns are tested in sequence until one matches]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[F283D572-F670-4571-91FD-A665A9D3E15D]]></uid> <uid><![CDATA[F283D572-F670-4571-91FD-A665A9D3E15D]]></uid>
</SQLTable> </SQLTable>
@@ -2589,8 +2715,8 @@
<schema><![CDATA[]]></schema> <schema><![CDATA[]]></schema>
<comment><![CDATA[A partition of the platform used by one service provider]]></comment> <comment><![CDATA[A partition of the platform used by one service provider]]></comment>
<location> <location>
<x>837.00</x> <x>838.00</x>
<y>160.00</y> <y>207.00</y>
</location> </location>
<size> <size>
<width>293.00</width> <width>293.00</width>
@@ -2646,7 +2772,7 @@
<type><![CDATA[VARCHAR(255)]]></type> <type><![CDATA[VARCHAR(255)]]></type>
<uid><![CDATA[FA39B463-61C7-4654-BE9C-D1AC39AB1B97]]></uid> <uid><![CDATA[FA39B463-61C7-4654-BE9C-D1AC39AB1B97]]></uid>
</SQLField> </SQLField>
<labelWindowIndex><![CDATA[20]]></labelWindowIndex> <labelWindowIndex><![CDATA[21]]></labelWindowIndex>
<objectComment><![CDATA[A partition of the platform used by one service provider]]></objectComment> <objectComment><![CDATA[A partition of the platform used by one service provider]]></objectComment>
<ui.treeExpanded><![CDATA[1]]></ui.treeExpanded> <ui.treeExpanded><![CDATA[1]]></ui.treeExpanded>
<uid><![CDATA[F294B51E-F867-47CA-BC1F-F70BDF8170FF]]></uid> <uid><![CDATA[F294B51E-F867-47CA-BC1F-F70BDF8170FF]]></uid>
@@ -2720,17 +2846,17 @@
<overviewPanelHidden><![CDATA[0]]></overviewPanelHidden> <overviewPanelHidden><![CDATA[0]]></overviewPanelHidden>
<pageBoundariesVisible><![CDATA[0]]></pageBoundariesVisible> <pageBoundariesVisible><![CDATA[0]]></pageBoundariesVisible>
<PageGridVisible><![CDATA[0]]></PageGridVisible> <PageGridVisible><![CDATA[0]]></PageGridVisible>
<RightSidebarWidth><![CDATA[1235.000000]]></RightSidebarWidth> <RightSidebarWidth><![CDATA[2487.000000]]></RightSidebarWidth>
<sidebarIndex><![CDATA[2]]></sidebarIndex> <sidebarIndex><![CDATA[2]]></sidebarIndex>
<snapToGrid><![CDATA[0]]></snapToGrid> <snapToGrid><![CDATA[0]]></snapToGrid>
<SourceSidebarWidth><![CDATA[0.000000]]></SourceSidebarWidth> <SourceSidebarWidth><![CDATA[0.000000]]></SourceSidebarWidth>
<SQLEditorFileFormatVersion><![CDATA[4]]></SQLEditorFileFormatVersion> <SQLEditorFileFormatVersion><![CDATA[4]]></SQLEditorFileFormatVersion>
<uid><![CDATA[58C99A00-06C9-478C-A667-C63842E088F3]]></uid> <uid><![CDATA[58C99A00-06C9-478C-A667-C63842E088F3]]></uid>
<windowHeight><![CDATA[868.000000]]></windowHeight> <windowHeight><![CDATA[1001.000000]]></windowHeight>
<windowLocationX><![CDATA[11.000000]]></windowLocationX> <windowLocationX><![CDATA[-1642.000000]]></windowLocationX>
<windowLocationY><![CDATA[54.000000]]></windowLocationY> <windowLocationY><![CDATA[1036.000000]]></windowLocationY>
<windowScrollOrigin><![CDATA[{461, 0}]]></windowScrollOrigin> <windowScrollOrigin><![CDATA[{0, 0}]]></windowScrollOrigin>
<windowWidth><![CDATA[1512.000000]]></windowWidth> <windowWidth><![CDATA[2764.000000]]></windowWidth>
</SQLDocumentInfo> </SQLDocumentInfo>
<AllowsIndexRenamingOnInsert><![CDATA[1]]></AllowsIndexRenamingOnInsert> <AllowsIndexRenamingOnInsert><![CDATA[1]]></AllowsIndexRenamingOnInsert>
<defaultLabelExpanded><![CDATA[1]]></defaultLabelExpanded> <defaultLabelExpanded><![CDATA[1]]></defaultLabelExpanded>

View File

@@ -76,6 +76,7 @@ VALUES
('81a0c8cb-a33e-42da-8f20-99083da6f02f', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.252.254.64', 30, 5060, 1, 0), ('81a0c8cb-a33e-42da-8f20-99083da6f02f', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.252.254.64', 30, 5060, 1, 0),
('eeeef07a-46b8-4ffe-a4f2-04eb32ca889e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.169.127.128', 30, 5060, 1, 0), ('eeeef07a-46b8-4ffe-a4f2-04eb32ca889e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.169.127.128', 30, 5060, 1, 0),
('fbb6c194-4b68-4dff-9b42-52412be1c39e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '177.71.206.192', 30, 5060, 1, 0), ('fbb6c194-4b68-4dff-9b42-52412be1c39e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '177.71.206.192', 30, 5060, 1, 0),
('973e7824-0cf3-4645-88e4-d2460ddb8577', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '168.86.128.0', 18, 5060, 1, 0),
('3ed1dd12-e1a7-44ff-811a-3cc5dc13dc72', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '<your-domain>.pstn.twilio.com', 32, 5060, 0, 1); ('3ed1dd12-e1a7-44ff-811a-3cc5dc13dc72', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '<your-domain>.pstn.twilio.com', 32, 5060, 0, 1);
-- voxbone gateways -- voxbone gateways

View File

@@ -53,6 +53,7 @@ VALUES
('81a0c8cb-a33e-42da-8f20-99083da6f02f', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.252.254.64', 30, 5060, 1, 0), ('81a0c8cb-a33e-42da-8f20-99083da6f02f', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.252.254.64', 30, 5060, 1, 0),
('eeeef07a-46b8-4ffe-a4f2-04eb32ca889e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.169.127.128', 30, 5060, 1, 0), ('eeeef07a-46b8-4ffe-a4f2-04eb32ca889e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '54.169.127.128', 30, 5060, 1, 0),
('fbb6c194-4b68-4dff-9b42-52412be1c39e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '177.71.206.192', 30, 5060, 1, 0), ('fbb6c194-4b68-4dff-9b42-52412be1c39e', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '177.71.206.192', 30, 5060, 1, 0),
('973e7824-0cf3-4645-88e4-d2460ddb8577', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '168.86.128.0', 18, 5060, 1, 0),
('3ed1dd12-e1a7-44ff-811a-3cc5dc13dc72', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '<your-domain>.pstn.twilio.com', 32, 5060, 0, 1); ('3ed1dd12-e1a7-44ff-811a-3cc5dc13dc72', '7d509a18-bbff-4c5d-b21e-b99bf8f8c49a', '<your-domain>.pstn.twilio.com', 32, 5060, 0, 1);
-- voxbone gateways -- voxbone gateways

View File

@@ -91,6 +91,14 @@ const sql = {
8003: [ 8003: [
'ALTER TABLE `voip_carriers` ADD COLUMN `register_status` VARCHAR(4096)', 'ALTER TABLE `voip_carriers` ADD COLUMN `register_status` VARCHAR(4096)',
'ALTER TABLE `sbc_addresses` ADD COLUMN `last_updated` DATETIME', 'ALTER TABLE `sbc_addresses` ADD COLUMN `last_updated` DATETIME',
'ALTER TABLE `sbc_addresses` ADD COLUMN `tls_port` INTEGER',
'ALTER TABLE `sbc_addresses` ADD COLUMN `wss_port` INTEGER',
`CREATE TABLE system_information
(
domain_name VARCHAR(255),
sip_domain_name VARCHAR(255),
monitoring_domain_name VARCHAR(255)
)`,
] ]
}; };
@@ -120,6 +128,7 @@ const doIt = async() => {
if (val < 7006) upgrades.push(...sql['7006']); if (val < 7006) upgrades.push(...sql['7006']);
if (val < 7007) upgrades.push(...sql['7007']); if (val < 7007) upgrades.push(...sql['7007']);
if (val < 8000) upgrades.push(...sql['8000']); if (val < 8000) upgrades.push(...sql['8000']);
if (val < 8003) upgrades.push(...sql['8003']);
// perform all upgrades // perform all upgrades
logger.info({upgrades}, 'applying schema upgrades..'); logger.info({upgrades}, 'applying schema upgrades..');

7618
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,9 +24,9 @@
"@google-cloud/speech": "^5.1.0", "@google-cloud/speech": "^5.1.0",
"@jambonz/db-helpers": "^0.7.3", "@jambonz/db-helpers": "^0.7.3",
"@jambonz/realtimedb-helpers": "^0.7.1", "@jambonz/realtimedb-helpers": "^0.7.1",
"@jambonz/speech-utils": "^0.0.8", "@jambonz/speech-utils": "^0.0.12",
"@jambonz/time-series": "^0.2.5", "@jambonz/time-series": "^0.2.5",
"@jambonz/verb-specifications": "^0.0.3", "@jambonz/verb-specifications": "^0.0.17",
"@soniox/soniox-node": "^1.1.0", "@soniox/soniox-node": "^1.1.0",
"argon2": "^0.30.3", "argon2": "^0.30.3",
"bent": "^7.3.12", "bent": "^7.3.12",
@@ -52,8 +52,8 @@
"yamljs": "^0.3.0" "yamljs": "^0.3.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.32.0", "eslint": "^8.39.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^6.1.1",
"husky": "7.0.4", "husky": "7.0.4",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"request": "^2.88.2", "request": "^2.88.2",