Grandstream 3CX User Manual

Grandstream Networks, Inc.
Configuring Grandstream Devices with 3CX Phone System
P a g e | 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
Remote Devices using 3CX SBC ............................................................................................. 10
Remote Devices using STUN ................................................................................................... 12
MPK / VPK Configuration ......................................................................................................... 14
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 | 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: GXV3275 Account General Settings............................................................................................ 11
Figure 7: Outbound Proxy setting ............................................................................................................... 11
Figure 8: Configure Remote extension via STUN ....................................................................................... 12
Figure 9 : NAT Traversal set to STUN ......................................................................................................... 13
Figure 10: General Settings – STUN server ............................................................................................... 13
Figure 11: Create a VPK on GXP2170 ....................................................................................................... 14
Figure 12: BLF Key ..................................................................................................................................... 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: RPS Request for GXP2170 ....................................................................................................... 22
P a g e | 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 g e | 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.
In this network setup, we consider the following:
3CX Phone System IP is “192.168.5.116”.
Grandstream devices (IP: 192.168.5.210,192.168.5.136,192.168.5.212) are in same LAN as 3CX
server.
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 is 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 g e | 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.
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.
TCP port of 8001 with HTTP was configured during installation used for the provisioning of remote
extensions (default is 5000 for HTTP and 5001 for HTTPS).
UDP port 5060: used for SIP traffic.
UDP ports 9000–9500 used for audio and video (RTP) traffic (default is 9000-10999)
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 g e | 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