feat(trunk): add customizable Asterisk Trunk Dial Options field with quick presets (tTR, TR, T)
This commit is contained in:
1 parent
bf2e2098f0
commit
b3c98834c8
5 files changed
+43
-3
No files matched your search
@@ -164,6 +164,7 @@ class Database
|
||||
outbound_prefix VARCHAR(32) NOT NULL DEFAULT '',
|
||||
custom_endpoint_params TEXT NOT NULL DEFAULT '',
|
||||
cid_name_prefix VARCHAR(64) NOT NULL DEFAULT '',
|
||||
dial_options VARCHAR(32) NOT NULL DEFAULT 'tTR',
|
||||
enabled INTEGER NOT NULL DEFAULT 1 CHECK (enabled IN (0, 1)),
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
@@ -578,6 +579,7 @@ class Database
|
||||
'custom_aor_params' => "TEXT NOT NULL DEFAULT ''",
|
||||
'moh_sound_id' => "INTEGER NOT NULL DEFAULT 0",
|
||||
'cid_name_prefix' => "VARCHAR(64) NOT NULL DEFAULT ''",
|
||||
'dial_options' => "VARCHAR(32) NOT NULL DEFAULT 'tTR'",
|
||||
];
|
||||
|
||||
foreach ($extraColumns as $colName => $colDef) {
|
||||
|
||||
Reference in new issue
Block a user