mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update device.php (#6570)
"cisco spa" check must be before "cisco" otherwise "cisco spa" is ignored
This commit is contained in:
@@ -174,12 +174,12 @@
|
||||
if (preg_replace('/^.*?(aastra).*$/i', '$1', $agent) == "aastra") {
|
||||
return "aastra";
|
||||
}
|
||||
if (preg_replace('/^.*?(cisco).*$/i', '$1', $agent) == "cisco") {
|
||||
return "cisco";
|
||||
}
|
||||
if (preg_replace('/^.*?(cisco\/spa).*$/i', '$1', $agent) == "cisco/spa") {
|
||||
return "cisco-spa";
|
||||
}
|
||||
if (preg_replace('/^.*?(cisco).*$/i', '$1', $agent) == "cisco") {
|
||||
return "cisco";
|
||||
}
|
||||
if (preg_replace('/^.*?(digium).*$/i', '$1', $agent) == "digium") {
|
||||
return "digium";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user