diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index aadf0162f0..8dea222cc9 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -473,6 +473,18 @@ $device_vendor = device::get_vendor($device_mac_address); } + +//get the device line info for provision button + foreach($device_lines as $row) { + if (strlen($row['user_id']) > 0) { + $user_id = $row['user_id']; + } + if (strlen($row['server_address']) > 0) { + $server_address = $row['server_address']; + } + } + $sip_profile_name = 'internal'; + //show the header require_once "resources/header.php"; @@ -584,6 +596,7 @@ echo "\n"; echo "