feat(inbound): add CID name prefix support per trunk and per inbound route
This commit is contained in:
1 parent
9518e10616
commit
8804501c42
5 files changed
+188
-12
No files matched your search
@@ -163,6 +163,7 @@ class Database
|
||||
did_routes_json TEXT NOT NULL DEFAULT '{}',
|
||||
outbound_prefix VARCHAR(32) NOT NULL DEFAULT '',
|
||||
custom_endpoint_params TEXT NOT NULL DEFAULT '',
|
||||
cid_name_prefix VARCHAR(64) NOT NULL DEFAULT '',
|
||||
enabled INTEGER NOT NULL DEFAULT 1 CHECK (enabled IN (0, 1)),
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
@@ -576,6 +577,7 @@ class Database
|
||||
'custom_reg_params' => "TEXT NOT NULL DEFAULT ''",
|
||||
'custom_aor_params' => "TEXT NOT NULL DEFAULT ''",
|
||||
'moh_sound_id' => "INTEGER NOT NULL DEFAULT 0",
|
||||
'cid_name_prefix' => "VARCHAR(64) NOT NULL DEFAULT ''",
|
||||
];
|
||||
|
||||
foreach ($extraColumns as $colName => $colDef) {
|
||||
|
||||
Reference in new issue
Block a user