From fc5f10acfae86c89ca020b501372c47cec33396b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 12 Nov 2024 14:50:18 -0700 Subject: [PATCH] Add vendor bittel --- app/devices/resources/classes/device.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/devices/resources/classes/device.php b/app/devices/resources/classes/device.php index 7b2a295292..fba69b9fa9 100644 --- a/app/devices/resources/classes/device.php +++ b/app/devices/resources/classes/device.php @@ -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);