Add device location and description

This commit is contained in:
FusionPBX 2024-01-31 21:33:37 -07:00 committed by GitHub
parent 5fcde5caeb
commit 537e241399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 5 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Copyright (C) 2014-2021
Copyright (C) 2014-2023
All Rights Reserved.
Contributor(s):
@ -983,6 +983,8 @@
$variables['outbound_proxy_primary'] = $lines[$x]['outbound_proxy_primary'];
$variables['outbound_proxy_secondary'] = $lines[$x]['outbound_proxy_secondary'];
$variables['display_name'] = $lines[$x]['display_name'];
$variables['location'] = $device_location;
$variables['description'] = $device_description;
//update the device keys by replacing variables with their values
foreach($variables as $name => $value) {
@ -1379,3 +1381,4 @@
} //end provision class
?>