<customisations>
  <!-- Set the Base Profile to Lync mode, with firmware updates from Provisioning Server -->
  <device device.set="1" device.baseProfile.set="1" 
  device.baseProfile="generic"
  device.sntp.gmtOffsetcityID="53" />
  
  <!-- Advanced: Disable LLDP and/or CDP if required. Refer https://community.polycom.com/t5/VoIP-SIP-Phones/FAQ-Utilizing-VLAN-s-with-Polycom-phones/td-p/38100 -->
  <device device.net.lldpEnabled="0" device.net.lldpEnabled.set="0" device.net.cdpEnabled="0" device.net.cdpEnabled.set="0" />

  
  <!-- Specify background image and browser (Application) settings -->
  <!-- For more details on the image requirements see https://greiginsydney.com/optimising-polycom-vvx-background-images/ -->
  <bg bg.color.selection="2,1" bg.color.bm.1.name="ccx400.jpg"/>
  
    
  <!-- Power Saving : force "office hours" 24x7 & sleep after 10 minutes -->
  <powerSaving powerSaving.enable="1" />
  <powerSaving.officeHours powerSaving.officeHours.startHour.monday="0" powerSaving.officeHours.startHour.tuesday="0" powerSaving.officeHours.startHour.wednesday="0" powerSaving.officeHours.startHour.thursday="0" powerSaving.officeHours.startHour.friday="0" powerSaving.officeHours.startHour.saturday="0" powerSaving.officeHours.startHour.sunday="0" />
  <powersaving.officeHours.duration powerSaving.officeHours.duration.monday="24" powerSaving.officeHours.duration.tuesday="24" powerSaving.officeHours.duration.wednesday="24" powerSaving.officeHours.duration.thursday="24" powerSaving.officeHours.duration.friday="24" powerSaving.officeHours.duration.saturday="24" powerSaving.officeHours.duration.sunday="24" />
  <powerSaving.idleTimeout powerSaving.idleTimeout.officeHours="10" />
  <!-- Power Saving : set this to a "0" to stop the MWI LED pulsing a heartbeat while the phone's asleep -->
  <ind ind.pattern.powerSaving.step.1.state="0" />
  
  <!-- Misc : a Warning Level of 1 suppresses the display of nuisance warnings (like the downstream PC is disconnected) -->
  <up up.warningLevel="1" />
  <!-- Want the phone to lock when running BToE to a PC? Set deviceLock.enable to a 1, but beware it triggers a user prompt for a local unlock PIN -->
  <feature feature.btoe.enabled="0" feature.enhancedFeatureKeys.enabled="1" feature.deviceLock.enable="0" feature.directory.enabled="1" />
  <!-- Enable Audible Reminder of Held Call feature -->
  <call call.hold.localReminder.enabled="1" call.hold.localReminder.period="30" call.hold.localReminder.startDelay="30" />
  <!-- Set for safe & blind transfers -->
  <call call.transferOnConferenceEnd="1" call.blindTransferSpecialInterop="1" call.defaultTransferType="Blind" />
  <!-- Hide Split and NewCall keys. Note reverse logic on the Redial key: 0 *enables* it! -->
  <softkey softkey.feature.split="1" 
    softkey.feature.redial="0"
	softkey.feature.newcall="1"
	softkey.feature.meetNow="1"
	softkey.feature.myStatus="1" />
  <softkey softkey.1.enable="1" softkey.1.label="Redial" softkey.1.use.idle="1" softkey.1.action="$FRedial$" />
  <efk efk.softkey.alignLeft="1" />
    
  <!-- If you're entirely on-prem, a 0 here will hide the Web Sign-in option -->
  <feature feature.webSignIn.enabled="0" />
  
	<!-- Dress up the home screen. Set any to “0" to suppress -->
	<homeScreen 
	homeScreen.BToE.enable="0"
	homeScreen.application.enable="1"
	homeScreen.calendar.enable="1"
	homeScreen.directories.enable="1"
	homeScreen.features.enable="1"
	homeScreen.messages.enable="1"
	homeScreen.newCall.enable="1"
	homeScreen.redial.enable="1"
	homeScreen.settings.enable="1"
	homeScreen.status.enable="1"
	homeScreen.forward.enable="1"
	homeScreen.doNotDisturb.enable="1"
	homeScreen.wifi.enable="0"
	/>

	<!-- Align softkeys with home-screen. Disabling here removes ALL references everywhere -->
	<feature feature.doNotDisturb.enable="0" feature.forward.enable="0" />
  
  <!-- Give the user the ability to lock their phone. (Un-comment the below to enable, but don't forget to customise or remove the authorised destinations) -->
  <!-- <phoneLock phoneLock.enabled="1" phoneLock.authorized.1.description="Taxi" phoneLock.authorized.1.value="+6112345678" phoneLock.authorized.2.description="Pizza" phoneLock.authorized.2.value="+61270001223"/> -->
  <!-- <softkey softkey.2.enable="1" softkey.2.label="Lock" softkey.2.use.idle="1" softkey.2.action="$FLockPhone$" softkey.2.precede="0" /> -->
  
  <!-- Set the "Messages" key to call Voicemail. Change "#UM-ContactAddress#@contoso.com" below to the SIP Address of your get-CsExUmContact -->
  <msg>
    <msg msg.bypassInstantMessage="1" />
    <msg.mwi.1 msg.mwi.1.callBackMode="contact" msg.mwi.1.callBack="sip:*97@sip.vafe.lan" />
  </msg>
  <!-- Enable the phone's inbuilt MOH and fix the Sonus MOH bug. Thank you James: http://www.myskypelab.com/2016/10/polycom-vvx-hold-issue-with-sonus.html -->
  <feature feature.moh.enabled="1" feature.moh.filename="Polycom-hold.wav" feature.moh.payload="60" />
  <res res.quotas.tone="1000" />
  
  <!-- Remove the default US E.911 values (obviously, *delete* this section for US locations!!) Please TEST it before putting the phone into production! -->
  <dialplan dialplan.1.e911dialmask="112" dialplan.1.e911dialstring="000" dialplan.routing.emergency.1.value="000" />
  <!-- Just dial any unknown number strings after 4s. Let the server handle it... -->
  <dialplan dialplan.impossibleMatchHandling="3" dialplan.impossibleMatchHandling.timeOut="4" />
  <!-- "0" disables the picture frame in the VVX500 and 1500 (otherwise on by default) -->
  <!-- "0" gives a 12-hour clock, "1" is 24. The admin guide has more clock & time/date display options -->
  <lcl lcl.datetime.time.24HourClock="1" />
  <!-- Volume persist settings: a "1" will retain the volume settings after each call -->
  <voice voice.volume.persist.handset="1" voice.volume.persist.headset="1" voice.volume.persist.handsfree="1" />
  <!-- 1 = Label the Line key with the number, 0 = Show the name -->
  <reg reg.1.useTelUriAsLineLabel="0" />
  
  <!-- New in 5.7.1. Thank you Thamara:  https://thamaraw.com/2018/04/27/fixing-line-label-display-in-polycom-vvx-devices-on-version-5-7-x/ -->
  <up up.DIDformat="numberOnly" />
  
  <!-- Water these down if you encounter problems with SRTP like this: http://www.wavecoreit.com/blog/serverconfig/proxy-side-media-negotiation-failed-polycom-vvx-call-transfer-failure/ -->
  <reg reg.1.srtp.enable="1" reg.1.srtp.offer="1" reg.1.srtp.require="1" />
  <!-- Enable the usual voice codecs.  -->
  <voice voice.codecPref.G722="1" voice.codecPref.G711_Mu="2" voice.codecPref.G711_A="3" />
  <!-- Passwords and Security -->
  <sec sec.pwd.length.admin="3" sec.pwd.length.user="3" sec.tagSerialNo="1" />
  <!-- Customise the Admin Password to your own environment: -->
  <device device.auth.localAdminPassword="4566" device.auth.localAdminPassword.set="1" />
  <device device.prov.tagSerialNo="1" device.prov.tagSerialNo.set="1" />
  <!-- Automatic overnight config checks (improves device security) -->
  <prov prov.polling.enabled="1" prov.polling.mode="random" prov.polling.period="86400" prov.polling.time="01:00" prov.polling.timeRandomEnd="05:00" />
  <!-- a "1" here will enable a Sysadmin to force a reboot remotely -->
  <VoIpProt voIpProt.SIP.specialEvent.checkSync.alwaysReboot="1" />
  <!-- Minimise logging uploads -->
  <log log.render.level="6" log.render.file.upload.append.sizeLimit="128" />
  <!-- We definitely don't want call recording on! -->
  <feature feature.callRecording.enabled="0" />
    
  <!-- Tweak the QoS values & RTP media port as required -->
  <tcpIpApp tcpIpApp.port.rtp.mediaPortRangeStart="5350" tcpIpApp.port.rtp.mediaPortRangeEnd = "5390" tcpIpApp.port.rtp.videoPortRange.enable="1" tcpIpApp.port.rtp.videoPortRangeStart="5391" tcpIpApp.port.rtp.videoPortRangeEnd="5430" />

  <!-- Enable access to the phone's website, but force HTTPS & move it to port 4443 -->
  <httpd httpd.enabled="1" httpd.cfg.enabled="1" httpd.cfg.secureTunnelRequired="1" httpd.cfg.secureTunnelPort="443" httpd.ta.enabled="1"/>

  <!-- Use these to add support for James' fantastic "VVX Manager" GUI tool (http://www.myskypelab.com/2015/10/skype-for-business-lync-polycom-vvx.html) -->
  <apps apps.restapi.enabled="1" />
  <apps.push apps.push.alertSound="1" apps.push.messageType="5" apps.push.serverRootURL="push" apps.push.password="vvxmanager" apps.push.username="vvxmanager" apps.push.secureTunnelPort="4443" />

  <!-- When all else fails, enable syslog! 0=debug, 6=only the nastiest crashes-->
  <!-- <device device.syslog.serverName="#YourSyslogServer#" device.syslog.transport="UDP" device.syslog.renderLevel="6" /> -->

</customisations>
</polycomConfig>
