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.
Step 2: Configure Inbound Routing
This tells Telnyx where to send incoming calls.- In your new SIP Connection, find the Inbound settings.
- SIP Transport Protocol: Select
TCP(orUDPif preferred, but TCP is recommended for reliability). - DNIS Type:
E.164. - Expert Settings: Ensure codecs include
PCMU(G.711u) andPCMA(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.
Step 4: Configure Outbound (Optional)
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 importing a SIP phone number in Butter AI.