Connecting Twilio Elastic SIP Trunking to Live Hub

This section describes how to connect Twilio Elastic SIP Trunking to Live Hub.

To connect Twilio Elastic SIP Trunking to Live Hub, complete the following steps:

  1. Create SIP Connection in AudioCodes Live Hub Platform.

  2. Configure Twilio Elastic SIP Trunking.

  3. Update SIP Connection in AudioCodes Live Hub Platform.

Create SIP Connection in Live Hub

The following procedure describes how to create a SIP Connection in Live Hub that represents your Twilio Elastic SIP Trunking account.

  1. Log in to Live Hub.

  2. In the navigation menu, select SIP Connections, and then click the Add new SIP connection button to add a new SIP Connection.

  3. Under the GENERAL tab:

    1. In the GENERAL section:

      • For ‘Name’, enter unique SIP Connection name (e.g., Twilio).

      • For ‘Provider Type’, select SIP Trunk.

      • For ‘Provider’, select Twilio SIP Trunk.

    2. In the SECURITY section:

      • For ‘Encryption’, select Enabled.

    3. Generate a username and password that will be used to authenticate the connection between Twilio SIP Trunking and Live Hub.

      • Username must be at least 12 characters long and contain uppercase, lowercase, digit and special character (._-)

      • Password must be at least 12 characters long and contain uppercase, lowercase, digit and special character (~!@#$%^&*_-+=`|\(){}[]:;"'<>,.?/)

    4. Save generated <username> and <password>. You will need them during Twillio Elastic SIP Trunking account provisioning.

    5. In the REGISTRATION AND AUTHENTICATION section:

      • For ‘Credentials’, enter generated <username> and <password>.

  4. Under the INCOMING tab:

    1. In the AUTHENTICATION section:

      • Check the FQDN (Request-URI) checkbox. Write down (e.g., copy/paste to some text document on your laptop/PC) the displayed ‘SIP Connection FQDN’ value. You will need this value when configuring the Elastic SIP Trunking in your Twilio account.

      • Check the Source IP Address checkbox.

  5. Under the INFO tab:

    1. In the ADDRESSES section:

      • Write down the ‘ADDRESS’ value for the entry with TYPE = Signaling and PROTOCOL = udp. This value represents signaling IP address of the Live Hub and you will need it when configuring the Elastic SIP Trunking in your Twilio account.

  6. Click Create to create a new SIP Connection.

Configure Twilio Elastic SIP Trunking

The following procedure describes how to configure Elastic SIP Trunking in AudioCodes account.

  1. Log in to your Twilio account (https://www.twilio.com).

  2. Navigate to CONSOLE > Elastic SIP Trunking.

  3. In the navigation pane, select Manage > Trunks.

  4. Click Create new SIP Trunk.

  5. Enter the name for your new SIP Trunk (e.g., AudioCodes Live Hub).

  6. In the General section:

    • For ‘Secure Trunking’, select Enabled.

    • For ‘Call Transfer (SIP REFER)’, select Enabled.

    • Check the Enable PSTN Transfer check box.

  7. In the Termination section:

    1. For ‘Termination URI SIP’, enter unique domain name prefix that will be used to identify outgoing calls from AudioCodes Live Hub platform. Copy the complete SIP URI – including both configured domain name prefix and fixed Twilio suffix (e.g., audc-vaic.pstn.twilio.com) for future use.

    2. Under Authentication:

      • For ‘IP Access Control Lists’, click the plus (+) button to create new Access Control List.

        • Enter friendly name for Access Control List.

        • For ‘CIDR NETWORK ADDRESS’:

          • Enter the signaling IP address of Live Hub, as was shown in SIP Connection > INFO tab > ADDRESSES section > entry with TYPE=Signaling, PROTOCOL=udp.

          • Select 32 for prefix length.

        • Click Create ACL.

      • For ‘Create Credential List’, click the plus (+) button to create a new Credential List.

        • Enter friendly name for Access Control List.

        • For ‘USERNAME’ and ‘PASSWORD’, enter the same values as configured in Live Hub platform’s SIP Connection > GENERAL tab > Credentials.

        • Click Create.

  8. In the Origination section:

    • For ‘Origination URI’, click the plus button to create a new Origination URL.

    • For ‘Origination SIP URI’, enter the following value:

      • "sip:<sip-connection-fdqn>:5061;transport=tls", where <sip-connection-fqdn> is Live Hub platform’s SIP Connection FQDN value as displayed in SIP Connection > INCOMING tab.

    • Click Add.

  9. In the Numbers section:

    • Click Add a number and select one of the provided options.

Update SIP Connection in Live Hub

The following procedure describes how to update Outgoing in Live Hub.

  1. Log in to your Live Hub.

  2. In the navigation menu, select SIP Connections, and then select the SIP Connection created in the section above.

  3. Click the OUTGOING tab:

    1. In the OUTGOING section:

      • For ‘SIP Server Hostname’, enter Twilio SIP Trunking Termination SIP URI (e.g., audc-vaic.pstn.twilio.com)

    2. In the ADDRESSES section, change the ‘ADDRESS’ to the Twillio SIP Trunking Termination SIP URI (e.g., audc-vaic.pstn.twillio.com)

  4. Click Update.