yealink needs mac without dashes
This commit is contained in:
parent
e522a14e56
commit
c3ba078878
|
|
@ -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
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue