Remote Devices using STUN ....................13 AUTO-PROVISIONING ....................16 Local Devices (LAN) .......................16 Plug and Play ............................16 Add New Device ..........................18 Remote Devices using 3CX SBC ....................19 Remote Devices using STUN ....................20 P a g e Configuring Grandstream Devices with 3CX Phone System...
Page 3
Table of Figures Figure 1: SIP Phones in the same LAN as 3CX Phone System ..............5 Figure 2: Remote Phone Located Behind SBC..................6 Figure 3: Remote Phone using STUN ...................... 7 Figure 4: Account Configuration on GXP2170 ..................9 Figure 5: Phones Panel .........................
SIP servers supporting this feature such as 3CX Phone System. Using auto-provisioning, Grandstream devices can be configured with zero configuration on the device side. This guide will help users to configure their Grandstream devices with 3CX Phone System via manual configuration or via auto-provisioning.
Figure 1: SIP Phones in the same LAN as 3CX Phone System SBC (Session Border Controller) In case users have SIP devices outside the local network of 3CX Phone System but behind a 3CX Session Border Controller, it’s possible to configure them with 3CX Phone System.
Grandstream Devices support STUN mode in SIP Network Settings, allowing them to communicate with 3CX Phone System across the WAN. 3CX Phone System must be using a static public IP / FQDN, and the firewall should allow SIP / RTP traffic: •...
Internet Router Router using Dynamic Public IP Switch Switch 3CX Phone System FQDN: gstest.3cx.eu Private IP: 192.168.6.95 Private IP: 192.168.5.116 Figure 3: Remote Phone using STUN P a g e Configuring Grandstream Devices with 3CX Phone System...
SIP Extension Configuration To configure SIP extension, follow below steps: 1. Take note of the ID and password fields of the extension from 3CX Phone System which will be configured on the device. 2. Connect the device to the network and power supply. The phone will boot up and obtain an IP address (assuming a DHCP server is available in the network).
Figure 4: Account Configuration on GXP2170 7. Click on Save and Apply for the configuration to take effect and register the account. The phone will send SIP REGISTER request to 3CX Phone System and get the extension registered. P a g e...
Figure 5: Phones Panel Note: Since the phone used is already on the same network as the 3CX Phone System, users may either use 3CX Phone System private IP or FQDN on SIP Server Field. MPK / VPK Configuration Multi-Purpose Keys (MPK), and Virtual Multi-Purpose Keys (VPK) on supported models can be configured to act as Speed Dial, BLF (Busy Lamp Field) and more other features.
Figure 6: Create a VPK on GXP2170 4. To configure a Key as BLF for instance to monitor another extension on 3CX Phone System, set Mode to Busy Lamp Field (BLF). Figure 7: BLF Key 5. In Accounts dropdown list, select the account to use with this VPK.
Note: We will use GXV3275 as example. Same configuration applies to other models. 1. Take note of SIP extension credentials from 3CX Phone System to be configured on the device. 2. Log in to the phone and go to Account General Settings.
Figure 9: Outbound Proxy setting 7. Click on Save and Apply to register the extension with 3CX Phone System as tunneled via 3CX SBC. Remote Devices using STUN To configure a remote Grandstream device using STUN, follow below instructions: Note: We will use GXP2135 as example. Same configuration applies to other models.
Figure 11: NAT Traversal set to STUN 7. Press Save button and navigate to Settings General Settings. In STUN Server field, set a valid STUN server (“stun.3cx.com:3478” for example). P a g e Configuring Grandstream Devices with 3CX Phone System...
Figure 12: General Settings – STUN server 8. Press Save and Apply to register the device with 3CX Phone System. P a g e Configuring Grandstream Devices with 3CX Phone System...
3CX Phone System, behind a 3CX Session Border Controller, or remotely using STUN. Local Devices (LAN) When having the devices on the same network as 3CX Phone System, users have the ability to provision end devices automatically either using Plug and Play feature, or by adding the device on the 3CX Phone System.
Figure 14: Assign Extension to Phone 4. Users can configure advanced options on the device during provisioning such as voice codecs, Forwarding Rules, BLF… as shown in below figure. P a g e Configuring Grandstream Devices with 3CX Phone System...
Add New Device Users have also the possibility to prepare 3CX Phone System to provision Grandstream devices that will be deployed with the system before having them connected to the network. To add a new device to 3CX Phone System, follow below steps: 1.
To auto-provision Grandstream devices located behind a 3CX SBC, follow below steps: 1. Log in to the remote 3CX Phone System and go to Phones panel. 2. Select the device to provision and click on Add Ext (to create a new extension for this device) or Assign Ext (to assign a previously created extension).
Remote Devices using STUN To configure remote extensions using STUN, follow below steps: 1. Log in to the 3CX Phone System and go to Phones panel. 2. Click on Add Phone, and choose an extension to assign. 3. Choose the device’s model from available models list, and enter its MAC address as shown in below figure.
Provisioning Method: Direct SIP (STUN – remote) MAC Address: Leave as preconfigured (MAC address of the phone entered). Select Interface: 3CX FQDN preconfigured (in this example: “gstest.3cx.eu”). Local SIP Port of Phone: set the local SIP port used by the phone.
Figure 20: Provisioning using STUN 6. Click on OK to save and apply changes. 3CX will prepare a configuration file for the phone with configured MAC address, model and settings. 7. Access remote phone’s web interface, navigate to Maintenance Upgrade and set following: Config Upgrade via: Set provisioning protocol (in this example: “HTTPS”).