Configuring X-lite (Now Bria)

    Overview

    This guide will help you test out your origination and termination setup by configuring a VoIP soft client. You can follow the step-by-step instructions available in this guide to configure X-lite(now Bria Solo) for the same. Testing your origination and termination setup using such a VoIP client will help you to understand the use of Zentrunk and to test the setup for outbound and inbound calls even before implementing the same in your communication infrastructure.

    Prerequisites

    Before we dive into the setup of the Bria VoIP client, let us check the prerequisites that we require:

    1. Plivo account: Sign up here to get your free Plivo account today. Follow these steps to sign up for a free trial account.
    2. Bria account & app: You can use your email address to signup/login to Bria Solo and use the free-trial plan for termination and origination setup. Once you have logged in, you can download the app from the Bria Solo dashboard for your preferred platform.
    3. Plivo Number(for Inbound): You need to buy a Plivo number to receive incoming calls and to forward the same to your trunk.

    Outbound - Configure ZT for termination

    You can follow the below steps to create an outbound trunk using Plivo Zentrunk and configure the same on the Bria Solo app to make outbound calls.

    Create an Outbound Trunk

    Create Outbound Trunk

    1. On the Outbound Trunks page in your Plivo Console, click Create New Outbound Trunk.
    2. In the New Trunk window, enter a name for your trunk (for example, Bria_termination).

      Note: By default, the trunk is enabled.

    3. Under Trunk Authentication, select the IP Access Control List, the Credentials List, or both.

      Note: Make sure you choose either an IP Access Control List or a Credentials List. The "IP Access Control List" shall provide a list of the IP addresses from which the SIP Invite will be accepted for this trunk. The "Credentials List" will provide a username and password that will be used to authenticate the SIP Invite.

    4. To Create a Credentials List:
      1. To add a new Credentials List, click + Add New Credentials List.
      2. In the ‘Create Credentials List’ window, enter the name for your Auth Group (for example, Bria_termination), Username, and Password.
      3. Click Create Credentials List to save and add your Credentials List.
    5. Select the Credentials List, click Create Trunk. Your Outbound trunk will be created.
    6. Copy and store the Termination SIP Domain as we need this while configuring the Bria Solo app for termination.

    Configure the Trunk on Bria

    Configure the Outbound Trunk on Bria

    1. You can Sign up for a Bria Solo free-trial account and login to the same.
    2. Under the Voice and Video section, click on the “Configure Voice and Video” button, you will be redirected to the “Voice Servers and Services” page.
    3. On the “Voice Servers and Services” page, click on the Add Voice Configuration button and select the “Configure SIP Settings” option.
    4. Fill the details on the “New Voice Configuration” window with the details of the Outbound Trunk created on the Plivo Console:
      1. Provide a Service Label, for example, “Plivo Termination”.
      2. Copy and paste the “Termination SIP Domain” in the “Domain” field. This is the information that you stored in the previous section(Create an Outbound Trunk).
      3. You can provide the Caller ID for your outbound calls in the “SIP Username/Call Extension” field.
      4. Configure the “Authorization Username” and “SIP/Voice Password” fields with the Username and Password of the “Credentials List” you created on the Plivo Console for the outbound trunk.
    5. As the final step, go to the “Service Settings” tab in the “New Voice Configuration” window and uncheck the “Register with domain and receive calls” option.
    6. Click on the “Save and Close” button to save the configuration.

    Terminate Calls from Bria

    Termincate calls from Bria

    You can download the Bria Solo app from the “Downloads” section on your Bria Dashboard and start to make outbound calls by referring to the following instructions:

    1. Open the Bria Solo app on your device.
    2. Login to the Bria account using the same email address and password you used to create the Bria Solo account.
    3. Once the login is successful, you can dial out the Phone number you wish to make the call to. The calls will be terminated using the Outbound Trunk created on your Plivo account.

    Inbound - Configure ZT for origination

    Inbound configuration on PBX

    Once you’re done with the inbound configuration of any supported PBXes, you need the following details to create an inbound trunk using Zentrunk on the Plivo Console.

    1. IP address or FQDN to which the inbound call has to be routed.
    2. Credentials related to the ACL with which the inbound trunk is configured on your PBX.

    Sample Details

    Let’s consider the below values(these values are from the Freeswitch configuration) for the test setup in this guide:

    • IP address: 13.212.193.240
    • Username: 1000
    • Password: 1234

    Create an Inbound trunk

    Create inbound trunk

    1. On the Inbound Trunks page in your Plivo Console, click Create New Inbound Trunk.
    2. On the New Trunk window, enter a name for your trunk (for example, Plivo Inbound).

      Note: The Enabled checkbox is selected by default.

    3. Select the Primary URI and Fallback URI of your PBX.

      Note: The Primary URI is the FQDN or IP address to which all calls are forwarded first. If the Primary URI is unresponsive, the calls will be forwarded to the Fallback URI.

    4. To add a new Primary or Fallback URI, click Add new URI.
    5. On the Create URI window, enter a name for your URI (for example, inbounduri), and then enter the URI (the FQDN or IP Address of your VoIP infrastructure).
    6. Click Create URI to save and add your URI.
    7. Once you have created and selected your Primary and Fallback URI, click Create Trunk. Your inbound trunk will be created.

    Configure the trunk with a Plivo Number

    Configure the trunk with a Plivo Number

    1. Once you click on Create Trunk in the next window, you can link your trunk with Phone numbers.
    2. You can either link the trunk with your existing phone numbers in your account or buy a new phone number and link the trunk.
    3. If you wish to use your existing numbers, select the phone numbers under the Current Phone Numbers section, and click Link Selected Numbers.
    4. If you wish to use a new number, navigate to the Buy New Number section and choose the country, prefix, type, capability, and click on Search.
    5. Select a Phone number and click Buy Number.
    6. Once you click on Buy Number, the number will be added to your account and the same will be linked with your inbound trunk.

    To know more about buying a Plivo Phone number, please navigate to the Buy a number section.

    Configure the user with Bria

    Configure the user with Bria

    1. You can Sign up for a Bria Solo free-trial account and login to the same.
    2. Under the Voice and Video section, click on the “Configure Voice and Video” button, you will be redirected to the “Voice Servers and Services” page.
    3. On the “Voice Servers and Services” page, click on the Add Voice Configuration button and select the “Configure SIP Settings” option.
    4. Fill the details on the “New Voice Configuration” window with the details of the inbound trunk configured on your PBX:
      1. Provide a Service Label, for example, “Plivo Origination”.
      2. Copy and paste the “Origination SIP URI” in the “Domain” field. This is the information that you stored in the previous section(Create an Inbound Trunk).
      3. Configure the “Authorization Username” and “SIP/Voice Password” fields with the Username and Password of the “ACL” you updated while configuring the trunk on your PBX. In this guide, we will use “1000” as the username and “1234” as the password.
    5. As the final step, go to the “Service Settings” tab in the “New Voice Configuration” window and provide the IP address of the PBX in the SIP Proxy field and check the “Register with domain and receive calls” option if it’s unchecked.
    6. Click on the “Save and Close” button to save the configuration.

    Receive Incoming calls on Bria

    Receive Incoming calls on Bria

    You can download the Bria Solo app from the “Downloads” section on your Bria Dashboard and start to receive inbound calls by referring to the following instructions:

    1. Open the Bria Solo app on your device.
    2. Login to the Bria account using the same email address and password you used to create the Bria Solo account.
    3. Once the login is successful, you can dial out the Plivo Phone number to which the inbound trunk is assigned. The calls will be routed to the user configure on the Bria Solo app using the inbound Trunk created on your Plivo account.