Peering HT8xx With HT841/HT881

  • Updated on April 17, 2024

Introduction

This document describes the basic configuration to peer the HT8XX series with HT841/HT881. This configuration applies to users seeking to add an HT841/HT881 as an external PSTN trunk.

The document will demonstrate how to set up the HT8XX series with the HT841/HT881:

Peering one HT8XX with HT841/HT881

A common scenario involves one HT8XX (ATA) and HT841/HT881(FXO gateway) but doesn’t involve any SIP server. This scenario allows an organization to access FXO trunks through an IP network.

In this scenario, we will proceed first from the web GUI of HT8XX, then from HT841/HT881 to configure the Peer Trunk on both sides.

Note

Please note in order for this setup to work, it is important that both the FXO gateway HT841/HT881 and the HT8xx are located on the same LAN OR have Public Static IPs. In short, both devices should be able to locate each other.

HT8XX Configuration

On the HT8XX web GUI, access to “Profile1”, then set the following:

  1. Profile Active 🡪 YES
    Activates this account to make Profile1 operational.
  2. Primary SIP Server 🡪 Enter the IP address of the HT841/HT881 followed by port 6062 which is the default listening port for FXO port 1, we will enter the following value: 192.168.80.168:6062
  3. SIP Transport 🡪 UDP
    In our example, we will use the protocol UDP as the transport protocol.
  4. NAT Traversal 🡪 NO
    This setting will force the HT8XX to use its private IP address while making calls through a peering link with HT841/HT881.
  5. SIP Registration 🡪 NO
    Registration is not needed since this example is a peering between HT841/HT881 and HT8XX.
  6. Outgoing Call without Registration 🡪 YES
    This enables the ability to place outgoing calls even if the account is not registered.
Profile Settings
Notes:

Once the settings above are set, make sure to set the following additional settings as below:

  1. Local SIP Port 🡪 5060
    Defines the local port to use by the HT8XX for listening and transmitting SIP packets.
  2. Use Random SIP Port 🡪 NO
    This option forces the HT8XX to use a port configured under the “Local SIP Port” option.

FXS Ports Settings:

Go to FXS Port settings, and enter the following information:

  • Port 1: SIP User ID: 5555 | Authenticate ID: 5555 | Profile ID: Profile 1 | Enable Port: Yes
FXS Ports
Note

  • If there’s a need to set up multiple HT8xx ATAs due to a shortage of FXS ports or any similar configuration requirement, the same setup procedure should be applied to the second HT8xx device. This involves configuring the SIP trunk with the second HT8xx ATA, specifically on FXO profile 2 of the HT841/HT881.
  • Keep in mind that the HT841/HT881 can only deploy a maximum of 2 ATAs, as it supports just 2 FXO profiles for configuration.

HT841/HT881 Configuration

  • To activate the profile configured on HT841/HT881, please access to HT841/HT881 web GUI under “FXO Profile 1” and then set the following:
    1. Profile Active 🡪YES
    2. SIP Server 🡪 Enter the IP address of the HT8XX that you are peering with HT841/HT881, in our case it is 192.168.80.18
  • Now under “FXO Profile 1”
    1. NAT traversal (STUN) 🡪 NO
      This setting will force the HT841/HT881 to use its private IP address while making calls through a peering link with HT8XX.
  • Under “FXO Profile 1”:
    1. SIP Registration 🡪 NO
      Registration is not needed since this example is a peering between HT841/HT881 and HT8XX.
    2. SIP Transport 🡪 UDP
      In our example, we will use the protocol UDP as the transport protocol, which is the default protocol.
HT841/HT881 Configuration
  • Set the following:
    1. Number of Rings 🡪 4
      This is the number of rings the gateway will wait to send the call to the VOIP side in case the Caller ID has yet to be detected.
    2. PSTN Ring Thru FXS 🡪 No
      Disable this option to prevent calls from being routed through the FXS port.
Number of Rings Settings
  • Under “FXO Profile1” 🡪 “Channel Dialing”, set the following:
    1. Wait For Dial Tone 🡪 No
      This option determines whether the HT8x1 waits for a dial tone from the connected telephony provider before it starts dialing out, we will set it to “No”
    2. Stage Method 🡪 1
      Setting this parameter to 1 will direct the PSTN call from the VOIP endpoint.
    3. Min Delay Before Dial PSTN Number 🡪 500
      It’s the time that HT841/HT881 will wait before dialing out; available range 500ms to 65000ms).
Channel Dialing
  • Under “Ports”, set the following:

Port 1: SIP User ID: 6666 | Authenticate ID: 6666 | Profile ID: FXO Profile 1 | Enable Port: Yes

Setting up the FXO Port

Set up the unconditional call forward

Under “Ports”, set the following:

  1. User ID 🡪 7000;
    This parameter allows users to configure a User ID or extension number to be automatically dialed upon FXO line off-hook. (In our example, we will send it to User ID 7000)
  2. Sip Server 🡪 192.168.80.18;
    Specify the IP Address of the HT8xx.
  3. SIP Destination Port 🡪 5060;
    Setting this port to 5060 will allow this HT841/HT881 to always redirect the incoming PSTN calls to the HT8XX which is reachable via port 5060
Note:

If your setup requires that FXS port ‘x’ user be able to access only FXO port ‘x’ for outbound calls, you can use either the One-To-One mapping or the Port-To-Port Mapping feature.

One-To-One mapping

The One-to-One mapping feature will allow the HT8XX FXS port to specify the port number ‘x’ that the user will use to access HT841/HT881 FXO port ‘x’ for outbound calls.

To enable this One-To-One Mapping feature between HT8XX FXS ports and HT841/HT881 FXO ports, you will need to access to HT841/HT881 web GUI under “FXO Profile 1”, then set it as follows:

Dial Plan Prefix 🡪 99

Dial Plan Prefix



This setting allows you the power to send outbound calls from the VOIP endpoint to a specific FXO line. With this setting, the HT841/HT881 will behave as follow:

  1. The user tries to make an outbound call to an external number 5669300 via HT841/HT881 FXO port 1
  2. The user should add the prefix 991 to the external called numbers.
  3. In this case, the user will dial 99-1-5669300 where :
    • 99: represents the prefix
    • 1: represents port number 1
  4. 5669300: represents the external number
  5. Once received, the HT841/HT881 gateway will strip off 991 from the dialed number 9915669300
  6. HT841/HT881 will route the call to port 1 and make a call to 5669300 over the PSTN network connected to FXO1.
One-To-One Mapping

Port-To-Port mapping

Port-to-port mapping feature will force all calls placed on a specific FXS port “x” to be completed through the PSTN network that is connected to a specific FXO port “x”. This is similar to a one-to-one mapping configuration except it is hardcoded to be always routed through a specific FXO port. In this case, the end user is not required to dial any extra numbers.

Port-to-port mapping is configured using the Dial Plan feature on the HT8XX. The HT8XX supports $P, and $p as port numbers. Port to port mapping from the HT8XX to HT841/HT881 is configured as follows:

  • HT841/HT881: prefix to specific port: 99 —- default settings on FXO Profile 1.
  • HT8XX: dial plan: { <=99$P>x+ }

So, if the HT8XX is configured with this dial plan, any number dialing from a specific port will be prefixed with 99 and a port number:

  1. The user dials 5669300 from his analog phone which is connected to port 1
  2. HT8XX will append this number with the appropriate dial plan configured (HT8XX will be 9915669300)
  3. Once received, The HT841/HT881 gateway will strip off 991 from the dialed number 9915669300
  4. HT841/HT881 will route the call to port 1 and make a call to 5669300 over the PSTN network connected to FXO1.
Port-To-Port Mapping call flow

Supported Devices

Device

Firmware Required

HT841

1.0.1.2+

HT881

1.0.1.2+

HT818

1.0.49.2+

HT814

1.0.49.2+

HT812

1.0.49.2+

HT802

1.0.49.2+

HT801

1.0.49.2+

Supported devices


Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment