found what i need to recycle

This commit is contained in:
i am da real crt yes 2022-09-05 14:41:40 +02:00
parent c59ed46e7b
commit 283bdc35dd
1 changed files with 2 additions and 0 deletions

View File

@ -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);