diff options
author | Joachim Tingvold <joachim@tingvold.com> | 2015-04-16 21:12:29 +0200 |
---|---|---|
committer | root <root@wat.gathering.org> | 2015-04-16 21:12:29 +0200 |
commit | df68d675e74633c1980838e8174e939dd4078f85 (patch) | |
tree | c546387a3bc83889401b0f6872fac36a341bd24b /examples/tg15/dhcp/v4-voip.conf | |
parent | 7147d88f6e3c15a2cce29fc39484280964ac81bc (diff) |
Added config used at TG15.
Diffstat (limited to 'examples/tg15/dhcp/v4-voip.conf')
-rw-r--r-- | examples/tg15/dhcp/v4-voip.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/tg15/dhcp/v4-voip.conf b/examples/tg15/dhcp/v4-voip.conf new file mode 100644 index 0000000..a68f123 --- /dev/null +++ b/examples/tg15/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>; +} |