mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 02:43:48 +00:00
Update provision.php
This commit is contained in:
@@ -883,6 +883,11 @@ include "root.php";
|
||||
}
|
||||
}
|
||||
|
||||
//convert seconds to minutes for grandstream
|
||||
if ($device_vendor == 'grandstream') {
|
||||
$register_expires = round($register_expires / 60);
|
||||
}
|
||||
|
||||
//set a lines array index is the line number
|
||||
$lines[$line_number] = $row;
|
||||
$lines[$line_number]['register_expires'] = $register_expires;
|
||||
|
||||
Reference in New Issue
Block a user