Polycom Server Setup

This is the configuration that was used for a VX400 VX410 series Polycom phones.

Some documentation:

Primary support page for Polycom VX4xx phones:

DHCP Offset for Option 042

Prerequisites:
  1. Factory reset your phone

How to reset your Polycom VVX phone

  1. Press and hold buttons 1, 3, and 0 to force the phone to reset.

  2. Power on the phone and wait for the Starting Application dialog to appear as the phone boots.

  3. Press cancel to stop the Starting Application dialog.

  4. The Welcome dialog will count down from 7. During this process, hold buttons 1, 3, and 5 simultaneously to summon the password prompt.

  5. Enter the MAC address using lower case characters. For letters, select the a->1A mode and press the key the amount of times the letter requires. (For example, the letter “F” would need to be pressed three times.) Since there’s no backspace option, please type the address carefully to make sure there are no errors. However, if needed, you can hold 1, 3, and 5 again to restart the process.

  6. Once entered, the Polycom phone will have been reset. The new default password is 456.

  1. Make sure that the C:\inetpub\ftproot folder/directory has everyone user with modify set.
  2. Be sure that you configure the below for the data vlan as well as the voice vlan

Example of a DHCP config with the custom parameters:VLAN 155 being used 10.105.5.240 = FTP server

  1. Phone will boot up. 
  2. Get an IP from network, get OPTION 128, 144, 157, 191 and go to VOICE VLAN. 
  3. Phone will then get OPTION 66 and connect to phone server for FTP. 
  4. It will then search for the mac.cfg file which will not be found, so the phone will use the default master configuration file:  000000000000.cfg
  5. This master configuration file says to look for a CONFIG_FILE name ‘reg-basic_MACADDRESS.cfg‘. The phone will download both. 

Phone will connect to SIP server ‘10.105.5.245‘ for registration using the username ‘4006‘ and SIP password ‘123456‘.Phone should come online Online.

Phone Configuration file (each phone gets a configuration file):

4006 - Ext
4106 - Voicemail Ext
10.105.5.245 - SIP registration switch
device.sntp.gmtOffset="36000" = Sydney Timezone
device.baseProfile="generic" = Sets phone to NOT use Lync which is default
tcpIpApp.sntp.address="asia.pool.ntp.org"

reg-basic_64167F179400.cfg

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Generated reg-basic.cfg Configuration File -->
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
  <call call.callsPerLineKey="24" call.callsPerLineKey.VVX101="8" call.callsPerLineKey.VVX150="8" call.callsPerLineKey.VVX201="8" call.callsPerLineKey.VVX410="12" call.callsPerLineKey.VVX400="12">
  </call>
  <reg reg.1.address="4006" reg.1.auth.loginCredentialType="usernameAndPassword" reg.1.auth.userId="4006" reg.1.auth.password="123456" reg.1.displayName="Ned Kelly" reg.1.label="4006" msg.mwi.1.callBackMode="contact" msg.mwi.1.callBack="4106" divert.1.contact="4106" msg.mwi.1.subscribe="4106" msg.bypassInstantMessage="1" net.interface.mtu="1400" call.switchToLocalRingbackWithoutRTP ="1" voIpProt.server.1.address="10.105.5.245" voIpProt.SIP.local.port="5060" device.baseProfile.set="1" device.baseProfile="generic" device.prov.serverType.set="1" device.prov.serverType="FTP" device.prov.serverName.set="1" device.prov.ztpEnabled="0" device.prov.ztpEnabled.set="1" device.set="1" tcpIpApp.sntp.address="asia.pool.ntp.org" tcpIpApp.sntp.gmtOffsetcityID="113" tcpIpApp.sntp.gmtOffset="36000" device.sntp.gmtOffset.set="1" device.sntp.gmtOffset="36000" device.sntp.gmtOffsetcityID.set="1" device.sntp.gmtOffsetcityID="113"
  </reg>
</polycomConfig>

000000000000.cfg

<?xml version="1.0" standalone="yes"?>
<!-- Default Master SIP Configuration File-->
<!-- For information on configuring Polycom VoIP phones please refer to the -->
<!-- Configuration File Management white paper available from: -->
<!-- http://www.polycom.com/common/documents/whitepapers/configuration_file_management_on_soundpoint_ip_phones.pdf -->
<APPLICATION APP_FILE_PATH="sip.ld" DECT_FILE_PATH="3111-17823-001.dect.ld" CONFIG_FILES="reg-basic_[PHONE_MAC_ADDRESS].cfg" SERVICE_FILES="" MISC_FILES="" LOG_FILE_DIRECTORY="" OVERRIDES_DIRECTORY="" CONTACTS_DIRECTORY="" LICENSE_DIRECTORY="" USER_PROFILES_DIRECTORY="" CALL_LISTS_DIRECTORY="" COREFILE_DIRECTORY="" CERTIFICATE_DIRECTORY="" FLK_DIRECTORY="">
<APPLICATION_SPIP400 APP_FILE_PATH_SPIP400="3111-46157-002.sip.ld" CONFIG_FILES_SPIP400="reg-basic_[PHONE_MAC_ADDRESS].cfg" />
<APPLICATION_SPIP410 APP_FILE_PATH_SPIP410="3111-46162-001.sip.ld" CONFIG_FILES_SPIP410="reg-basic_[PHONE_MAC_ADDRESS].cfg" />
<APPLICATION_SPIP411 APP_FILE_PATH_SPIP411="3111-48450-001.sip.ld" CONFIG_FILES_SPIP411="reg-basic_[PHONE_MAC_ADDRESS].cfg" />
</APPLICATION>

Extra Info that is optional:

If you want to control the VLAN from the configuration level:Below example would set the DHCP VLAN Discovery to custom and  to the custom value of 222.

<vlan device.set=”1″ device.dhcp.dhcpVlanDiscUseOpt.set=”1″ device.dhcp.dhcpVlanDiscUseOpt=”Custom” device.dhcp.dhcpVlanDiscOpt.set=”1″ device.dhcp.dhcpVlanDiscOpt=”222″ />

Below example would set the DHCP VLAN Discovery to disabled and and set a fixed VLAN ID of 111.

<vlan device.set=”1″device.dhcp.dhcpVlanDiscUseOpt.set=”1″ device.dhcp.dhcpVlanDiscUseOpt=”Disabled” device.net.vlanId.set=”1device.net.vlanId=”111″/>

Valid current Part Numbers and Phone Models:

GMT City ID0

(GMT -12:00) Eniwetok,Kwajalein1
(GMT -11:00) Midway Island2
(GMT -10:00) Hawaii3
(GMT -9:00) Alaska4
(GMT -8:00) Pacific Time (US & Canada)5
(GMT -8:00) Baja California6
(GMT -7:00) Mountain Time (US & Canada)7
(GMT -7:00) Chihuahua,La Paz8
(GMT -7:00) Mazatlan9
(GMT -7:00) Arizona10
(GMT -6:00) Central Time (US & Canada)11
(GMT -6:00) Mexico City12
(GMT -6:00) Saskatchewan13
(GMT -6:00) Guadalajara14
(GMT -6:00) Monterrey15
(GMT -6:00) Central America16
(GMT -5:00) Eastern Time (US & Canada)17
(GMT -5:00) Indiana (East)18
(GMT -5:00) Bogota,Lima19
(GMT -5:00) Quito20
(GMT -4:30) Caracas21
(GMT -4:00) Atlantic Time (Canada)22
(GMT -4:00) San Juan23
(GMT -4:00) Manaus,La Paz24
(GMT -4:00) Asuncion,Cuiaba25
(GMT -4:00) Georgetown26
(GMT -3:30) Newfoundland27
(GMT -3:00) Brasilia28
(GMT -3:00) Buenos Aires29
(GMT -3:00) Greenland30
(GMT -3:00) Cayenne,Fortaleza31
(GMT -3:00) Montevideo32
(GMT -3:00) Salvador33
(GMT -3:00) Santiago34
(GMT -2:00) Mid-Atlantic35
(GMT -1:00) Azores36
(GMT -1:00) Cape Verde Islands37
(GMT 0:00) Western Europe Time38
(GMT 0:00) London,Lisbon39
(GMT 0:00) Casablanca40
(GMT 0:00) Dublin41
(GMT 0:00) Edinburgh42
(GMT 0:00) Monrovia43
(GMT 0:00) Reykjavik44
(GMT +1:00) Belgrade45
(GMT +1:00) Bratislava46
(GMT +1:00) Budapest47
(GMT +1:00) Ljubljana48
(GMT +1:00) Prague49
(GMT +1:00) Sarajevo,Skopje50
(GMT +1:00) Warsaw,Zagreb51
(GMT +1:00) Brussels52
(GMT +1:00) Copenhagen53
(GMT +1:00) Madrid,Paris54
(GMT +1:00) Amsterdam,Berlin55
(GMT +1:00) Bern,Rome56
(GMT +1:00) Stockholm,Vienna57
(GMT +1:00) West Central Africa58
(GMT +1:00) Windhoek59
(GMT +2:00) Bucharest,Cairo60
(GMT +2:00) Amman,Beirut61
(GMT +2:00) Helsinki,Kyiv62
(GMT +2:00) Riga,Sofia63
(GMT +2:00) Tallinn,Vilnius64
(GMT +2:00) Athens,Istanbul65
(GMT +2:00) Damascus66
(GMT +2:00) E.Europe67
(GMT +2:00) Harare,Pretoria68
(GMT +2:00) Jerusalem69
(GMT +2:00) Kaliningrad (RTZ 1)70
(GMT +2:00) Tripoli71
(GMT +3:00) Moscow72
(GMT +3:00) St.Petersburg73
(GMT +3:00) Volgograd (RTZ 2)74
(GMT +3:00) Kuwait,Riyadh75
(GMT +3:00) Nairobi76
(GMT +3:00) Minsk77
(GMT +3:30) Tehran78
(GMT +3:00) Baghdad79
(GMT +4:00) Abu Dhabi,Muscat80
(GMT +4:00) Baku,Tbilisi81
(GMT +4:00) Izhevsk,Samara (RTZ 3)82
(GMT +4:00) Port Louis83
(GMT +4:00) Yerevan84
(GMT +4:30) Kabul85
(GMT +5:00) Ekaterinburg (RTZ 4)86
(GMT +5:00) Islamabad87
(GMT +5:00) Karachi88
(GMT +5:00) Tashkent89
(GMT +5:30) Mumbai,Chennai90
(GMT +5:30) Kolkata,New Delhi91
(GMT +5:30) Sri Jayawardenepura92
(GMT +5:45) Kathmandu93
(GMT +6:00) Astana,Dhaka94
(GMT +6:00) Almaty95
(GMT +6:00) Novosibirsk (RTZ 5)96
(GMT +6:30) Yangon (Rangoon)97
(GMT +7:00) Bangkok,Hanoi98
(GMT +7:00) Jakarta99
(GMT +7:00) Krasnoyarsk (RTZ 6)100
(GMT +8:00) Beijing,Chongqing101
(GMT +8:00) Hong Kong,Urumqi102
(GMT +8:00) Kuala Lumpur103
(GMT +8:00) Singapore104
(GMT +8:00) Taipei,Perth105
(GMT +8:00) Irkutsk (RTZ 7)106
(GMT +8:00) Ulaanbaatar107
(GMT +9:00) Tokyo,Seoul,Osaka108
(GMT +9:00) Sapporo,Yakutsk (RTZ 8)109
(GMT +9:30) Adelaide,Darwin110
(GMT +10:00) Canberra111
(GMT +10:00) Magadan (RTZ 9)112
(GMT +10:00) Melbourne113
(GMT +10:00) Sydney,Brisbane114
(GMT +10:00) Hobart115
(GMT +10:00) Vladivostok116
(GMT +10:00) Guam,Port Moresby117
(GMT +11:00) Solomon Islands118
(GMT +11:00) New Caledonia119
(GMT +11:00) Chokurdakh (RTZ 10)120
(GMT +12:00) Fiji Islands121
(GMT +12:00) Auckland,Anadyr122
(GMT +12:00) Petropavlovsk-Kamchatsky (RTZ 11)123
(GMT +12:00) Wellington124
(GMT +12:00) Marshall Islands125
(GMT +13:00) Nuku’alofa126
(GMT +13:00) Samoa

To Add new Users:
The US is currently the only users using the Polycom phones. There is already a 000000000000.cfg there now.

Move phone to a New User:

  1. Copy an existing phone configuration file
  2. Save it in all lower case (Example: reg-basic_MACADDRESS.cfg)
  3. Edit the file and change the following parameters to match the user’s extension number and the name you want to display on the phone.
  4. Make sure the user in the Mitel Director has the same SIP password of 123456reg

reg reg.1.address="7718"
reg.1.auth.userId="7718"
reg.1.label="7718"
reg.1.displayName="Ben Deedog"

Move phone to a New User:

  1. Change the MAC address file parameters to match the new user.
  2. Make sure the user in the Mitel Director has the same SIP password