Skip to main contentThis guide walks you through setting up Telnyx to route calls to Butter AI.
Prerequisites
- A Telnyx account.
- A phone number in your Telnyx account.
- A Butter AI SIP Inbound Trunk created (see Import Phone Number).
Step 1: Create a SIP Connection
- Log in to the Telnyx Portal.
- Navigate to Voice > SIP Trunking > SIP Connections.
- Click Add SIP Connection.
- Name it (e.g., “Butter AI”).
- Select SIP Trunking.
- Click Create SIP Connection.
This tells Telnyx where to send incoming calls.
- In your new SIP Connection, find the Inbound settings.
- SIP Transport Protocol: Select
TCP (or UDP if preferred, but TCP is recommended for reliability).
- DNIS Type:
E.164.
- Expert Settings: Ensure codecs include
PCMU (G.711u) and PCMA (G.711a).
- SIP URI:
- Select Add New IP/URI.
- Type:
SIP URI.
- URI: The SIP Server Address provided by Butter AI (e.g.,
sip.your-region.livekit.cloud).
- Port:
5060.
- Click Save.
Step 3: Assign a Number to the Connection
- Navigate to Numbers.
- Find your phone number.
- In the Connection dropdown, select the “Butter AI” connection you just created.
- Click Save.
If you plan to make outbound calls from Butter AI through Telnyx:
- In your SIP Connection, go to Outbound.
- Outbound Profile: Create a new profile or select an existing one.
- Authentication Method:
- Select Credentials.
- Create a Username and Password.
- You will use these credentials when configuring the “Outbound SIP Trunk” in Butter AI.
Step 5: Verify
Call your Telnyx phone number. The call should route through Telnyx to the Butter AI SIP URI and connect to your agent.