Grandstream Networks 3CX Configuration Manual

Grandstream Networks, Inc.
Configuring Grandstream Devices with 3CX Phone System
P a ge | 2
Configuring Grandstream Devices with 3CX Phone System
Table of Content
INTRODUCTION ............................................................................................................. 4
NETWORK SETUP ......................................................................................................... 5
Local Network (LAN) ................................................................................................................ 5
SBC (Session Border Controller) ............................................................................................. 5
Remote STUN ......................................................................................................................... 6
MANUAL CONFIGURATION .......................................................................................... 8
Local Devices (LAN) ................................................................................................................ 8
SIP Extension Configuration ................................................................................................................. 8
MPK / VPK Configuration .................................................................................................................... 10
Remote Devices using 3CX SBC ............................................................................................12
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 ge | 3
Configuring Grandstream Devices with 3CX Phone System
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 ......................................................................................................................... 10
Figure 6: Create a VPK on GXP2170 ..................................................................................................... 11
Figure 7: BLF Key.................................................................................................................................. 11
Figure 8: GXV3275 Account General Settings ........................................................................................ 12
Figure 9: Outbound Proxy setting ........................................................................................................... 13
Figure 10: Configure Remote extension via STUN ................................................................................. 14
Figure 11: NAT Traversal set to STUN ................................................................................................... 14
Figure 12: General Settings – STUN server ........................................................................................... 15
Figure 13: GXV3275 Discovered via PnP feature ................................................................................... 17
Figure 14: Assign Extension to Phone .................................................................................................... 17
Figure 15: Configuring BLF .................................................................................................................... 18
Figure 16: Add Phone via MAC address................................................................................................. 18
Figure 17: Devices behind SBC ............................................................................................................. 19
Figure 18: Provisioning via SBC............................................................................................................. 20
Figure 19: Add Phone via MAC address................................................................................................. 21
Figure 20: Provisioning using STUN ................................................................................................ ...... 22
Figure 21: Phone Configuration using STUN .......................................................................................... 22
P a ge | 4
Configuring Grandstream Devices with 3CX Phone System
INTRODUCTION
All Grandstream products are SIP based and respect RFC3261 for SIP and related RFCs, allowing them
to interact with any SIP server including 3CX Phone System.
Grandstream endpoints support PnP (Plug and Play) feature to make devices installation and configuration easy from 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.
This guide covers different network setups including:
Local Devices (LAN): Grandstream devices and 3CX Phone System are located within same local network.
Remote Devices using SBC: Grandstream devices are located in a different network where a 3CX SBC (Session Border Controller) is installed and connected to the remote 3CX Phone System.
Remote Devices using STUN: Grandstream devices are located in a remote network behind a router with NAT.
P a ge | 5
Configuring Grandstream Devices with 3CX Phone System
NETWORK SETUP
In this tutorial, we will use three network setups including LAN, SBC and STUN.
Local Network (LAN)
Grandstream devices and 3CX Phone System are located in the same local network as shown on the
following figure.
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.
In this network setup, we consider the following:
3CX Phone System FQDN is “gstest.3cx.eu”.
3CX SBC is installed and configured correctly (IP: 192.168.6.31). Tunnel port (5090 by default
needs to be opened and forward traffic to SBC machine).
Grandstream device is GXV3275 (IP: 192.168.6.225) located in same LAN as 3CX SBC.
IP: 192.168.5.116
IP: 192.168.5.210
IP: 192.168.5.136
IP: 192.168.5.212
3CX Phone System
Internet
Router
Switch
P a ge | 6
Configuring Grandstream Devices with 3CX Phone System
Figure 2: Remote Phone Located Behind SBC
Remote STUN
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:
TCP port configured during installation used for the provisioning of remote extensions (in this guide,
8001 with HTTPS).
UDP port 5060: used for SIP traffic.
UDP ports 9000–9500: used for RTP traffic (audio/video).
In this network setup, we consider the following:
3CX Phone System FQDN is “gstest.3cx.eu”.
Grandstream device is behind a router with dynamic IP.
IP: 192.168.6.31
IP: 192.168.6.225
3CX SBC
3CX Phone System
FQDN: gstest.3cx.eu Private IP: 192.168.5.116
Router
Switch
Router
Internet
P a ge | 7
Configuring Grandstream Devices with 3CX Phone System
Figure 3: Remote Phone using STUN
FQDN: gstest.3cx.eu Private IP: 192.168.5.116
Private IP: 192.168.6.95
Router using
Dynamic Public IP
3CX Phone System
Internet
Router
Switch
Switch
Loading...
+ 15 hidden pages