Create a SIP Register Trunk
This topic gives a configuration example to describe how to create a general SIP Register Trunk, which can be applied to all kinds of SIP Register Trunk.
Background information
Assume that you have bought a SIP account from the ITSP ABC, and the trunk information is displayed as below.
- Provider domain: abc.provider.com
- Protocol: SIP
- Registration Port: 5060
- Transport: UDP
- Username: 254258255
- Authentication name: 254258255
- Password: 05JsOmsIS54SYh
Prerequisites
- You have purchased a SIP account from an ITSP and a username and a password are offered.
- Your PBX can connect to the ITSP.
Procedure
- Log in to PBX web portal, go to Add. , click
- In the Basic section, configure the following settings:
- Name: Enter a name to help you identify it.
- Trunk Status: Select Enabled.
- Select ITSP Template: Select General.
- In the Detailed Configuration section, select the
trunk type and enter the SIP information that is provided by the ITSP.
- Trunk Type: Select Register Trunk.
- Transport: Select the transport provided by the ITSP. In this example, select UDP.
- Hostname/IP: Enter the domain name or IP address of the ITSP. In this example, enter abc.provider.com.
- Port: Enter the provided registration port. In this example, enter 5060.
- Domain: Enter the domain in SIP URI of a
specific header like From, To header. In this example, enter
abc.provider.com.Note: If the domain is not provided by ITSP, enter the same value as Hostname/IP.
- Username: Enter the provided user name. In this example, enter 254258255.
- Password: Enter the provided password. In this example, enter 05JsOmsIS54SYh.
- Authentication Name: Enter the provided
authentication name. In this example, enter 254258255.Note: In most cases, authentication name is the same as the user name.
- Enable Outbound
Proxy:
Optional. If the trunk is configured to use an outbound proxy
server, when users make outbound calls through this trunk, all
the SIP packets will be sent to the outbound proxy server.Note: Contact your ITSP to check if outbound proxy is supported, then configure outbound proxy settings under the ITSP's guidance.
- Optional: If you have purchased DID
numbers from the ITSP, click
DIDs/DDIs tab to configure the DID numbers for the trunk.
- Click Add.
- In the pop-up window, configure the following settings:
- DID/DDI: Enter the DID number provided by the ITSP.
- DID/DDI Name: Optional. Enter
a name to distinguish inbound calls by DID
numbers.
The name will be displayed on the called party's device when the DID number is dialed.
- Click Save.
- To add more DID numbers, repeat step a - c.
For more information of DID configurations, see Configure DID Numbers on a Trunk.
- Optional: Click Advanced, Inbound Caller ID Reformatting, Outbound Caller ID, or SIP Headers tab to configure other settings.
- Click Save and Apply.
Result
Go to
to check the trunk status on the trunk list page.If the status shows , the trunk is registered successfully.
For more information of SIP trunk status, see SIP Trunk status.
What to do next
- To receive inbound calls through the trunk, you need to select this trunk to one or more inbound routes. For more information, see Set up an Inbound Route.
- To make outbound calls through the trunk, you need to select this trunk to one or more outbound routes. For more information, see Set up an Outbound Route.