Update provision.php add address.xml

This commit is contained in:
FusionPBX 2023-06-30 19:01:06 -06:00 committed by GitHub
parent 7d90568f05
commit fe750a092d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1194,7 +1194,10 @@
if (file_exists($template_dir."/".$device_template ."/{\$address}")) {
$file = "{\$address}";
}
if (file_exists($template_dir."/".$device_template ."/{\$mac}")) {
elseif (file_exists($template_dir."/".$device_template ."/{\$address}.xml")) {
$file = "{\$address}.xml";
}
elseif (file_exists($template_dir."/".$device_template ."/{\$mac}")) {
$file = "{\$mac}";
}
elseif (file_exists($template_dir."/".$device_template ."/{\$mac}.xml")) {