RingQ Customer Centric Communications

Configuring Twilio SIP Trunk (IP Based)


Introduction

This guide walks you through the steps to configure a Twilio SIP Trunk (Peer Connection) for use with RingQ. It covers the required settings on both the Twilio and RingQ sides to ensure secure, reliable call routing for inbound and outbound calls.

Twilio Configuration

1

Log in to your Twilio account.

Setup a SIP Trunk in Twilio for RingQ
2

Navigate to Elastic SIP Trunking > Trunks.

3

Click Create new SIP Trunk.

Create new trunk in Twilio.
4

Enter your friendly name and click Create. Leave the default settings. If you need a specific feature such as recording, enable it here.

5

Save the trunk.

6

You will see a menu under the trunk name. Click Termination.

Select termination in Twilio.
7

Select the Termination SIP URI and make sure the SIP URI is available.

Add IP address range
Authenticate
8

IP Access Control Lists: To select one of your already configured ACLs, open the IP Access Control Lists pull-down menu and choose the one you want to use. If you do not have any ACLs configured, or want to add a new one, click the + button to the right of the pull-down menu.

RingQ Policy for Twilio SIP Trunk
Header manipulation
Header manipulation
9

If you want to manipulate the header, use these options. For RingQ, to remove the plus sign on the DID number, use the header manipulation rule shown below.

Select origination
10

Under the trunk menu, select Origination URIs.

Add your RingQ FQDN
11

Click + and add your RingQ FQDN.

Add a DID number
12

From the trunk menu, select a number to assign a DID to this trunk. Use the Add Number button to select options.

RingQ Configuration

1

Log in to your RingQ instance.

Add Twilio SIP Trunk to RingQ
2

Go to Settings > Call Flow > SIP.

3. Click + in the top-right corner to add a Supported SIP Template.

Add a SIP Trunk to RingQ
4

Select the country that you want to configure.

5

Select the provider logo.

6

Select the IP-Based template.

Create a SIP Trunk in RingQ
7

Enter the trunk name.

8

Leave the username and password fields empty.

9

Enter the outbound caller ID that you want to use as the main number.

10

Create the trunk.

Green status color
11

You will see a green status color if the trunk is successfully connected.

Creating Outbound Rules

Creating outbound rules in RingQ
1

Go to Settings > Global > Outbound Rules.

2

Click Outbound Rule + to add a rule.

Adding an outbound rule in RingQ
3

Enter the trunk name and prefix details for how to route the calls.

4

Select Route as Twilio SIP.

Creating an Inbound Rule

Add DID in RingQ
1

Go to Settings > Call Flow > Add DID.

2

Click Add DID + to add a DID.

Click on Add DID
3

Click Add DID as shown above.

4

Enter the DID number.

5

Select the trunk name.

6

Click the Create button.

Available DID list
7

The DID will appear in the available list. Drag and drop the DID where you need it (queue, extension, or IVR).

8

When you drag the DID, you will get the option to create an extension, IVR, or queue, or to add it to an existing extension, IVR, or queue.