Setting Up an Inbound Connection

If you're unable to connect your IP-PBX directly to Parloa via a SIP trunk, you have the option to connect through PSTN using Tenios. You have two options within Tenios: using an IP trunk (recommended) or using SIP accounts. This document will cover both methods.

Setting Up an Inbound Connection

Connecting Tenios to Parloa via an inbound SIP trunk is the simplest and recommended method. It involves routing all calls through a single SIP trunk.

Prerequisites

Keep these two pieces of information handy for the next steps.

Setting Up the SIP Trunk

With your phone number and subdomain known, the first step is to set up the SIP trunk in Tenios. Log into your Tenios account and navigate to SIP Trunks under Setup on the left side of the screen.

  1. Click Add SIP Trunk.

  2. Under "Type of trunk", select IP Address.

  3. Enable the following settings:

    • Allow outbound calls to the PSTN: This allows transfers to other PSTN numbers when Parloa sends a Refer back to Tenios.

    • Clip No Screening: This allows for custom caller IDs for transfers.

  4. Fill in the following fields:

    • Name: Choose any name you like.

    • IP/Domain: Your custom Parloa subdomain ending in voip.parloa.com.

    • Transport Protocol: TLS is recommended.

    • Default Number: Use the existing phone number from the Prerequisites section.

    • Outbound Caller ID: P-Asserted-Identity.

    • Username/Password (optional): For an extra layer of security.

Routing the Number to the SIP Trunk

Now that the SIP trunk is set up, the next step is to configure routing so calls to specific numbers are directed to this SIP trunk and then to Parloa.

  1. Search for the number you want to route, then click Route to Trunk and select the newly created trunk.

Creating the Release in Parloa

Having configured Tenios to route calls to Parloa, you now need to configure Parloa to direct these calls to your bot.

  1. Log into Parloa and choose the project you want to connect.

  2. Navigate to the Deployments tab –> click Add New Release.

  3. Select Phone 2, and click Next.

  4. Select Peering / Inbound registration.

  5. Choose your authentication method:

    • Whitelisted IPs – Add all of Tenios' Public IPs for SIP trunking.

    • Authentication – Use the username & password you created when setting up the SIP Trunk in Tenios.

    • Whitelisted IPs + Authentication – Both of the above.

  6. Add the URI:

    • The "user" part of the URI (everything before the @) is the Tenios phone number without special characters (+ & -).

    • The "domain" part of the URI (everything after the @) is your custom Parloa subdomain.

  7. Click Next, adjust any additional settings as needed (we recommend adding the phone number in the description for easier identification), and click Create.

Congratulations! You can now dial the Tenios number, and it will be directed to your bot.

Bonus: Routing Multiple Numbers to the Same Trunk

You can route multiple numbers to the same trunk and create different URIs in Parloa for each number.

Last updated