feat(trunk): add customizable Asterisk Trunk Dial Options field with quick presets (tTR, TR, T)

This commit is contained in:
sorcier committed 2026-11-04 00:18:37 +01:00
1 parent bf2e2098f0
commit b3c98834c8
5 files changed
+43 -3

No files matched your search

+2
View File
@@ -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) {