Configure a Patton VoIP Gateways with 3CX
Supported Models Patton SN4940, SN4950, SN4960, SN4970, SN4980, SN4990
After you familiarize yourself with the basic concept of SIP Trunks (http://www.3cx.com/docs/manual/sip-trunks/) proceed to add a PSTN gateway into the PBX. All templates are designed to work with Patton SmartWare firmware and the device should run on the “latest 6.X firmware”.
- Trinity Firmware/Devices are NOT supported
- The device must be local to 3CX, in the same subnet and/or locally routed subnet (including site to site VPN)
This guide focuses on the setup of ISDN T1/E1/S2M/PRI (primary rate interface). If you are looking for another technology:
- ISDN BRI go here: Patton ISDN BRI
- Analog FXO go here: Patton Analog FXO
- Analog FXS soon to follow: Patton Internal Analog FXS
Step 1: Add and Choose Device
Navigate to “SIP Trunks” within the 3CX Management Console and select “Add Gateway”:
- Select Brand: Patton
- Select model/device: Patton ISDN E1 or Patton ISDN T1
(E1 lines are also known as PRI, S2M, T1 is commonly used in the USA)
- Number of Physical PSTN Ports on device: The amount of PRI ports the device has in total (not how many ports are going to be used).
- Main Trunk No: Define a number of your ISDN lines which should act as catch all destination. Commonly your most important number of all.
- Press “OK” to save the device.
Step 2: PSTN Line Setup
Now you need to define some device and line specific options:
- Registrar: Enter your Patton FXO device’s IP address.
(the IP address will be set to static in case DHCP is being used)
- Subnet Mask: Enter your Network Mask size.
(if network topologies requires routing informations such as default routes, see here how to add the default route to a Patton device).
- Tone Set: Define in which country your are using this device. If the country is not listed request from your telco the used tone set of your line.
- Number of SIM Calls: Define how many ISDN ports are going to be used. This might be equal to the amount of physical PSTN ports the device has or less. For each port been used enter the reflecting value below:
For a T1 device:
- 1 Port enter 23 SIM Calls
- 2 Ports enter 46 SIM Calls
and so on
For a E1 device:
- 1 Port enter 30 SIM Calls
- 2 Ports enter 60 SIM Calls
and so on
Step 3: Port Configuration
Navigate to the “Options” tab and in the section “PSTN Gateway Options”. In this section define how calls should be placed to the PSTN network.
- Signalling Protocol: Options depend on the interface type. For E1 most commonly is DSS1 whereas for T1, NI2 is the default option.
- Overlap Dialing: This refers to whether or not any further digits are received by the gateway after the initial call is received. Setting this option to “YES” will ensure that all digits will be sent to the 3CX Phone System. This may cost some delaying in the incoming call.
- Hunting Mode: As all PRI ports will be placed in a hunt group, select how the Patton device should allocate the ports while placing outbound calls. Options are: “Normal” (always start from the first port, first channel) or opt to take a “Cyclical” approach (spreading the calls across all ports evenly in a round robin manner). Note: ports that are already in use will be skipped and the next available port will be used.
Step 3: Upload Configuration
By pressing the ”Generate config file”, the 3CX Management Console will directly open the web interface of the Patton gateway on the “Import Configuration” page (e.g. http://192.168.9.45/imp-cfg.html). A configuration file is automatically downloaded which then needs to be saved and uploaded onto the Patton device by using the browse and import button.
The device will reboot in order to apply the configuration. After this the “Port/Trunk” status on the Management Console should change from RED to GREEN.
Step 4: Add Inbound Rules
To create “Inbound Rules” read Chapter 12 of the admin manual: Inbound Rules - Routing incoming calls.
Step 5: Add Outbound Rules
To create “Outbound Rules” read Chapter 13 of the admin manual: Outbound rules - Routing outgoing calls.