Add vendor bittel

This commit is contained in:
FusionPBX 2024-11-12 14:50:18 -07:00 committed by GitHub
parent 06a6646acb
commit fc5f10acfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -337,6 +337,9 @@
case "0021f2":
$device_vendor = "flyingvoice";
break;
case "f00786":
$device_vendor = "bittel";
break;
default:
$device_vendor = "";
}
@ -402,6 +405,9 @@
if (preg_replace('/^.*?(avaya).*$/i', '$1', $agent) == "avaya") {
return "avaya";
}
if (preg_replace('/^.*?(BITTEL).*$/i', '$1', $agent) == "bittel") {
return "bittel";
}
// unknown vendor
return "";
}
@ -1376,7 +1382,7 @@
//save the array
$this->database->app_name = $this->app_name;
$this->database->app_uuid = $this->app_uuid;
$this->databasee->app_uuid = $this->app_uuid;
$this->database->save($array);
unset($array);