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.
Step 2: Configure Origination (Outbound from Twilio)
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 import a phone number with Provider type ‘LiveKit SIP’ 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.
Step 4: Configure Termination (Optional)
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.