aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg19/dhcp/config/dhcpd4_voip.conf
blob: daa08a7f6259a798829276b213c9dfea790991db (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";
	log( info, concat( "LOLOPHONE: " , option vendor-class-identifier ));
	vendor-option-space CiscoVOIP;
	option CiscoVOIP.cm-tftp-server <Removed>;
	next-server Z;
}

class "cisco-voip-wlan" {
        match if substring (option vendor-class-identifier, 0, 33) = "Cisco Systems Inc. Wireless Phone";
        log( info, concat( "BANANAPHONE: " , option vendor-class-identifier ));
        vendor-option-space CiscoVOIP;
        option CiscoVOIP.cm-tftp-server <Removed>;
        next-server <Removed>;
}