How to auto-provision IP phones with DHCP 'option 66'
After you have created the extension in 3CX PhoneSystem, entered the MAC address of the phone, and specified the model, you will need to configure the phone to retrieve the configuration from the 3CX PhoneSystem provisioning URL. When deploying a large number of IP phones on your network, it is best to use DHCP 'option 66' to automatically instruct the phone with the provisioning URL. For the purposes of this FAQ, we will assume that the DHCP Server to be configured is running Microsoft’s DHCP server, and that the IP Address of the 3CX PhoneSystem machine is 10.172.0.2.
-
Open your DHCP Console.
-
Expand the Reservations node of your DHCP Scope.
-
Right Click the “Reservations” node and select “New Reservation”.
-
Enter a friendly name for the phone you are creating a reservation for.
-
Enter the IP Address that you wish to be assigned to the phone.
-
Enter the MAC address of the phone, using lower case letters and no spaces or other characters.
-
Click “Add”.
- Your new reservation will now appear in the reservation list. Right click on the reservation and click “Configure Options”.
- Scroll down the list and enable Option 66.
- Each phone vendor will require the Option 66 string to be in a particular format, and the format also changes depending whether the 3CX PhoneSystem was installed for Cassini or for IIS. Please review this list to identify the correct string for your phones:
3CX PhoneSystem for Cassini
Aastra Phones
http://10.172.0.2:5481/provisioning/
Grandstream Phones
10.172.0.2:5481/provisioning
Polycom Phones
http://10.172.0.2:5481/provisioning/
Snom Phones
http://10.172.0.2:5481/provisioning/cfg{mac}
Cisco SPA5XXG Phones
http://10.172.0.2:5481/provisioning/$MA.xml
Yealink T2x Phones
http://10.172.0.2:5481/provisioning/
3CX PhoneSystem for Microsoft IIS
Aastra Phones
http://10.172.0.2/management/provisioning/
Grandstream Phones
10.172.0.2/management/provisioning
Polycom Phones
http://10.172.0.2/management/provisioning/
Snom Phones
http://10.172.0.2/management/provisioning/cfg{mac}
Cisco SPA5XXG Phones
http://10.172.0.2/management/provisioning/$MA.xml
Yealink T2x Phones
http://10.172.0.2/management/provisioning/
- Once you apply the changes, the completed DHCP entry will look similar to the following:
-
Switch on the phone. Once the telephone set is booted up, the phone set’s IP address will be displayed on the screen, and the phone should have successfully registered with 3CX PhoneSystem.
Notes:
-
This document assumes that the phone is new or has been reset to "Factory Defaults". If in doubt, reset to "Factory Defaults.
- Linksys phones cannot use Option 66 for HTTP URLs. To provision a Linksys Phone (assuming the phone has IP Address 10.172.0.150), simply launch a browser on the same LAN as the Linksys Phone AND the PBX, and run the following URL (note difference between Cassini and IIS scenarios:
3CX PhoneSystem for Cassini:
http://10.172.0.150/admin/resync?http://10.172.0.2:5481/provisioning/spa$PSN.cfg
3CX PhoneSystem for Microsoft IIS:
http://10.172.0.150/admin/resync?http://10.172.0.2/management/provisioning/spa$PSN.cfg
-
If you need a solution that does not require DHCP Option 66, you can also manually insert the provisioning URL in each phone, according to the phone specific configuration guides.
SIP Phone Configuration Guides (Preferred) 
- 3CXPhone for Android (Provisioned)
- 3CXPhone for Windows
- CISCO SPA 501G, 502G, 504G, 508G, 509G, 525G (Manual configuration)
- CISCO SPA 501G, 502G, 504G, 508G, 509G, 525G (Provisioned)
SIP Phone Configuration Guides (Supported) 
- GrandStream GXP-2000 (Manual configuration)
- GrandStream GXP-2000 and GXP-2020 (Provisioned)
- GrandStream HandyTone 386 ATA
- GrandStream HandyTone 486(487),286(287) ATA
- Linksys 3102 ATA and Fax - T38 Fax Pass-through
- Linksys SPA 901, 921, 941, 922, 942, 962 (Manual configuration)
- Linksys SPA 901, 921, 941, 922, 942, 962(Provisioned)
- Polycom SoundPoint IP 320, 321, 330, 331, 430, 450, 550, 560, 650, 670 (Manual configuration)
- Polycom SoundPoint IP 320, 321, 330, 331, 430, 450, 550, 560, 650, 670(Provisioned)
- Polycom SoundStation IP6000
- Snom 300, 320, 360, 370, 820 (Manual configuration)
- Snom 300, 320, 360, 370, 820 (Provisioned)
- Yealink T20, T22, T26, T28 (Manual configuration)
- Yealink T20, T22, T26, T28 (Provisioned)
SIP Phone Configuration Guides (Tested) 
|