Add vendor bittel
This commit is contained in:
parent
06a6646acb
commit
fc5f10acfa
|
|
@ -336,7 +336,10 @@
|
||||||
break;
|
break;
|
||||||
case "0021f2":
|
case "0021f2":
|
||||||
$device_vendor = "flyingvoice";
|
$device_vendor = "flyingvoice";
|
||||||
break;
|
break;
|
||||||
|
case "f00786":
|
||||||
|
$device_vendor = "bittel";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
$device_vendor = "";
|
$device_vendor = "";
|
||||||
}
|
}
|
||||||
|
|
@ -402,6 +405,9 @@
|
||||||
if (preg_replace('/^.*?(avaya).*$/i', '$1', $agent) == "avaya") {
|
if (preg_replace('/^.*?(avaya).*$/i', '$1', $agent) == "avaya") {
|
||||||
return "avaya";
|
return "avaya";
|
||||||
}
|
}
|
||||||
|
if (preg_replace('/^.*?(BITTEL).*$/i', '$1', $agent) == "bittel") {
|
||||||
|
return "bittel";
|
||||||
|
}
|
||||||
// unknown vendor
|
// unknown vendor
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
@ -1376,7 +1382,7 @@
|
||||||
|
|
||||||
//save the array
|
//save the array
|
||||||
$this->database->app_name = $this->app_name;
|
$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);
|
$this->database->save($array);
|
||||||
unset($array);
|
unset($array);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue