aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg16/dhcp/v4-voip.conf
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-04-01 19:14:20 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-04-01 19:14:20 +0200
commitbc83b07e4aa4c68f63f4e1b9f6f00757388ea13c (patch)
treeccb9a45430645ea80bca1b3717e453e254229a0e /examples/tg16/dhcp/v4-voip.conf
parent1d2470a411e5eaac7e5a1c5d5b6b81e92c92f4a8 (diff)
parent3dc8afb739a03459393d3cda79bd16cefff15cae (diff)
Merge branch 'master' of github.com:tech-server/tgmanage
Diffstat (limited to 'examples/tg16/dhcp/v4-voip.conf')
-rw-r--r--examples/tg16/dhcp/v4-voip.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/tg16/dhcp/v4-voip.conf b/examples/tg16/dhcp/v4-voip.conf
new file mode 100644
index 0000000..8983d75
--- /dev/null
+++ b/examples/tg16/dhcp/v4-voip.conf
@@ -0,0 +1,18 @@
+option space CiscoVOIP;
+option CiscoVOIP.cm-tftp-server code 150 = array of ip-address;
+
+class "cisco-voip-lan" {
+ match if substring (option vendor-class-identifier, 0, 28) = "Cisco Systems, Inc. IP Phone";
+ vendor-option-space CiscoVOIP;
+ log( info, concat( "LOLOPHONE: " , option vendor-class-identifier ));
+ option CiscoVOIP.cm-tftp-server <removed>;
+ next-server <removed>;
+}
+
+class "cisco-voip-wlan" {
+ match if substring (option vendor-class-identifier, 0, 33) = "Cisco Systems Inc. Wireless Phone";
+ vendor-option-space CiscoVOIP;
+ log( info, concat( "BANANAPHONE: " , option vendor-class-identifier ));
+ option CiscoVOIP.cm-tftp-server <removed>;
+ next-server <removed>;
+}