mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-03 22:49:20 +00:00
yealink needs mac without dashes
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||
*/
|
||||
include "root.php";
|
||||
|
||||
@@ -466,6 +467,9 @@ include "root.php";
|
||||
case "snom":
|
||||
$mac = strtolower($mac);
|
||||
break;
|
||||
case "yealink":
|
||||
$mac = strtolower($mac);
|
||||
break;
|
||||
default:
|
||||
$mac = strtolower($mac);
|
||||
$mac = substr($mac, 0,2).'-'.substr($mac, 2,2).'-'.substr($mac, 4,2).'-'.substr($mac, 6,2).'-'.substr($mac, 8,2).'-'.substr($mac, 10,2);
|
||||
@@ -646,4 +650,4 @@ include "root.php";
|
||||
} //end write function
|
||||
} //end provision class
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user