Add digium support to get_vendor_by_agent() (#5380)

Missing this brand
This commit is contained in:
Luis Daniel Lucio Quiroz 2020-08-03 15:12:19 -04:00 committed by GitHub
parent 95e9901e33
commit 2b7c938f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -175,6 +175,9 @@ include "root.php";
if (preg_replace('/^.*?(cisco\/spa).*$/i', '$1', $agent) == "cisco/spa") {
return "cisco-spa";
}
if (preg_replace('/^.*?(digium).*$/i', '$1', $agent) == "digium") {
return "digium";
}
if (preg_replace('/^.*?(grandstream).*$/i', '$1', $agent) == "grandstream") {
return "grandstream";
}
@ -1223,4 +1226,4 @@ include "root.php";
} //class
?>
?>