From 283bdc35dd2aa4e866aa6abf1e6e81aa41df9a0d Mon Sep 17 00:00:00 2001 From: i am da real crt yes Date: Mon, 5 Sep 2022 14:41:40 +0200 Subject: [PATCH] found what i need to recycle --- app/extensions/extension_edit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 72233e7..0a61530 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -136,6 +136,8 @@ $enabled = $_POST["enabled"]; $description = $_POST["description"]; + //Yea i think i will have to recycle some code from here to get automatic extension assignment working + //outbound caller id number - only allow numeric and + if (strlen($outbound_caller_id_number) > 0) { $outbound_caller_id_number = preg_replace('#[^\+0-9]#', '', $outbound_caller_id_number);