From 7eda3453b89a57720b1a823cbf0ecb87f0616658 Mon Sep 17 00:00:00 2001 From: Stefano Fancello Date: Fri, 20 Dec 2024 10:20:02 +0100 Subject: [PATCH] fix(proxy): prevent adding proxy to trunk `identity0` for TIM Ensures that the proxy is not added to the trunk named `identity0` for TIM trunks certification. --- freepbx/initdb.d/migration.php | 1 + 1 file changed, 1 insertion(+) diff --git a/freepbx/initdb.d/migration.php b/freepbx/initdb.d/migration.php index 76d39685a..863f78458 100644 --- a/freepbx/initdb.d/migration.php +++ b/freepbx/initdb.d/migration.php @@ -85,6 +85,7 @@ FROM `asterisk`.`pjsip` as pjsip_inner WHERE `pjsip_inner`.`keyword` = 'trunk_name' AND `pjsip_inner`.`data` NOT LIKE '%custom%' + AND `pjsip_inner`.`data` NOT LIKE '%identity0%' )"; $stmt = $db->prepare($sql);