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:

  1. Set up authentication for your Trunk
  2. 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:

  1. Login to your Plivo account, and then click Zentrunk on the Products navigation bar.
  2. On the Trunks page, click the IP Group tab, and then click Create New Group.
  3. 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.
  4. Click Create IP Group to save and add your IP Group image alt text

Creating a Trunk Auth Group

Auth Group is a set of Credentials for a trunk. To create a Trunk Auth Group:

  1. On the Trunks page, click the Auth Group tab, and then click Create Auth Group.
  2. On the Create Auth Group window, enter a name for your Auth Group (for example, TestAuthGroup), and then configure the Username and Password.
  3. Click Create Auth Group to save and add your Auth Group. image alt text

Creating a Trunk

To create a Trunk:

  1. On the Trunks page, click the Outbound Trunk tab, and then click Create New Trunk.
  2. On the Create New Trunk window, enter a name for your trunk (for example, Plivo Test). image alt text
  3. From the IP Group drop-down list, select the IP Group created in Step1 (TestACL).
  4. From the Auth Group drop-down list, select the Auth Group created in Step2 (TestAuthGroup). Note: The Enabled checkbox is selected by default.
  5. 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.

Regions IP Addresses Ports
North California, USA 13.52.9.0/25 For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)
Virginia, USA 18.214.109.128/25 18.215.142.0/26 For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)
Frankfurt, Germany 3.120.121.128/26 For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)
Sao Paulo, Brazil 18.228.70.64/26 For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)
Sydney, Australia 13.238.202.192/26 For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)
Singapore 18.136.1.128/26 For Signalling 5060 (UDP/TCP), 5061 (TLS) For Media 10000 - 30000 (UDP/TCP)