Update xml_cdr.php

This commit is contained in:
FusionPBX
2016-10-25 18:06:34 -06:00
committed by GitHub
parent edf8117215
commit aef9abc28c

View File

@@ -330,7 +330,7 @@ if (!class_exists('xml_cdr')) {
$domain_name = check_str(urldecode($xml->variables->domain_name));
$domain_uuid = check_str(urldecode($xml->variables->domain_uuid));
//get the domain name from sip_req_host
//get the domain name
if (strlen($domain_name) == 0) {
$domain_name = check_str(urldecode($xml->variables->sip_req_host));
}