RingQ Customer Centric Communications

Configuring Twilio SIP Trunk (Acct Reg)


Introduction

This guide walks you through the steps to configure a Twilio SIP Trunk (Account Registered) 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.

Login to your Twilio account
2

Navigate to Voice > Manage > SIP Domain.

3

Click + to create a new SIP trunk.

Add a new SIP Trunk in Twilio
4

Enter your friendly name and SIP URI, and leave the default settings. If you need a specific feature such as recording, enable those options.

5

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

Voice Authentication
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.

Credentials

Credentials
1

Click + to create credentials.

Save your credentials for Twilio SIP Trunk
2

These credentials will be used to register the trunk on the RingQ instance. Copy the username and password so you can add them to your RingQ instance.

SIP Registration

SIP Registration

Allow SIP endpoints to register with this SIP domain. When you configure your SIP endpoint, you must specify the localized SIP domain that you want to register—for example, {domain-name}.sip.us1.twilio.com for North America Virginia (US1). Credential lists must always be specified.

1

Enable SIP registration and select the credentials that you created.

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.

RingQ Policy for Twilio SIP Trunk
Header manipulation
8

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.

Header manipulation
9

Under the trunk menu, select Origination URIs.

Select origination
Add your RingQ FQDN
10

Click + and add your RingQ FQDN.

Add a DID number
11

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.

Registered Based Twilio SIP Trunk Configuration.
6

Add the SIP trunk details:

  1. Enter the trunk name.
  2. Type of Authentication — select Register Based.
  3. Leave the username and password fields empty.
  4. Enter the outbound caller ID that you want to use as the main number.
  5. Create the trunk by clicking Save.
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.