mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update v_xml_cdr_import.php
This commit is contained in:
@@ -278,6 +278,11 @@
|
||||
$domain_name = urldecode($xml->variables->domain_name);
|
||||
$domain_uuid = urldecode($xml->variables->domain_uuid);
|
||||
|
||||
//get the domain name from dialed_domain
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = urldecode($xml->variables->dialed_domain);
|
||||
}
|
||||
|
||||
//get the domain name from sip_req_host
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = urldecode($xml->variables->sip_req_host);
|
||||
|
||||
Reference in New Issue
Block a user