prepare provisioning for gigaset templates (#3053)

This commit is contained in:
Roman Dissauer
2018-05-15 19:53:43 -06:00
committed by FusionPBX
parent 45cce55fdf
commit 8d3a25eeb4
2 changed files with 32 additions and 0 deletions
+21
View File
@@ -119,6 +119,24 @@ include "root.php";
case "0C383E":
$device_vendor = "fanvil";
break;
case "7c2f80":
$device_vendor = "gigaset";
break;
case "14b370":
$device_vendor = "gigaset";
break;
case "002104":
$device_vendor = "gigaset";
break;
case "bcc342":
$device_vendor = "panasonic";
break;
case "080023":
$device_vendor = "panasonic";
break;
case "0080f0":
$device_vendor = "panasonic";
break;
default:
$device_vendor = "";
}
@@ -166,6 +184,9 @@ include "root.php";
if (preg_match('/^.*?panasonic.*$/i', $agent)) {
return "panasonic";
}
if (preg_replace('/^.*?(N510).*$/i', '$1', $agent) == "n510") {
return "gigaset";
}
if (preg_match('/^.*?htek.*$/i', $agent)) {
return "htek";
}