mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Need to keep the caller ID prefix on the caller ID name.
This was needed to keep caller id prefix for the caller ID name so it shows up in the Call Detail Records.
This commit is contained in:
@@ -303,7 +303,7 @@ if (!class_exists('xml_cdr')) {
|
||||
$caller_id_number = urldecode($xml->variables->caller_id_number);
|
||||
|
||||
//if the call is outbound use the external caller ID
|
||||
if (urldecode($xml->variables->call_direction) == 'outbound' && isset($xml->variables->effective_caller_id_name)) {
|
||||
if (isset($xml->variables->effective_caller_id_name)) {
|
||||
$caller_id_name = urldecode($xml->variables->effective_caller_id_name);
|
||||
}
|
||||
if (urldecode($xml->variables->call_direction) == 'outbound' && isset($xml->variables->effective_caller_id_number)) {
|
||||
|
||||
Reference in New Issue
Block a user