Need to automatically provision your Polycom phones against Endpoint Manager in FreePBX, or another config source with a Ubiquiti EdgeRouter?
Simply add this to your DHCP configuration and substitute YOUR_DHCP_NAME_HERE, your subnet (192.168.100.0/24) and the IP address (192.168.100.5) or name with your provisioning server below. To change to ftp or http, simply change the URL prefix.
set service dhcp-server global-parameters "option option-160 code 160 = string;" set service dhcp-server shared-network-name YOUR_DHCP_NAME_HERE subnet 192.168.100.0/24 subnet-parameters "option option-160 "tftp://192.168.100.5";"
Took me a while of searching and experimenting to get this right, but I can tell you with tftp and the exact example above it works perfectly!
Also at my tech blog: http://blog.waldrondigital.com/2016/10/13/auto-provisioning-polycom-phones-via-dhcp-option-160-with-edgemaxedgerouter/