mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add. Support remote reboot Panasonic devices. (#2326)
Tested with Panasonic KX-TGP500 Firmware 22.90 User agent string `Panasonic_KX-TGP500B09/22.90 (<MAC>)`
This commit is contained in:
committed by
FusionPBX
parent
ee65f04ef3
commit
080763cee7
@@ -154,8 +154,9 @@ include "root.php";
|
||||
if (preg_match('/^es\d\d\d.*$/i', $agent)) {
|
||||
return "escene";
|
||||
}
|
||||
}
|
||||
|
||||
if (preg_match('/^.*?panasonic.*$/i', $agent)) {
|
||||
return "panasonic";
|
||||
}
|
||||
// unknown vendor
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user