Termination Gateways

Termination Gateways are used to call out from phone.systems™ using created SIP accounts or to forward calls to PSTN destinations. A third-party termination provider must be added and configured under the Gateways tab section.

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

../../_images/fig164.png

Fig. 1. Termination Gateways



Adding and Configuring Termination Gateways

Step 1. To add a new termination gateway, click on the +-symbol button. Alternatively, click on the Edit button to modify a previously configured gateway.

../../_images/fig812.png

Fig. 2. Editing and Creating Termination Gateways

Step 2. Input the General Settings:

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.

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 codes for events such as Interactive Menu options or Feature Codes, ensure that the telephone-event codec is included in the Allowed Codecs list.

../../_images/fig253.png

Fig. 3. General Settings

Step 3. Configure CLI Rules (Optional):

The CLI Rules are used to automatically modify the source and destination numbers sent to the termination gateway, allowing users to add and remove prefixes or rewrite numbers per gateway.

  • SRC Rewrite Rule/Result (optional): Modifies the source number that phone.systems™ sends to the provider’s termination gateway.

  • DST Rewrite Rule/Result (optional): Modifies the calling destination number that is sent to the provider’s gateway.

../../_images/fig339.png

Fig. 4. CLI Rules

If no number modifications are required, leave these fields blank.

Note

Knowledge in using POSIX Regular Expressions is required to configure rewrite rules.

Step 4. Click Save to finalize and create or edit your termination gateways.



Editing Termination Gateways

To edit termination gateways, click the Actions button and select Edit.

Actions Menu

Fig. 5. Actions Menu

Make the necessary modifications in the Edit Termination Gateway window and click Save to confirm your changes.

../../_images/edit_window.png

Fig. 6. Editing Termination Gateway



Termination Gateway Relations

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

To access it, click the Actions button and select Relations.

Actions Menu

Fig. 7. Actions Menu

This view shows related configurations, such as Termination Routes.

To navigate to the related section, click the gear symbol next to the relation.

Termination Gateway Relations

Fig. 8. Termination Gateway Relations



Deleting Termination Gateways

To delete termination gateways, click the Actions button and select Delete.

Actions Menu

Fig. 9. Actions Menu

If the selected gateway has any relations, the Delete Termination Gateway dialog displays a warning banner and a relations counter. Click the counter to view the full list of related items.

To permanently delete the termination gateway and its related items, enable the Delete and unlink relations toggle, then click Delete.

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