mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add vendor bittel
This commit is contained in:
@@ -336,7 +336,10 @@
|
||||
break;
|
||||
case "0021f2":
|
||||
$device_vendor = "flyingvoice";
|
||||
break;
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user