beautypg.com

Polycom SpectraLink 8030 User Manual

Page 57

background image

SIP Integration Factors

PN: 1725-36038-001_E.doc

57

# define the OAI server option code 152 as an IP address.
option oai-server code 152 = ip-address;

# This should be the length in seconds that will be
# assigned to a lease if the client requesting the lease does not ask
# for a specific expiration time. 86400 seconds is 1 day.
default-lease-time 86400;

# This should be the maximum length in seconds that will be assigned
# to a lease.

max-lease-time 86400;

# minimum lease time of 10 minutes
min-lease-time 600;

# You can declare a class of clients and then do address allocation

# based on that. The example below shows a case where all clients
# in a certain class get addresses in the range 192.168.0.100 to 192.168.0.149,
# and all other clients get addresses in the range 192.168.0.150 to
# 192.168.0.199.

class "SpectraLinkPhones" {
match if substring (option vendor-class-identifier, 0, 11) = "SpectraLink";
}

# subnet definition also sets netmask option 1
subnet 192.168.0.0 netmask 255.255.255.0 {

# DHCP lease pool for Polycom SpectraLink phones
pool {
allow members of "SpectraLinkPhones";
range 192.168.0.100 192.168.0.149;

# define the siaddr / next server field as the alternative TFTP server address
next-server 192.168.0.1;

# define the NTP server option 42
option ntp-servers 192.168.0.1;

# define the primary TFTP server address option 66
option tftp-server-name "192.168.0.1";

# define the SVP server address option 151 if using SVP QoS
option svp-server 192.168.0.5; # option 151

# define the OAI server address option 152
option oai-server 192.168.0.6; # option 152
}

# DHCP lease pool for other devices
pool {
deny members of "SpectraLinkPhones";
range 192.168.0.150 192.168.0.199;
next-server 192.168.0.1;
option tftp-server-name "192.168.0.1";