fix(db): remove demo data auto-seeding to prevent resurrection of deleted items (v1.3.2)

This commit is contained in:
sorcier committed 2026-11-04 01:58:26 +01:00
1 parent e2af2c34c9
commit e6540c866b
5 files changed
+15 -238

No files matched your search

+1 -1
View File
@@ -1126,7 +1126,7 @@ try {
$inband_progress = (int)!empty($payload['inband_progress']);
$match_ips = trim((string)($payload['match_ips'] ?? ''));
$context = preg_replace('/[^a-zA-Z0-9_\-]/', '', trim((string)($payload['context'] ?? 'from-external'))) ?: 'from-external';
$inbound_dest = trim((string)($payload['inbound_dest'] ?? 'ivr-accueil')) ?: 'hangup';
$inbound_dest = trim((string)($payload['inbound_dest'] ?? 'terminate-hangup')) ?: 'terminate-hangup';
$outbound_prefix = preg_replace('/[^0-9*#X._\[\]\-+]/', '', trim((string)($payload['outbound_prefix'] ?? '')));
$custom_endpoint_params = trim((string)($payload['custom_endpoint_params'] ?? ''));
$custom_reg_params = trim((string)($payload['custom_reg_params'] ?? ''));