Update provision.php

This commit is contained in:
FusionPBX 2019-05-21 10:00:55 -06:00 committed by GitHub
parent 204a63c5af
commit c6d91fc331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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;