This document describes how to connect your ISP to Plivo. The interconnection to a SIP trunk needs you full attention in all of its nuances.
Link to Youtube video of this configuration: https://youtu.be/wtDsjSnvd5I
1. Planning
1.1 Codecs
The system will use PCMU to connecto to PLIVO at this point. There are no specific settings on PLIVO to change this.
1.2 Caller ID for outgoing calls
Fortunately, PLIVO accepts caller ids in +e164 format, so no conversion is required.
1.3 - Normalization of the destination number
Again PLIVO accepts everything in +e164 format, so no conversion required
1.4 - Firewall rules
You should add the address of your SBC to the PLIVO ACL.
1.5 - Authentication
We are going to use the IP ACL from PLIVO
2. Configuring an inbound trunk on PLIVO
2.1 Create an Outbound Trunk on Plivo
2.2 Create an IP Access List
Create an IP address for your SBC. The shared SBCs have the follogin addresses. (Ping the addresses by the name, they may change with time)
sbc-us.wehostvoip.io -> Located in United States -> 172.174.24.204\ sbc-br.wehostvoip.io -> Located in Brazil -> 20.226.38.150\ sbc-in.wehostvoip.io -> Located in India -> 20.204.231.235
2.3 Credentials list
Leave empty
3. Configure a carrier on WeHostVoIP
3.1 Add a carrier and gateways at wehostvoip
It is very simple to add a carrier and a PLIVO gateway.
Add the gateway as the FQDN provided by PLIVO.
3.2 Add the Caller ID, I highly recommend you to assign a number on PLIVO and use here its Caller_ID.
3.3 Normalization - Not required
3.4 Firewall Rules and Authentication - Not required
3.5 Don't forget to add the country in the security group of the tenant (https://console.wehostvoip.io)
3.6 Test the call to any 800 number
4 Inbound Calls
4.1 Create an Inbound Trunk on PLIVO
For inbound calls you have to configure an inbound trunk