ComXchange - FXO Gateways


Overview

The following guide should work for all Clearly IP 8 FXO Gateways below:
  • CX-GW8FXO-G2 - 8 Port Gateway
  • CX-GW4S4O-G2 - 4 Port FXS and 4 Port FXO Gateway

Retrieve the IP Address

Power up the ATA on your local network the ComXchange 8 FXO will obtain a DHCP address on the LAN by default 
  • For a device with FXS ports, you can dial ## by using an analog telephone connected to the FXS port 1 after the equipment is powered on.
  • For a device without FXS ports, you can look in the DHCP leases tab in the ComXchange System Settings Module for the IP address or use a device IP address obtaining tool called 'Finder' or any network scanner to obtain the IP address.
  •  If the gateway is unable to obtain an IP address you can connect via the default IP address of 192.168.2.218/16 by manually assigning an IP in the 192.168.2.0/16 network segment on the device being used to access the web GUI

Configuration

Logging in

Navigate through your web browser to the IP address of the device on the same network where the ATA is connected.
  • 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".
  • Enter the captcha letters and numbers to access. These are not case insensitive
2023-07-14_12h19_06


Changing the default password
  • Navigate to Security > Access
  • Enter the current default password and the new password with its confirmation.
  • The new password must be from 8 to 16 characters in length, a combination of letters, numbers, and symbols excluding the '&' or the '=' or the '"' symbols.
2023-07-17_15h36_47

Network

In the menu Basic > Network you can set the following parameters:

  • Hostname
  • IP assignment (Setup): Obtain an IP address automatically or set a static IP
  • If available set ETH2 as a switching port or redundant port to ETH1
  • STUN (Keep STUN disabled)
2023-07-11_15h20_51

Codecs

Navigate to Basic > System - In the  Codec section move the codecs using the  arrows  from the Enabled codecs box to the Disabled codecs box to have them set as follows:
  • G.711U/20
  • G711A/20
  • G.722/20
  • GSM/20
  • G.729A/20
2023-07-12_10h50_51

Entering Gateway SIP settings and ComXchange Trunk Information

ClearlyIP FXO Registration Per Gateway

Set up the SIP information in the gateway that will connect to the Chansip trunk on the ComXchange server. 

Navigate to Basic > SIP

  • Change the Local signaling port or keep the default value of 5060
  • Leave the Increments of port number at the default value of 5
    • This value is the increment on the Sip port used when assigning registration
  • In the Registrar server field enter the IP address of the ComXchange server
  • Int the Proxy server field enter the IP of the ComXchange server
  • Set Registrar mode to Per gateway
  • In the User name field enter a registration username
    • In theh example below we will use GW_1.  This will match the username and Trunk Name of the ComXchange ChanSIp Trunk - sip Settings
  • In the Registrar password field enter a password
    • This will match the secret ComXchange ChanSIp Trunk - sip Settings
  • Registration expiration can be set to 120

2023-07-12_14h18_20

ComXchange Trunk Setup

The Gateway will register to the ComXchange Trunk with the username and password 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 FXO_GW is used
  • Change the Outbound CallerID to the Hotel / Property's main phone number
  • Set the maximum to either the number of licensed trunks or as many as you have lines for if this is a secondary trunk
2023-07-17_16h02_55


In the sip Settings > Outgoing tab enter the following
  • Trunk name
    • Example uses GW_1
  • Peer Details
    • username=GW_1
    • type=peer
    • secret=comxchange
    • insecure=invite,port
    • host=192.168.101.20&dynamic
2023-07-14_09h38_07


Inbound Calls Sent to ComXchange


In this section we will set up the gateway to receive calls from the PSTN

Phone Number

Navigate to Trunk > Phone number
  • The phone number list can be arbitrary or it can coincide with the actual numbers associated with the Pots Lines.  Below the  arbitrary numbers 5555 to 5562 were assigned to the ports
    • If the numbers are in order you can use the batch tool by assigning the first number then press batch

2023-07-12_17h37_25

Feature

Below is an example of a ports feature page for each number

Navigate to Trunk  > Feature

  • Click on the drop down for each Number
  • Verify that Phone Number, Display as, and Number are correct
  • The rest of the information can be left at default
    • Registration is off
    • TLS is disabled
    • SRTP is unchecked
    • Echo Cancellation is  checked
    • Caller ID detection is checked
2023-07-17_15h48_28

ComXchange Inbound Routes

By default the ComXchange has an inbound rule that will send any call to the front desk ring group.  You can add a rule that specifies where an inbound phone number from the gateway will route

Navigate to Core Configuration > Inbound Routes

  • Verify the Any Any rule to front desk
    • Make changes to the destination if needed 
  • Add any other inbound rules
2023-07-14_10h34_53

Outbound Calls from ComXchange

In this section we will setup the gateway to send outbound calls to the PSTN from the ComXchange server

Digit Map

Navigate to Routing > Digit Map
  • set  x.T in the digit may to the Allow any calls to be sent from the gateway
2023-07-14_10h20_25

Routing Table

Navigate to Routing > Routing Table
  • Add rules to allow any Calls from FXO to route to the ComXchange and any calls from the ComXchange to route to any available FXO lines
    • FXO X ROUTE IP   192.168.101.2:5060
    • IP   X ROUTE FXO
2023-07-14_10h21_54

You can be more specific with your routing as well in the below example FXO 3 and 4 are used to route calls from the ComXchange to the carrier
In the Routing table enter the following information
  • IP   X ROUTE FXO 3-4/R
    • This means that any call coming from the IP side (SIP signaling) will be routed to ports 3 and 4 using the 'round robin' distribution method
    • If we remove '/R', the calls will be sent to the ports using the 'hunt' method
    • Both of these methods are helpful as the Gateway will route the call to the first available port. If port 3 is busy, the call will be sent to port 4
2023-07-14_10h27_55

Outbound Route in ComXchange

Set the Trunk sequence for each outbound route that you want to use to send calls to the gateway
Navigate to  Core Configuration > Outbound Routes
  • Choose or create the route you want to use for the trunk
  • In the Trunk Sequence for Matched Routes choose the Trunk you created for the Gateway
    • In the example below FXO_GW is used
2023-07-14_11h12_29



     RSS of this page