Termination Gateways

Termination Gateways define how phone.systems™ sends outbound SIP traffic to external destinations, such as third-party SIP termination providers or PSTN networks.

Each termination gateway represents a connection to a provider used for outbound calling and is configured under the Trunks section.

To access and manage termination gateways, click Trunks in the sidebar menu and select the Termination Gateways tab.

../../_images/fig165.png

Fig. 1. Termination Gateways



Creating Termination Gateways

To create a new termination gateway:

  1. Go to the Termination Gateways tab under Trunks.

  2. Click the +-symbol button in the lower-right corner to open the Create Termination Gateway window.

Create Termination Gateway window

Fig. 2. Creating a termination gateway

General Settings

The General Settings section defines the core connectivity and authentication parameters used for outbound calls.

Setting

Description

Name

A friendly name for this gateway.

Network Protocol

Specifies the network protocol configuration:

  • IPv4 Only – Only IPv4 addresses are supported.

  • IPv6 Only – Only IPv6 addresses are supported.

  • Dualstack – Supports both IPv4 and IPv6.

  • IPv4 Preferred – IPv4 is preferred, but IPv6 can be used if needed.

  • IPv6 Preferred – IPv6 is preferred, but IPv4 can be used if needed.

Transport Protocol

Specifies the SIP transport method. Available options are:

  • UDP

  • TCP

  • TLS

Username

The username used to authenticate the gateway.

Password

The password used for authenticating the gateway.

Host

The IP address or domain name of the gateway.

Port

The port used on this gateway. Defaults to 5060 if not provided.

Allowed Codecs

Multiple codecs may be selected for call negotiation. Options include:

  • OPUS

  • G722

  • PCMU

  • PCMA

  • G729

  • GSM

  • telephone-event

Note

The codec priority may be arranged by dragging the listed codecs into the required position, with the left-most codec being of the highest priority.

Important

To use DTMF functions such as Interactive Menu options or Feature Codes, ensure that telephone-event is included in the Allowed Codecs list.

Termination gateway general settings

Fig. 3. Termination gateway general settings

CLI Rules

CLI Rules are used to automatically modify the source and destination numbers sent to the termination gateway. This allows you to add or remove prefixes, or rewrite numbers per gateway.

Field

Description

SRC Name Rewrite Rule

POSIX Regular Expression pattern used to match the Source Caller Name.

SRC Name Rewrite Result

Replacement text applied when the Rewrite Rule matches.

DST Rewrite Rule

POSIX Regular Expression pattern used to match the destination number.

DST Rewrite Result

Replacement text applied when the Rewrite Rule matches.

Note

Knowledge of POSIX Regular Expressions is required to configure CLI Rules.

After completing the configuration, click Save to create the termination gateway.

CLI Rules for a termination gateway

Fig. 4. CLI Rules



Editing Termination Gateways

  1. In the Termination Gateways list, click the Actions button next to the gateway you want to modify.

  2. Select Edit to open the Edit Termination Gateway window.

Actions Menu

Fig. 5. Opening the Edit window for a termination gateway

  1. Adjust the settings in the General Settings or CLI Rules sections as required.

  2. Click Save to apply your changes.

Edit Termination Gateway window

Fig. 6. Editing a termination gateway



Termination Gateway Relations

The Relations view provides an overview of all configurations associated with the termination gateway.

To access it:

  1. In the Termination Gateways list, click the Actions button next to the gateway.

  2. Select Relations.

Actions Menu

Fig. 7. Opening Relations for a termination gateway

This view shows related configurations, such as Termination Routes. To navigate to the related section, click the gear icon next to the relation.

Termination Gateway Relations

Fig. 8. Termination gateway relations



Deleting Termination Gateways

  1. In the Termination Gateways list, click the Actions button next to the gateway you want to remove.

  2. Select Delete to open the Delete Termination Gateway dialog.

Actions Menu

Fig. 9. Opening the Delete dialog for a termination gateway

  1. To permanently delete the termination gateway and unlink its relations, enable the Delete and unlink relations toggle.

  2. Click Delete to confirm.

Note

Deleting a termination gateway also deletes and unlinks all associated relations. Unlinking these relations may disrupt connected services. If you prefer not to proceed, close the dialog and update or remove the connections manually.

Delete Termination Gateway dialog

Fig. 10. Delete Termination Gateway dialog