aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg14/dhcp/ciscovoip.conf
blob: 17a8bb9ee905919706178c81111d7b8cdd75545f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 151.216.253.26;
	next-server 151.216.253.26;
}

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 151.216.253.26;
        next-server 151.216.253.26;
}