Back to Blog
Integration Guides

How to Integrate Twilio with Aircall: Step-by-Step Guide

Connect Twilio SIP trunking to Aircall to reduce per-minute costs while keeping the Aircall interface your sales team already knows.

DA
Danial A
Senior Twilio Consultant, Telphi Consulting
June 22, 2026
7 min read
Twilio
Integration
Contact Centre
Enterprise
How to Integrate Twilio with Aircall: Step-by-Step Guide

Twilio and Aircall integrate through Twilio Elastic SIP Trunking connected to Aircall's bring-your-own-carrier option, enabling businesses to route Aircall calls over Twilio's PSTN network to reduce per-minute telephony costs while retaining the Aircall web and mobile interface, call recording, and analytics that sales and support teams rely on. This integration is also used by teams who want to add Twilio programmable SMS to their Aircall call flows, sending post-call SMS follow-ups, satisfaction survey links, and appointment confirmations via Twilio's Messages API in response to Aircall webhook events. The connection requires Aircall's Business plan or higher for bring-your-own-carrier SIP trunking support and Twilio's Elastic SIP Trunk configured with the correct termination and origination settings for Aircall's SIP infrastructure.

What You Need Before You Start

Confirm your Aircall subscription is on the Business plan or higher by navigating to your Aircall dashboard under Settings, then Subscription, as the bring-your-own-carrier SIP trunking feature is not available on the Essentials plan and requires the Business tier. Create a Twilio Elastic SIP Trunk by navigating to the Twilio Console under Elastic SIP Trunking, then Trunks, clicking Create new SIP Trunk, giving it a name such as Aircall Production Trunk, and noting the SIP trunk termination URI which takes the format {yourTrunkName}.pstn.twilio.com and will be used as the outbound SIP peer address in Aircall. Configure the SIP trunk's Origination settings by adding Aircall's SIP origination URIs as origination SIP URIs on the Twilio Elastic SIP Trunk, which can be found in Aircall's carrier integration documentation under Settings, then Integrations, then SIP Trunk. From Twilio, purchase a pool of phone numbers for use with the SIP trunk under the Elastic SIP Trunking, then Phone Numbers section, and complete A2P 10DLC registration if those numbers will be used for SMS.

Step-by-Step Integration Guide

Configure Twilio Elastic SIP Trunk termination by navigating to your trunk in the Twilio Console, clicking Termination, adding a Termination SIP URI such as aircall.pstn.twilio.com, creating an IP Access Control List with Aircall's outbound IP addresses listed in Aircall's carrier documentation, and associating the ACL with your trunk to restrict which sources can use the trunk for outbound calls. Configure Twilio Elastic SIP Trunk origination by clicking Origination on the trunk and adding Aircall's SIP registrar URIs as origination SIP URIs with a priority of 1 and weight of 10, ensuring inbound calls from Twilio-ported or Twilio-purchased numbers are delivered to Aircall's SIP infrastructure. Connect Aircall to the Twilio trunk by navigating to Aircall Settings, then Integrations, then SIP Trunk, entering the Twilio termination URI {yourTrunkName}.pstn.twilio.com as the outbound carrier, and configuring the authentication credentials matching those set in the Twilio trunk's Credential Lists. Configure Aircall webhooks for the post-call SMS use case by navigating to Aircall Settings, then Integrations, then Webhooks, adding your middleware endpoint URL, and subscribing to the call.ended event which delivers the call outcome including the caller's phone number, call duration, and Aircall agent information.

Common Issues and How to Fix Them

Outbound calls from Aircall over the Twilio SIP trunk fail with a 403 Forbidden SIP response when the IP Access Control List on the Twilio trunk does not include all of Aircall's outbound proxy server IP addresses, which can change when Aircall scales its infrastructure or adds new regions. Request the current list of Aircall SIP proxy IP addresses from Aircall's support team rather than relying on documentation that may be outdated, and update your Twilio trunk's IP Access Control List immediately whenever Aircall notifies you of infrastructure changes. Inbound calls to Twilio-hosted numbers do not ring in Aircall when the Origination URI on the Twilio trunk is pointing to an incorrect Aircall SIP URI or when Aircall's registrar has not registered the agent extensions with Twilio's origination endpoint. Test inbound call routing by calling one of your Twilio numbers from an external phone and checking the Aircall activity feed for the incoming call event, then examining the Twilio Debugger in the Console under Monitor, then Logs, then Errors for SIP errors that indicate a routing failure. Post-call SMS dispatched from Aircall webhook events may fire before the call recording is fully processed by Aircall, and if the SMS body attempts to include a recording URL from the webhook payload the field may be empty or null at webhook delivery time. Delay the post-call SMS dispatch by 60 seconds using a queued job that stores the Aircall webhook payload and processes it asynchronously, giving Aircall's infrastructure time to process the recording and make the URL available before the SMS is composed and sent.

How to Get More from This Integration

Build a post-call SMS follow-up system by subscribing to Aircall's call.ended webhook and in your middleware extracting the customer's phone from the customer.phone_number field in the webhook payload, then dispatching a Twilio SMS with a customized body based on the call.tags array to send different follow-up messages for sales calls, support calls, and demo calls. Add a missed call SMS notification by subscribing to the call.missed Aircall webhook event, extracting the caller's phone number, and dispatching a Twilio SMS within 30 seconds informing the caller that your team missed their call and will call back within the business day, converting missed calls into positive customer experiences. Create a satisfaction survey SMS by sending a Twilio SMS with a short link to a survey form 30 minutes after each call ends, using the call duration from the Aircall webhook to filter out very short calls of under 30 seconds that represent misdials or dropped connections before dispatching the survey. Extend the integration to use Twilio Verify for call authentication by adding a Twilio Verify OTP SMS step before connecting outbound Aircall calls to sensitive account inquiries, requiring the customer to confirm their identity via SMS OTP before the Aircall agent is connected, reducing fraud on high-value service calls.

Conclusion

Twilio SIP Trunking and Aircall together reduce your telephony costs while keeping the Aircall user experience intact, and Twilio SMS on top of Aircall webhooks adds a powerful post-call follow-up channel your team can automate. Contact Telphi Consulting to design and implement the Twilio Aircall SIP trunking and SMS integration for your contact centre.

Share this article:
0 views

Ready to Transform Your Business Communications?

Get a free consultation with our VoIP experts and discover how we can help you save costs, improve efficiency, and scale your business.

Comments (0)

Join the discussion and share your thoughts (AI-moderated for quality)

Protected by AI moderation

Be the first to comment

No comments yet. Share your thoughts below.