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 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.

Fig. 1. Termination Gateways
Adding and Configuring Termination Gateways
Step 1. To add a new termination gateway, click on the
button. Alternatively, click on the Edit button to modify a previously configured gateway.

Fig. 1. Editing And Creating Termination Gateways
Step 2: Input the General Settings:
Setting |
Description |
---|---|
Name |
A friendly name for this gateway. |
Network Protocol |
|
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 |
|
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.

Fig. 2. 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 completely rewrite the numbers on a per-gateway basis.
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.

Fig. 3. CLI Rules
If no changes are required to be made to the numbers when making outbound calls, then the Rule and Result fields should be left blank.
Note
Knowledge in using POSIX Regular Expressions is required in order to use this feature.
Step 4: Click Save to finalize and create or edit your termination gateways.