Update xml_cdr.php
This commit is contained in:
@@ -330,7 +330,7 @@ if (!class_exists('xml_cdr')) {
|
|||||||
$domain_name = check_str(urldecode($xml->variables->domain_name));
|
$domain_name = check_str(urldecode($xml->variables->domain_name));
|
||||||
$domain_uuid = check_str(urldecode($xml->variables->domain_uuid));
|
$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) {
|
if (strlen($domain_name) == 0) {
|
||||||
$domain_name = check_str(urldecode($xml->variables->sip_req_host));
|
$domain_name = check_str(urldecode($xml->variables->sip_req_host));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user