Configure Digium G200 Gateway to operate with UCx

Prerequisites

You must be able to login to the G200 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:

Configuring Digium Gateway

STEP ONE: SIP Endpoint

  1. Login to the Digium Gateway. (default username is admin, default password is admin)
  2. Navigate to the Configuration - SIP Endpoints page
  3. Click on Create SIP  Endpoint.
  4. Give the connection a Name = ucx
  5. Set a Username = digium
  6. Set a Password = digium
  7. For Registration, select Endpoint registers with this gateway
  8. Click on Save EndPoint

STEP TWO: T1/E1 Interfaces

The T1/E1 circuit n the Digium G200 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 Groups

 

  1. Navigate to the Configuration - Call Routing Groups page
  2. Click on Create Call Routing Group 
  3. The Group Type should be PRI T1/E1 Group
  4. Give this group a Name, for example "pri_trunk_group"
  5. Select ALL PRI ports listed
  6. Press the Save Call Routing Group button

STEP FOUR: Call Routing Rules

  1. Navigate to the Configuration Call Routing Rules page
  2. Click on Create Call Routing Rule
  3. Give this rule a Name  = fromUCx
  4. For the Call Comes in From field, select the UCx SIP endpoint that you created in STEP ONE (e.g. ucx)
  5. For the Send Call Through field, select the call routing group that you created in STEP THREE (e.g. pri_trunk_group)
  6. Press Save Call Routing Rule
  7. Click on Create Call Routing Rule button to create a second rule.
  8. Give this rule a Name = toUCx
  9. For the Call Comes in From field, select the call routing group that you created in STEP THREE (e.g. pri_trunk_group)
  10. For the Send Call Through field, select the UCx SIP endpoint that you created in STEP ONE. (e.g. ucx)
  11. Press Save Call Routing Rule

STEP FIVE: IP Configuration

  1. Navigate to the Configuration IP Configuration page
  2. Set the Also Continue Using Default Install IP Address option to YES
  3. Set the Reload Remote Config on Reboot option to NO
  4. Select the Interface 1 tab at the top
  5. Set the Obtain an IP Address via DHCP option to NO
  6. Set the following fields to the static addresses provided to you by your Network Administrator:
    • System IP Address
    • Network mask
    • Gateway Address
  7. Click on the Save IP Configuration button at the bottom of the page to save your changes
  8. Finally, navigate to the Maintenance 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 FIVE

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.

Page Tags: 
G100
G200
G400
G800