diff options
Diffstat (limited to 'config/determine_class.lua')
-rw-r--r-- | config/determine_class.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/determine_class.lua b/config/determine_class.lua index 5bc4ecd..8627405 100644 --- a/config/determine_class.lua +++ b/config/determine_class.lua @@ -17,6 +17,15 @@ elseif string.match(agent, "Cisco") then elseif string.match(agent, "snom") then manufacture = "Snom" model = string.match(agent, "snom(%d+)") +elseif string.match(agent, "Grandstream") then + manufacture = "Grandstream" + model = string.match(agent, "Grandstream[^%d]+(%d+)") +elseif string.match(agent, "Algo") then + manufacture = "Algo" + model = string.match(agent, "Algo[^%d]+(%d+)") +elseif string.match(agent, "^Wget$") then + manufacture = "CyberData" + model = "Intercom" end --functions.logevent("Found "..(manufacture or "").." model "..(model or "")) |