mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-21 07:52:15 +00:00
Update provision.php
This commit is contained in:
@@ -167,9 +167,11 @@ include "root.php";
|
|||||||
case "grandstream":
|
case "grandstream":
|
||||||
$mac = strtolower($mac);
|
$mac = strtolower($mac);
|
||||||
break;
|
break;
|
||||||
|
case "yealink":
|
||||||
|
$mac = strtolower($mac);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
$mac = strtolower($mac);
|
$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);
|
|
||||||
}
|
}
|
||||||
return $mac;
|
return $mac;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user