Creating Trunks between FXO ports and the UCX

This section describes the steps required to create a fully functional analog trunk or trunk group for the UCX using the GUI interface on both the UCX and an FXOS8 Analog Gateway card with an available FXO Port.

Prerequisites:

Gateway Card:

  1. The FXOS8 Gateway card must be on a network interface that is able to be routed to the UCX software
  2. The FXOS8 Gateway card must be activated with the E-MetroTel Serial Management tool.
  3. The FXOS8 Gateway card must have one or more unassigned FXO ports available, or you must edit an existing port configuration.

UCX Requirements:

  1. The UCX must be configured with Outbound Routes that will select the SIP Trunk that is associated with the FXO port on the IAD Gateway card.

Configuring FXO based Analog Trunk(s)

There are two possible deployment scenarios for FXO trunks that require slightly different configurations on FXOS8 Gateway cards:

  1. A single FXO port or a single group of FXO ports on the same card will act collectively as the only trunk group connected to a particular UCX. 
  2. Multiple FXO ports or groups of FXO ports on the same card will act as separate trunk groups connected to the same UCX.

Note that each of these two scenarios do not preclude the use of one or more FXO ports being connected to a second UCX; the same basic configuration rules will apply.

Scenario One: Single Trunk or Trunk Group connected to a UCX.

An example of this scenario would be a group of four FXO ports that are pooled together for placing inbound or outbound calls. Calls from the PSTN or far-end are answered by an FXO port which are then presented to the UCX 

On the FXOS8 card:

Step 1: Create a Profile for communication to the target UCX

To create a Profile on the FXO interface, navigate to the Profiles menu on the FXOS8 menu. If no existing Profile to the target UCX exists, select a previously un-configured profile (for example, Profile 1)

In the SIP Settings tab:

  1. SIP Primary Server: Enter the IP Address of the target UCX (ex. 10.20.0.201)
  2. SIP Primary Server Port: Enter the SIP signaling port used by the UCX. (ex. 5060)
  3. Enable Compatibility: This should be set to No (default)
  4. All other fields can remain at defaults.
  5. Click Save
    FXOSIPUCXProfile1.png

In the Digitmap Settings tab:

  1. Dialing Rules: Enter x. (lower case x followed by a period)
  2. All other fields can remain at defaults.
  3. Click Save
    FXOSIPDigitMap.png

Step 2: Configure the Port Settings associated with the physical FXO ports

​Navigate to the Port / Port Settings tab

  1. Observe if any existing Groups are configured, and take note of their Group Number
  2. Click Add
  3. Select the Profile number associated with the target UCX created in the first step (i.e select "1")
  4. Create a Group ID by selecting a number between 4 and 32 which requires not re-using the existing group number(s) identified above.
  5. Set Enable Port to Yes
  6. In the Port field select the physical FXO Port or Ports you want to use in the trunk group (in the example the four ports 1 through 4 are selected)
  7. If more than one FXO Port is selected in the previous step, select the Policy to be used when selecting which Port should be used for new calls initiated by te UCX over the corresponding SIP trunk.
    • Increase - Always search upward beginning with the lowest numbered port and select the first idle port
    • Decrease - Always search downward beginning with the highest numbered port and select the first idle port
    • Cyclic Increase -  Always search upward and select the next idle port after the last one previously selected 
    • Cyclic Decrease - Always search downward and select the next idle port after the last one previously selected
  8. ​​SIP User IDFORCE FROM AccountAuthentication ID, and Password fields should all be left blank.
  9. Enable Registration must be set to No.
  10. Inbound Identify By IP:PORT: must be set to the IP Address and SIP Port Number of the UCX, separated by a colon (i.e. 10.20.0.201:5060 in our example). This will associate any incoming SIP calls from this UCX and port number with the physical ports you identified in item 6, above.
  11. Inbound Identify By Called Prefix: can be left as No.
  12. IP2TEL Dialed Called Number must be set to Yes to allow the card to pass the dialed number from the UCX to the FXO port to be sent out as DTMF digits.
  13. The TEL2IP Called Mode setting will typically be set to Custom to allow the FXO card to send a user-defined Called Party string (set in the next step) in SIP messages to the UCX which will then be identified as the DID digits for incoming calls. Other settings for this field include Group Number and Port Number. These settings will will cause the FXO port to send the corresponding Group Number or Port number as the Called party information.
  14. If the TEL2IP Called Mode is set to Custom, then the TEL2IP User-defined Called Party can be set to any string to be sent to the UCX as the Called Party digits, or DID for an incoming call (i.e. 5555559991 in the example).
  15. Click Save
    FXOSIPPortSettings1.png
    FXOSIPPortSettings2.png

​​Verify the information provided in the entry displayed in the FXO Port Settings table when it is updated, taking note of the SIP Signaling Port identified for this new entry, as this will be required when creating the UCX SIP trunk (port 30008 in our example).

FXOSIPPortSettings5.png

On the UCX

Step 1: Create a SIP Trunk

On the UCX, navigate to the PBX / IP Trunk Assistant page.

  1. In the Account Settings section:
    1. In the Account Name field, enter a name for the trunk (eg. FXOCombo204)
    2. In the Trunk Provider drop-down menu, select E-MetroTel FXO Gateway
    3. Leave the Outbound CallerID Number and the Outbound CallerID Name fields blank
  2. In the Configuration Details section
    1. In the Host / IP field, enter the IP Address o f the FXOS8 card
    2. Leave all other settings as defaults, make sure to use the IP Address and Port number of the FXOS8 card noted in the previous step using the format ipaddress:portnumber (i.e. 10.20.0.204:30008).
      FXOSIPUCXIPTrunkAssistant.png

Step 2: Create an Outbound Route

Refer to Outbound Routes for full details on how to set up outbound routes to select the SIP trunk configured in the previous step (FXOCombo204 in the example above). No prefix digits are required in the Dial Patterns that will use this Route field(s).
 

Scenario Two: Multiple independent Trunks or Trunk Groups connected to the same UCX

In this scenario, more than one trunk or trunk group is connected between the Analog Gateway card and the UCX to enable inbound calls to be associated with a specific DID or outbound calls to be sent over a specific physical trunk or group of trunks. For calling from the UCX to the FXOS8 card, this scenario requires a unique set of prefix digits for each trunk or group of trunk ports to be used.  The digits will be sent by the UCX so that the FXOS8 card can determine which trunk group the call from the UCX is targeting. Once this is determined, the FXOS8 card will strip the digits prior to sending the DTMF on the analog interface. 

On the FXOS8 card:

Step 1: Create a Profile for communication to the target UCX

To create a Profile on the FXO interface, navigate to the Profiles menu on the FXOS8 menu. If no existing Profile to the target UCX exists, select a previously un-configured profile (for example, Profile 1)
In the SIP Settings tab:

  1. SIP Primary Server: Enter the IP Address of the target UCX (ex. 10.20.0.201)
  2. SIP Primary Server Port: Enter the SIP signaling port used by the UCX. (ex. 5060)
  3. Enable Compatibility: This should be set to Yes
  4. All other fields can remain at defaults.
  5. Click Save
    FXOSIPUCXProfile2.png

In the Digitmap Settings tab:

  1. Dialing Rules: Enter x. (lower case x followed by a period)
  2. All other fields can remain at defaults.
  3. Click Save
    FXOSIPDigitMap.png

Step 2: Configure the Port Settings associated with the first FXO port or ports

​Navigate to the Port / Port Settings tab

  1. Observe if any existing Groups are configured, and take note of their Group Number
  2. Click Add
  3. Select the Profile number associated with the target UCX created in the first step (i.e select "1")
  4. Create a Group ID by selecting a number between 4 and 32 which requires not re-using the existing group number(s) identified above.
  5. Set Enable Port to Yes
  6. In the Port field select the physical FXO Port or Ports you want to use in the trunk group (in the example the four ports 1 and 2 are selected)
  7. If more than one FXO Port is selected in the previous step, select the Policy to be used when selecting which Port should be used for new calls initiated by te UCX over the corresponding SIP trunk.
    • Increase - Always search upward beginning with the lowest numbered port and select the first idle port
    • Decrease - Always search downward beginning with the highest numbered port and select the first idle port
    • Cyclic Increase -  Always search upward and select the next idle port after the last one previously selected 
    • Cyclic Decrease - Always search downward and select the next idle port after the last one previously selected
  8. ​​SIP User IDFORCE FROM AccountAuthentication ID, and Password fields should all be left blank.
  9. Enable Registration must be set to No.
  10. Inbound Identify By IP:PORT: must be empty
  11. Inbound Identify By Called Prefix: must be set to an arbitrary digit string unique to this trunk or trunk group (701 in this example). This will also be input as a prefix string on the UCX Outbound Route settings.
  12. IP2TEL Dialed Called Number is not required
  13. The TEL2IP Called Mode is not required
  14. Click Save
    FXOSIPPortSettings3.png
    FXOSIPPortSettings4.png
  15. ​​Verify the information provided in the entry displayed in the FXO Port Settings table when it is updated, taking note of the SIP Signaling Port identified for this new entry, as this will be required when creating the UCX SIP trunk for this trunk group (port 30008 in our example).
    FXOSIPPortSettings5.png

Step 3: Configure the Port Settings associated with the each additional FXO port or group of ports

​Navigate to the Port / Port Settings tab

  1. Observe if any existing Groups are configured, and take note of their Group Number
  2. Click Add
  3. Select the Profile number associated with the target UCX created in the first step (i.e select "1")
  4. Create a Group ID by selecting a number between 5 and 32, i.e not re-using the existing group number(s) identified above.
  5. Set Enable Port to Yes
  6. In the Port field select the physical FXO Port or Ports you want to use in the trunk group (in the example the four ports 7 through 8 are selected)
  7. If more than one FXO Port is selected in the previous step, select the Policy to be used when selecting which Port should be used for new calls initiated by te UCX over the corresponding SIP trunk.
    • Increase - Always search upward beginning with the lowest numbered port and select the first idle port
    • Decrease - Always search downward beginning with the highest numbered port and select the first idle port
    • Cyclic Increase -  Always search upward and select the next idle port after the last one previously selected 
    • Cyclic Decrease - Always search downward and select the next idle port after the last one previously selected
  8. ​​SIP User IDFORCE FROM AccountAuthentication ID, and Password fields should all be left blank.
  9. Enable Registration must be set to No.
  10. Inbound Identify By IP:PORT: must be empty
  11. Inbound Identify By Called Prefix: must be set to an arbitrary digit string unique to this trunk or trunk group (702 in this example). This will also be input as a prefix string on the UCX Outbound Route settings.
  12. IP2TEL Dialed Called Number is not required
  13. The TEL2IP Called Mode is not required
  14. Click Save
    FXOSIPPortSettings6.png
    FXOSIPPortSettings7.png
  15. ​​Verify the information provided in the entry displayed in the FXO Port Settings table when it is updated, taking note of the SIP Signaling Port identified for this new entry, as this will be required when creating the UCX SIP trunk for these trunks group (ports 30008 and 30009 in our example).
    FXOSIPPortSettings9a.png

Step 4: Add IP->Tel Route settings for each trunk group in the SIP Profile

In the previous step the FXO ports were configured to use Profile 1. Now Profile 1 needs to be configured to strip the extra digits that will be added as prepend digits on each of the UCX Outbound Routes created in the next steps on the UCX.

In the Profile 1 page on the FXOS8 menu:

  1. Navigate to the IP->Tel tab of the Profile 1 page
  2. Click the Add button
    FXOProfileIP2Tel.png
  3. In the Matches Callee Prefix, add the digits 701 (or someother unique string that wil also be configured on the UCX Outboud Route for this trunk)
  4. In the Routing Action select Accept from the dropdown menu
  5. In the Delete Callee Prefix enter the number of prefix digits that should be deleted before sending to the far end of the analog circuit.
    FXOProfileIP2Tel701v2.png
  6. Click Save
  7. Click Add to create another IP->Tel configuration for each additional trunk group.
  8. Configure those same parameters to match the prepend digits that will be used on the second trunk group (in this case using 702)
    FXOProfileIP2Tel3.png
  9. Click Save
  10. Verify that there is an entry corresponding to each trunk group you are establishing
    FXOProfileIP2TelSummary.png

On the UCX

Step 1: Create SIP Trunks for each of the trunk groups configured on the FXOS8 card

On the UCX, navigate to the PBX / IP Trunk Assistant page and click New Account (you will need a new account for each of the trunk groups)

  1. In the Account Settings section:
    1. In the Account Name field, enter a name for the trunk (eg. FXOCombo204)
    2. In the Trunk Provider drop-down menu, select E-MetroTel FXO Gateway
    3. Leave the Outbound CallerID Number and the Outbound CallerID Name fields blank
  2. In the Configuration Details section
    1. In the Host / IP field, enter the IP Address of the FXOS8 card and theport number of the associated trunk group on the FXOS8 noted in the previous step using the format ipaddress:portnumber (i.e. 10.20.0.204:30008)
    2. Leave all other settings as defaults
      FXOS8UCXTrunkAsstGroup1.png
    3. Click Save
    4. Create additional IP Trunks for each additional trunk group on the FXOS8 card.FXOS8UCXTrunkAsstGroup2.png

Step 2: Create an Outbound Route for each trunk group 

Refer to Outbound Routes for full details on how to set up outbound route(s) to select the SIP trunks configured in the previous step (FXOS8Group1 and FXOS8Group2 in the this example). In this case, multiple Outbound Routes will be required - one for each of the trunk groups configured on the FXOS8 card.

Each Outbound Route will require the prefix digits configured on the trunk group settings on the FXOS8 in the above steps to be used in each entry of the Dial Patterns that will use this Route field(s). Note that these prefix digits will be inserted by the UCX but then stripped by the FXOS8 card before sending the dialed digits to the analog network interface for dialing.

The following examples would cause all 11 digit calls to area code 403 to be routed to the first trunk group using the FXOS8Group1 SIP Trunk, and all 11 digit calls to area code 780 to be routed to the second trunk group using the FXOS8Group2 SIP Trunk.

FXOS8OutRouteGroup1.png

FXOS8OutRouteGroup2.png

Page Tags: 
Galaxy
Expand
Express
FXS16
firmware
Analog Extension