Getting started with Zentrunk
Zentrunk is Plivo’s SIP Trunking service that provides global coverage for your outbound voice calls. Zentrunk works with your current cloud or on-premise communications infrastructure.
Before you get started, you will need to have the following:
- A Plivo account - Click here to signup for free.
- IP-PBX or SBC with an internet connection. For more information, see our interconnection guides.
In order to use Zentrunk to terminate calls, you would need to do the following configuration on Plivo Console:
- Set up authentication for your Trunk
- Create a Trunk
Setting up Authentication for your Trunk
Authentication of your Trunk ensures that Zentrunk only accepts traffic sent securely by your infrastructure. You can configure your trunk to be authenticated with an IP Group or an Auth Group, or both.
Creating a Trunk IP Group
IP Group is a list of IPs addresses from which your trunk can accept traffic. It is configured as a comma-separated list of IP addresses or an address block with CIDR notation that needs to be whitelisted. The IP Group should contain the public IP address of your machine that runs your PBX.
To create a Trunk IP Group:
- Login to your Plivo account, and then click Zentrunk on the Products navigation bar.
- On the Trunks page, click the IP Group tab, and then click Create New Group.
- On the Create IP Group window, enter a name for your IP Group (for example, TestACL), and then enter the IP addresses to be whitelisted in the IP Address List field. Note: You can add multiple IP addresses separated by a comma.
- Click Create IP Group to save and add your IP Group
Creating a Trunk Auth Group
Auth Group is a set of Credentials for a trunk. To create a Trunk Auth Group:
- On the Trunks page, click the Auth Group tab, and then click Create Auth Group.
- On the Create Auth Group window, enter a name for your Auth Group (for example, TestAuthGroup), and then configure the Username and Password.
- Click Create Auth Group to save and add your Auth Group.
Creating a Trunk
To create a Trunk:
- On the Trunks page, click the Outbound Trunk tab, and then click Create New Trunk.
- On the Create New Trunk window, enter a name for your trunk (for example, Plivo Test).
- From the IP Group drop-down list, select the IP Group created in Step1 (TestACL).
- From the Auth Group drop-down list, select the Auth Group created in Step2 (TestAuthGroup). Note: The Enabled checkbox is selected by default.
- Click Create Trunk. Your first trunk has been created.
List of IPs to whitelist
You may need to whitelist Plivo IPs in your firewall to ensure that calls get routed without interruption. Please ensure that you whitelist all the IPs mentioned as the calls might get routed through a different region in an unlikely event of service disruption in a specific region.
The following are the list of IP addresses that you would need to whitelist.
|North California, USA||220.127.116.11/25||For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)|
|Virginia, USA||18.104.22.168/25 22.214.171.124/26||For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)|
|Frankfurt, Germany||126.96.36.199/26||For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)|
|Sao Paulo, Brazil||188.8.131.52/26||For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)|
|Sydney, Australia||184.108.40.206/26||For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)|
|Singapore||220.127.116.11/26||For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)|