From fefa87ebf2b2e001a18666e0eb160cb84282f5ba Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Tue, 29 Mar 2016 23:57:35 +0200 Subject: TG16-config. --- examples/tg16/dhcp/v4-voip.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/tg16/dhcp/v4-voip.conf (limited to 'examples/tg16/dhcp/v4-voip.conf') 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 ; + next-server ; +} + +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 ; + next-server ; +} -- cgit v1.2.3