Set the mitel mac address to upper case.

This commit is contained in:
markjcrane 2016-01-09 09:29:39 -07:00
parent ac09089f17
commit 01edbb30b8
1 changed files with 5 additions and 2 deletions

View File

@ -707,12 +707,15 @@ include "root.php";
case "aastra":
$mac = strtoupper($mac);
break;
case "snom":
$mac = strtolower($mac);
case "mitel":
$mac = strtoupper($mac);
break;
case "polycom":
$mac = strtolower($mac);
break;
case "snom":
$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);