WhatsApp Calling · Voice AI

WhatsApp Calling API with an AI Voice Agent

Customers can call your business on WhatsApp. We connect Meta’s WhatsApp Business Calling API to an AI voice agent, so those calls can be answered at any hour, in the languages the agent is built for. We have done it end to end: a WhatsApp call, routed over SIP to our own reference phone system and answered by an AI voice agent connected to it.

LiveKit
Pipecat
VAPI
Retell AI
ElevenLabs
Deepgram
OpenAI GPT-6
Anthropic Claude
LangChain
Twilio
FreeSWITCH
Asterisk
Kamailio
WebRTC
Flutter
React
Next.js
Laravel
Shopify
AWS
Docker
Node.js
Python
Firebase
PostgreSQL
VitalPBX
FreePBX
Vicidial
3CX
Amazon Connect
Agora
LiveKit
Pipecat
VAPI
Retell AI
ElevenLabs
Deepgram
OpenAI GPT-6
Anthropic Claude
LangChain
Twilio
FreeSWITCH
Asterisk
Kamailio
WebRTC
Flutter
React
Next.js
Laravel
Shopify
AWS
Docker
Node.js
Python
Firebase
PostgreSQL
VitalPBX
FreePBX
Vicidial
3CX
Amazon Connect
Agora
What We Deliver

Core Capabilities

Inbound WhatsApp Calls Are Free

Meta does not charge for calls customers place to your business. Once calling is switched on, a call button appears in your chat and on your business profile.

Answered by an AI Voice Agent

Meta’s own documentation notes that many businesses use AI voicebots to answer WhatsApp calls. We build that agent for your callers’ languages, such as Hindi, Gujarati and English, or connect the one you already run.

Through Your Own Phone System

In SIP mode, Meta sends calls to your own phone system over TLS. We have connected it to a FreePBX 17 system on Asterisk 22, which needed settings an ordinary SIP trunk does not.

Calling Customers: Meta’s Rules

In India, Meta lets a business call a customer on WhatsApp only after the customer gives permission. Those calls cost ₹0.3885 a minute at Meta’s list rate, charged in six-second pulses, with lower rates at higher volume.

Fewer Unanswered Calls

Meta warns a business, and then hides its call button, when too many WhatsApp calls go unanswered. An AI agent that can pick up at any hour helps keep more of those calls answered.

Calls Beside the Customer’s Messages

On Pingly, each WhatsApp call is logged in the customer’s conversation history with its duration, next to their messages, so your team sees the whole conversation in one place.

What We Learned

A WhatsApp call is not an ordinary SIP trunk

Meta sends the call over SIP but, by default, carries the audio the way a browser does: encrypted with DTLS-SRTP, with ICE and the Opus codec. A phone system set up for a normal trunk answers with plain RTP, nothing matches, and the call fails before anyone hears a word.

Getting the first call through to our own FreePBX 17 and Asterisk 22 reference system took a series of fixes, each hidden until the one before was solved: matching the caller, because Meta puts the caller’s number where a trunk expects the business’s; the context inbound calls land in; the encryption settings; and the media address the system advertised. The RTP ports also have to be open to Meta’s media servers, and on FreePBX the settings must sit where the web interface does not overwrite them.

Two limits to plan for. A number that is also used in the WhatsApp Business app cannot take API calls, and customers can call from WhatsApp on an Android phone or iPhone, but not from WhatsApp Web, the desktop app or a tablet.

Inbound calls
Free
Outbound in India
₹0.3885 a minute list rate, permission first
Connection
SIP over TLS, or WebRTC
Audio
Opus; PCMA and PCMU can be enabled
Office
18-19, 4D Square, Motera, Ahmedabad, Gujarat 380005
What We Have Built

WhatsApp Calling, End to End

WhatsApp Call to an AI Voice Agent

A WhatsApp call to our Meta test business number reached our own FreePBX 17 and Asterisk 22 reference system over SIP-TLS, was answered by an AI voice agent connected to it and carried two-way audio. Pingly logged the call and its duration.

Calling APISIP-TLSAsterisk
SIPOur reference PBX

WhatsApp Calling in Pingly

Calling switched on and managed from Pingly without opening Meta’s dashboard, calls routed to the customer’s own SIP system, and each call logged in the conversation history.

Calling settingsInbox
PlatformOur product
Technology Stack

Tools & Platforms

WhatsApp Business Calling APISIP over TLSWebRTCDTLS-SRTPOpusAsteriskFreePBXWebhooks

RelatedWhatsApp automationAI voice agents for Indian businessesVoIP development: Asterisk, FreeSWITCH and Kamailio

FAQs

Technical Questions
Answered

Can't find your answer? Talk to our team directly →

Meta’s API for voice calls between a business and WhatsApp users over the internet. Customers tap the call button in your chat or business profile, and the call reaches your systems through webhooks and WebRTC, or over SIP to your own phone system. Meta made it available on 15 July 2025.

Yes. Meta’s documentation notes that many businesses use automated voicebots, including AI bots, to answer calls from WhatsApp users, subject to the WhatsApp Business Solution Terms, which restrict some AI uses. We have connected a WhatsApp call through our own phone system to an AI voice agent.

Calls your customers make to you are free. Calls you make to customers in India cost ₹0.3885 a minute at Meta’s list rate for up to 50,000 minutes a month, charged in six-second pulses, falling in tiers to ₹0.0586 above five million minutes. The AI voice agent is separate: we charge a one-time build fee and a monthly maintenance fee, and the AI providers bill your own accounts.

In India, only after they give permission. Meta limits how often you can ask, a temporary permission lasts 7 days, and a business can make up to 100 connected calls to each customer in 24 hours. Business-initiated calls cannot be made from business numbers in the United States, Canada, Egypt, Vietnam or Nigeria; Indian business numbers can make them.

Not for calls. Meta does not support API calling on a number that is also used in the WhatsApp Business app; calling needs a number on the Cloud API, and the business needs a messaging limit of at least 2,000 customers a day.

For the route we have built and proven, yes: calls arrive over SIP at Asterisk, FreePBX or another SIP server with TLS. Meta also offers a WebRTC connection without a phone system; taking that straight to an AI agent needs a media server, which we have not built yet and would scope for your call volume.

Let's Talk

Talk to Us About WhatsApp Calling

Get a free consultation — real technical answers from our engineering team, no sales pitch.