Fix the check to see if domain_name is not set.
This commit is contained in:
parent
7716a09f54
commit
93d02e85af
|
|
@ -193,7 +193,7 @@
|
|||
$domain_uuid = check_str(urldecode($xml->variables->domain_uuid));
|
||||
|
||||
//get the domain name from sip_req_host
|
||||
if (strlen($domain_name) > 0) {
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = check_str(urldecode($xml->variables->sip_req_host));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue