Inbound Calls

In this documentation, you will learn:

About WhatsApp Inbound Calls

End-users can place calls to a business when:

Calls are initiated directly through the WhatsApp client and use VoIP (WebRTC). Businesses respond using the Cloud API:

User-initiated Calls using SIP Flow

The WhatsApp user calls business phone number and is unaware of whether the business is using SIP or Graph API. In other words, the user experience is identical to regular WhatsApp App calls:

1

If the business phone number is SIP enabled, Meta will send an SIP INVITE to the SIP server configured on the business phone number

You will need to configure SIP settings on the business phone number

2

You respond with SIP challenge (recommended) or SIP OK and pass in an SDP answer.

On the subject, we recommend the following content:

Calling API is compatible with deep links and you can generate your own using: https://wa.me/call/<phone_number>.

With Call deep links, you can have more control over calls and (if necessary) link another number and prompt users to contact a different phone number with voice enabled.

The wa.me/call/<phone number> format is easy to replicate and copy and paste, and does not require having to set up a template in Business Manager.

DTMF Support (Optional)

WhatsApp Calling supports DTMF tones via the in-call dialpad:

The consumers can press the buttons on the client app and the DTMF tones are injected into the WebRTC RTP stream established as a part of the VoIP connection. Meta’s WebRTC stream conforms to RFC 4733 for the transfer of DTMF Digits via RTP Payload. Specifically there is no webhook for conveying DTMF digits.

Delivering DTMF digits on WebRTC connection

When a consumer presses a digit in the dialpad on the client, the equivalent DTMF is injected into the webrtc. Tones values are digits from 0 to 9, # and *. The Duration is 500ms and InterToneGap is 100ms for all the tones.

Last updated

Was this helpful?