Skip to main contentThis guide walks you through setting up Twilio Elastic SIP Trunking to route calls to Butter AI.
Prerequisites
- A Twilio account.
- A phone number in your Twilio account.
- A Butter AI SIP Inbound Trunk created (see Import Phone Number).
Step 1: Create a SIP Trunk in Twilio
- Log in to the Twilio Console.
- Navigate to Elastic SIP Trunking > Trunks.
- Click Create new SIP Trunk.
- Name it (e.g., “Butter AI Trunk”).
- Click Create.
This tells Twilio where to send the call when someone dials your number.
- Select your new trunk and go to Origination.
- Click Add new Origination URI.
- Enter the SIP Server Address provided by Butter AI (e.g.,
sip.your-region.livekit.cloud).
- Note: You get this URI when you create a SIP Phone Number in Butter AI.
- Enabled: Yes.
- Click Save.
Step 3: Assign a Number
- Go to Numbers within your SIP Trunk settings.
- Click Add a number.
- Select an existing phone number from your account or buy a new one.
- Click Add Selected.
If you plan to make outbound calls from Butter AI through this Twilio trunk:
- Go to Termination.
- Enter a unique Termination URI (e.g.,
butter-ai-yourname.pstn.twilio.com).
- Under IP Access Control Lists, add the IP addresses provided by Butter AI (contact support for these).
- Alternatively, use Credential Lists to create a username/password that Butter AI will use to authenticate.
Step 5: Verify
Call the phone number you assigned in Step 3. If everything is configured correctly, Twilio will forward the SIP invite to Butter AI, which will answer and connect you to your agent.