Browse Source

VoIP Phone options

master
Jared Dunbar 3 years ago
parent
commit
c56c24b77e
Signed by untrusted user: jared GPG Key ID: CF202CC859BAC692
  1. 27
      common4.conf

27
common4.conf

@ -2,12 +2,26 @@
# /etc/dhcp/common4.conf for common DHCP configurations between both servers
#
# lease times
default-lease-time 300;
max-lease-time 600;
# gateway
option routers 128.153.145.1;
# subnet mask
option subnet-mask 255.255.254.0;
# COSI subdomain (so talks/ works for example)
option domain-name "cslabs.clarkson.edu";
# domain name servers (Windows devices will round robin these btw)
option domain-name-servers 128.153.145.3,128.153.145.4,8.8.8.8;
# ntp servers (these are tick.clarkson.edu and tock.clarkson.edu)
option ntp-servers 128.153.2.253,128.153.5.253;
# ntp offset for timezone
# UTC +5
option time-offset -18000;
# UTC +4
# option time-offset -14400;
# this is the only DHCP server for this range
authoritative;
option arch code 93 = unsigned integer 16;
@ -19,6 +33,19 @@ subnet 128.153.144.0 netmask 255.255.254.0 {
range 128.153.144.100 128.153.144.254;
failover peer "dhcp-failover";
# options for VoIP phones
if ( substring ( option vendor-class-identifier, 0, 19) = "Grandstream GXP1625") {
# set sip server address
option sip-servers code 120 = { integer 8, ip-address};
option sip-servers 1 10.1.1.1;
# set vlan ID
option vlan-id code 132 = text;
option vlan-id "5";
# QoS (0-7)
# option vlan-qos code 133 = text;
# option vlan-qos "5";
}
# COSI
group {
host cthulhu.cslabs.clarkson.edu { hardware ethernet 4c:cc:6a:fa:dd:86; fixed-address 128.153.144.20; }

Loading…
Cancel
Save