Add device location and description
This commit is contained in:
parent
5fcde5caeb
commit
537e241399
|
|
@ -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
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue