Home / ClearlyIP Gateways / Digital Gateways / Digital Example Configs / ComXchange - PRI /CAS Gateways - CX GW 1U2T1 G1

ComXchange - PRI /CAS Gateways - CX GW 1U2T1 G1


Overview

The following guide will explain how to connect a ComXchange server to a ClearlyIP PRI Gateway that will connect to a carriers PRI connection

Configuration

Logging In

  • Power on the device
  • manually assign an IP address in the 192.168.2.0/16 network segment on the device being used to access the web GUI
  • Using a web browser connect to gateway's default IP address of 192.168.2.240/16
  • enter the default admin password of voip
  • Click on Login
2023-07-14_12h19_06

Change IP Address

Navigate to Basic > Network

  • Change the Hostname (optional)
  • Change to dhcp or choose an new IP address in the ComXchange network
  • Leave STUN set to Disable
Reboot the server for the new IP address to take affect, or finish the configuration then reboot.
2023-10-17_12h06_54

Set up the connection for PRI Option

DS1 Configuration

Below is a representation of the common ISDN settings that will work with a typical PRI handoff.  The actual settings will be determined by the carrier.
Navigate to Basic ISDN configuration

PRI settings

  • DS1 Type to T1
  • PCM code to ulaw
  • Timing source at the default TDM 1
  • Framing to ESF
  • Line code to B8ZS
  • Line length at Long haul/0db
  • Signal Type ISDN
2023-10-17_11h22_16

Trunk Settings for PRI
Navigate to Trunk > Trunk 1
Note: if the gateway is licensed for more ISDN connections there will be more ISDN connections to configure
  • Change the Name of the Trunk (optional)
  • Set Switch Side to User
  • The rest of the settings should remain default
2024-05-06_13h23_53

2023-07-14_13h24_29

Routing Table for PRI Trunk

Set up routing for calls to be sent to the ISDN
Navigate to Routing > Routing table
  • Enter: IP   x ROUTE ISDN
2024-05-06_13h20_14

Note: It is possible to Manipulate the Inbound and Outbound Called Party Number and Calling Party Number using the routing table.  Below are some examples:
Number Manipulation for inbound calls from the IP trunk
Remove all but four digits for a Calling Party Number beginning with 1608773
 IP   CPN1608773x KEEP -4 
remove all but last four digits for the inbound Called Party#
 IP X KEEP -4
Replace Inbound called party number with 5555
 IP X REPLACE 5555
Replace Inbound called Party Number with last four digits
 IP   X KEEP -4
Number Manipulation for Outbound calls from the ISDN trunk
Add the digits 1608 to a 7 digit Called Party Number
 ISDN xxxxxxx ADD 1608
Add numbers in front of a Calling Party Number 
 ISDN CPNX Add 1608773
To have some of these options at the same time the routing table would look like this:
IP   CPN1608773x KEEP -4
IP   X REPLACE 5555
IP   X ROUTE ISDN
ISDN xxxxxxx ADD 1608
ISDN CPNX Add 1608773
ISDN xxxxxxx ROUTE IP   1.us-central.clearlyip.com:5060

Setup Inbound Caller ID to be passed through the ISDN Trunk

Select Caller ID options over the ISDN
Navigate to Advanced > ISDN
Check the options:
  • Facility Information Element
  • Display Information Element
  • Facility Message triggered by call proceeding response
2024-04-24_10h22_12

Set up the connection for CAS Option

DS1 Configuration

Below is a representation of the common settings that will work with a typical CAS handoff.  The actual settings will be determined by the carrier.
Navigate to Basic ISDN configuration
Set the fields to:

CAS ESF B8ZS

  • DS1 Type to T1
  • PCM code to ulaw
  • Timing source at the default TDM 1
  • Framing to ESF
  • Line code to B8ZS
  • Line length at Long haul/0db
  • Signal Type CAS
2023-10-17_11h31_17

CAS SF AMI (this will connect to some devices using D4 AMI such as the Adtran TA900 series)

  • DS1 Type to T1
  • PCM code to ulaw
  • Timing source at the default TDM 1
  • Framing to SF
  • Line code to AMI
  • Line length at Long haul/0db
  • Signal Type CAS
2023-11-28_14h19_27

Trunk Settings for CAS

Navigate to Trunk > Trunk 1
Note: if the gateway is licensed for more ISDN connections there will be more ISDN connections to configure
  • Change the Name of the Trunk (optional)
  • Supervision E&M Wink
  • Circuit Hunting set to Forward
  • Switch Side set to Network
  • Caller ID set to the caller ID of Inbound calls from the CAS Trunk (5555 in this example)
  • Second stage dialing prompt set to Announcement
  • Wink pulse time set to 220
2023-10-17_14h02_58

Routing Table for CAS Trunk

Set up routing for calls to be sent to the CAS Trunk

Navigate to Routing > Routing table
  • Enter: IP   x ROUTE CAS
2023-10-19_14h38_13

Country/Region Tones

Navigate to Advanced > Tones
  • Choose United States in the dropdown
2023-10-17_11h33_40

System Time

Set up NTP to sync with the ComXchange server
Navigate to Advanced > System time
  • Enter the correct Time Zone
  • Enter the IP address of the ComXchange server in the Primary time server field 
2023-10-17_11h47_52

Enter Gateway SIP Settings and Comxchange Trunk Settings 

Gateway SIP Settings

Navigate to Basic > SIP
  • Local Signalling port can be left as default
  • Enter the <IP address>:5060 of the ComXchange server in the Proxy server field
  • SIP Registrar mode can be left at Per Gateway
  • Add a user name that and Authentication name that will match the Username in the ComXchange Trunk
  • Add a Registrar password that will match the secret password in the ComXchange trunk
  • Leave the TLS and SRTP as default
2023-07-14_16h43_22

Codecs and Timers

  • Set the Interdigit Timeout to 3
  • Enable G.711U/20, G.711A/20, and GSM/20
2023-10-17_14h12_29

ComXchange Trunk Settings

The Gateway will register to the ComXchange Trunk with the username and password set in the User name and Registrar password fields set in the gateway as noted above.
Navigate to Core Configuration > Trunk - Add Trunk choose chan_sip
In the General settings:
  • Fill in the Trunk Name field
    • In the example below PRI_GW1 is used
  • Change the Outbound CallerID to the Hotel / Property's main phone number
  • Set the maximum channels to either the number of licensed trunks (should be the same as the number of channels for in the PRI connection)
2023-07-14_17h12_10
In the sip Settings > Outgoing tab add the details:
  • username=PRI_GW1
  • type=peer
  • secret=somepassword
  • insecure=invite,port
  • host=192.168.101.19&dynamic
2023-07-14_17h16_16

Reboot the gateway for all of the changes to take affect
Test inbound and outbound calls




     RSS of this page