mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update device.php
This commit is contained in:
@@ -113,6 +113,12 @@ include "root.php";
|
|||||||
case "00268B":
|
case "00268B":
|
||||||
$device_vendor = "escene";
|
$device_vendor = "escene";
|
||||||
break;
|
break;
|
||||||
|
case "001fc1":
|
||||||
|
$device_vendor = "htek";
|
||||||
|
break;
|
||||||
|
case "0C383E":
|
||||||
|
$device_vendor = "fanvil";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
$device_vendor = "";
|
$device_vendor = "";
|
||||||
}
|
}
|
||||||
@@ -160,6 +166,12 @@ include "root.php";
|
|||||||
if (preg_match('/^.*?panasonic.*$/i', $agent)) {
|
if (preg_match('/^.*?panasonic.*$/i', $agent)) {
|
||||||
return "panasonic";
|
return "panasonic";
|
||||||
}
|
}
|
||||||
|
if (preg_match('/^.*?htek.*$/i', $agent)) {
|
||||||
|
return "htek";
|
||||||
|
}
|
||||||
|
if (preg_replace('/^.*?(fanvil).*$/i', '$1', $agent) == "fanvil") {
|
||||||
|
return "fanvil";
|
||||||
|
}
|
||||||
// unknown vendor
|
// unknown vendor
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user