Configure Digium G100 Gateway to operate with UCx
Prerequisites
You must be able to login to the G100 Gateway and the UCx Server as an administrator to successfully complete the instructions on this page.
The default IP address of the Digium gateway is 192.168.69.1.
The default IP address of the E-MetroTel UCx server is 192.168.1.200.
The following references provide additional information on the Digium gateway:
- https://www.digium.com/sites/digium/files/voip-gateways-user-manual.pdf
- http://wiki.freepbx.org/display/FOP/Digium+GX00+Gateway+Overview
Configuring Digium Gateway
STEP ONE: SIP Endpoint
-
Login to the Digium Gateway. (default username is admin, default password is admin)
- Navigate to the Configuration - SIP Endpoints page
-
Click on Create SIP Endpoint.
- Give the connection a Name = ucx
- Set a Username = digium
- Set a Password = digium
- For Registration, select Endpoint registers with this gateway
-
Click on Save EndPoint
STEP TWO: T1/E1 Interfaces
The T1/E1 circuit n the Digium G100 gateway defaults to a North America PRI interface using the National ISDN 2 (NI2) Customer Side signalling protocol. Most PRI circuits in North America (US and Canada) are configured as this type of NI2 connection. If you have a PRI using something other than NI2 you would naviagte to the Configuration - T1/E1 Interfaces page and adjust the settings on those pages. We will use the default NI2 settings so no changes are required here.
The default interface is labeled port1. You will need to reference this port in STEP THREE.
STEP THREE: Call Routing Rules
- Navigate to the Configuration - Call Routing Rules page
-
Click on Create Call Routing Rule
- Give this rule a Name = fromUCx
- For the Call Comes in From field, select the UCx SIP endpoint that you created in STEP ONE.
- For the Send Call Through field, select the T1 port labeled port1 (this is the default name configured) from STEP TWO.
-
Press Save Call Routing Rule
- Click on Create Call Routing Rule button to create a second rule.
- Give this rule a Name = toUCx
- For the Call Comes in From field, select the T1 port labeled port1 (this is the default name configured) from STEP TWO.
- For the Send Call Through field, select the UCx SIP endpoint that you created in STEP ONE.
-
Press Save Call Routing Rule
STEP FOUR: IP Configuration
- Navigate to the Configuration - IP Configuration page
- Set the Also Continue Using Default Install IP Address option to YES
-
Set the Reload Remote Config on Reboot option to NO
- Select the Interface 1 tab at the top
- Set the Obtain an IP Address via DHCP option to NO
-
Set the following fields to the static addresses provided to you by your Network Administrator:
- System IP Address
- Network mask
- Gateway Address
-
Click on the Save IP Configuration button at the bottom of the page to save your changes
-
Finally, navigate to the Maintenance - System Reset page and press the Perform System Reboot button
Configuring UCx
STEP ONE: Create SIP trunk
Login to the UCx Web-based Configuration Utility and navigate to the IP Trunk Assistant page to add a new SIP trunk for the Digium Gateway.
Create the new SIP trunk with the following parameters:
- Account Name - provide a name for the account, e.g. DigiumGateway
- Trunk Provider - select VoIP.ms
- User Name - enter the SIP Endpoint username you created in Digium Gateway STEP ONE (e.g. digium)
- Secret - enter the SIP Endpoint password you created in Digium Gateway STEP ONE (e.g. digium)
- Host / IP - enter the IP address of the Digium Gateway that you configured in Digium Gateway STEP FOUR
STEP TWO: Check Status of SIP Connection
Navigate to the Asterisk CLI page and execute the following two commands to see the status of your SIP connection to the Digium Gateway:
- sip show peers
- sip show registry
Example of output from 'sip show peers'
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
digium/digium 10.35.100.97 Auto (No) No 5060 OK (1 ms)
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0 offline]
Example of output from 'sip show registry'
Host dnsmgr Username Refresh State Reg.Time
10.35.100.97:5060 N digium 105 Registered Fri, 15 Jul 2016 10:15:36
1 SIP registrations.