mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update xml_cdr.php
This commit is contained in:
@@ -401,6 +401,12 @@ if (!class_exists('xml_cdr')) {
|
||||
$domain_uuid = urldecode($xml->variables->domain_uuid);
|
||||
|
||||
//get the domain name
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = urldecode($xml->variables->dialed_domain);
|
||||
}
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = urldecode($xml->variables->sip_invite_domain);
|
||||
}
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = urldecode($xml->variables->sip_req_host);
|
||||
}
|
||||
@@ -1161,4 +1167,4 @@ if (!class_exists('xml_cdr')) {
|
||||
$cdr->read_files();
|
||||
*/
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user