mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Allow the @ in the Caller ID name
This commit is contained in:
@@ -648,7 +648,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
|
||||
|
||||
Reference in New Issue
Block a user