Allow the @ in caller_id_name

This commit is contained in:
FusionPBX 2025-02-17 11:57:05 -07:00 committed by GitHub
parent 5db8c82d11
commit cea56a7643
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ if (!class_exists('xml_cdr')) {
$domain_uuid = urldecode($xml->variables->domain_uuid);
//sanitize the caller ID
$caller_id_name = preg_replace('#[^a-zA-Z 0-9\-\.\#\*]#', '', $caller_id_name);
$caller_id_name = preg_replace('#[^a-zA-Z0-9\-.\#*@ ]#', '', $caller_id_name);
$caller_id_number = preg_replace('#[^0-9\-\#\*]#', '', $caller_id_number);
//misc