How to Build an Inbound SIP Trunk for Voice Origination Using PHLO

How to Build an Inbound SIP Trunk for Voice Origination Using PHLO

Plivo’s PHLO visual workflow builder lets you quickly create and configure a SIP trunk call forwarding system for your business. You can migrate your existing SIP trunk hosted voice application to PHLO, which then forwards your Plivo number’s incoming calls to an IP PBX and SIP endpoint.

Configure your inbound SIP trunk

Plivo provides SIP trunk configuration instructions for the most popular SIP trunking platforms, including Freeswitch, Asterisk, FreePBX, 3CX, and FusionPBX.

Prerequisites

To get started, you need a Plivo account — sign up with your work email address if you don’t have one already. To receive incoming calls, you must have a voice-enabled Plivo phone number. You can rent numbers from the Numbers page of the Plivo console, or by using the Numbers API.

Create a PHLO to forward inbound calls

To forward an incoming call, you can create and deploy a PHLO with a few clicks on the PHLO canvas.

Create a PHLO
  • On the side navigation bar, click PHLO. The PHLO page will appear and display your existing PHLOs, if any exist. If this is your first PHLO, then the PHLO page will be empty.
  • Click Create New PHLO to build a new PHLO.
  • In the Choose your use case window, choose the Call Forwarding use case. The PHLO canvas will appear with a prebuilt template for the Call Forwarding use case.
  • Configure the Call Forward node.
  • From field: This will be already configured with . It’s the caller ID to display to the recipient of the forwarded call.
  • To field: List of recipients to forward the incoming call and to bridge into the active call. The list can contain IP PBXes and SIP endpoints separated by a comma:

    • sip:1NPANXXYYYY@sip.example.com
    • sip:phonenumber@192.0.0.1
    • sip:sipendpoint@phone.plivo.com

    Note: You must choose sequential for call forwarding configuration setting so that it will be dialed sequentially on failover.

  • Once you’ve configured the node, click Validate to save the configurations.
  • After you complete the configuration, provide a name for your PHLO and click Save.

Assign the PHLO to a Plivo number to forward incoming calls

Once you’ve created and configured your PHLO, assign your PHLO to a Plivo number.

  1. Log in to the Plivo console.
  2. On the Product Navigation bar, click Phone Numbers.
  3. On the Numbers page, under Your Numbers, click the phone number you want to use for the PHLO.
  4. In the Number Configuration window, select PHLO from the Application Type list.
  5. From the PHLO Name list, select the PHLO you want to use with the phone number, and then click Update Number.
Assign a Phone Number

Test

You can now make a call to your Plivo phone number and see how the inbound call is forwarded to the list of IP PBXes and endpoint specified in the PHLO.

For more information about creating a PHLO app, see the PHLO User Guide.
For information on components and their variables, see the PHLO Components Library.

Haven’t tried Plivo yet? Getting started is easy and only takes minutes. Sign up today.

The State of Marketing in 2024

HubSpot's Annual Inbound Marketing Trends Report

Frequently asked questions

No items found.
footer bg

Subscribe to Our Newsletter

Get monthly product and feature updates, the latest industry news, and more!

Thank you icon
Thank you!
Thank you for subscribing
Oops! Something went wrong while submitting the form.