Clearly IP PRI Gateways


Overview

The following guide should work for all Clearly IP Gateways such as
  • CX-GW1PRI

Information gathering

You will need to retrieve the following information from Clearly IP Trunking portal for the location you want to connect the device to.
  • SIP Credentials
    • Username - SIP Username
    • Password - SIP Password
       
Review this wiki on how to get the above information here

Login

Power up the ATA and connect directly to ETH 1 with an ethernet cable.  The ATA ships with a default IP address of 192.168.2.240/24 you will need to assign the device you are connecting with an IP address on the 192.168.2.0/24 network to be able to connect
  •  Navigate to the Gateways web GUI by entering the default IP address of 192.168.2.240 in the address bar to get to the login screen
  • Log into the web GUI.  Default Username is "Admin" and the initial password is in a sticker in the bottom of the device for older devices.  If the sticker does not list a Password the device will have a default password of "clearly".
               2023-04-28_15h02_23

Network

Navigate to Basic > Network to setup the network parameters

  • Hostname - Enter a desired Hostname for the ATA
  • Setup (IP assignment) -  Obtain an IP address automatically or set an static IP
  • DNS server - set to Obtained automatically or Specify DNS manually
  • Stun - Set to disable
2023-10-17_15h37_43

SIP Trunk Setup

This section goes over the ATA  Settings needed to register to a Clearly IP Trunk

Navigate to Basic > SIP  to setup the SIP parameters

  • Local signaling port: Leave as is default value 5060
  • Registrar server Enter the domain of the SIP Trunk. In our case it will be 1.us-central.clearlyip.com:5060
  • Proxy server: Enter the domain of the SIP Proxy. In our case it will be 1.us-central.clearlyip.com:5060
  • Subdomain name: Leave it empty
  • SIP Registrar Mode: Set it up as Per Gateway
  • ISDN: Set it up as Per Gateway
  • User name: This is the trunk username  from the Clearly IP Trunking portal
  • Authentication name: This is the trunk username  from the Clearly IP Trunking portal
  • Registrar password :This is the trunk password from the Clearly IP Trunking portal
  • Registration expiration: Set to 360 seconds

2023-10-17_15h31_32

Optional Parameters

  • Backup SIP proxy: Enter the domain of the backup SIP Trunk. In our case it will be 2.us-central.clearlyip.com:5060
  • Primary server heartbeat detection: check the box to enable
  • OPTIONS request period: set to 60

TLS & SRTP

Leave the settings as default 

Codecs Settings

Navigate to Basic > System

  • Under the Codec section move the codecs using the  arrows  from the Enabled codecs box to the Disabled codecs box in order to have them set as follows:
    • G.711U/20, G.711A/20, GSM/20, G.729A/20
    • Note: Will tell you you need a restart but we can finish the setup
  • Click on the Save button to have this setting applied.2023-10-17_14h12_29

  • Advanced System Settings - Dynamic NAT

    Navigate to Advanced > System

    • NAT Traversal: Set to Dynamic NAT
    • SDP Address: Set to External Network IP Address
     
    2023-10-17_15h57_31


    Advance SIP Settings
    Navigate to Advanced > SIP and modify the following options:

    • Port for sending response Set to using received port to send response
    • Contact field in REGISTER Leave Set it to External Network IP Address
    • Via Field Set to External Network IP Address
    • To header fieldOutbound proxy
    • Obtain called party number from: To field
    • Calling party number in call transfer:  Leave at Originating number
    Leave the rest of the options as they are
    2023-10-17_16h12_29

     Save this settings and restart the Gateway to have them applied.

    ISDN-PRI Settings

    This section goes over an example of  the ATA settings to set up an ISDN PRI connection.

    DS1 Configuration

    Navigate to Basic > DS1 configuration

    • DS1 type: Choose T1
    • PCM codec: Choose ulaw
    • Timing source: Choose TDM 1
    • Framing: Choose ESF
    • Line code: Choose B8ZS
    • Signaling type: ISDN
    2023-10-17_11h22_16

    Trunk Configuration

    Navigate to Trunk >Trunk 1
    • Name: Name the ISDN connection
    • Enable: Check the box to enable the connection
    • Collecting CDPN: Choose Enbloc
    • D channel: Choose Timeslot 24
    • Switch Type: Choose network
    • Signaling Standard: Choose NI-2
    • Circuit hunting: Forward
    • The rest can remain default
    2023-10-17_17h20_48
    2023-10-17_17h21_49

    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
    2023-11-28_14h52_03

    CAS Settings

    ESF / B8ZS DS1 Configuration

    This section goes over an example of  the ATA settings to set up an ISDN PRI connection.

    Navigate to Basic > DS1 configuration

    • DS1 type: Choose T1
    • PCM codec: Choose ulaw
    • Timing source: Choose Local
    • Framing: Choose ESF
    • Line code: Choose B8ZS
    • Signaling type: CAS
    2023-10-17_11h31_17

    SF / AMI DS1 Configuration (can be used to connect to some D4 AMI devices such as the Adtran 900 Series)

    This section goes over an example of  the ATA settings to set up an ISDN PRI connection.

    Navigate to Basic > DS1 configuration

    • DS1 type: Choose T1
    • PCM codec: Choose ulaw
    • Timing source: Choose Local
    • Framing: Choose SF (may need to use D4 for some devices)
    • Line code: Choose AMI
    • Signaling type: CAS
    2023-11-28_14h19_27

    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

    Trunk Configuration

    Navigate to Trunk >Trunk 1
    • Name: Name the CAS connection
    • Enable: Check the box to enable the connection
    • Supervision: E&M Wink
    • Circuit Hunting: Forward
    • Switch side: Network
    • Caller ID: Enter the Number of the SIP Trunk
    • Second Stage Dialing Prompt: Set to Announcement
    • Wink Pulse Time: Can set to match the other end of the connection
    2023-10-17_13h56_56






       RSS of this page