How to Set Up WhatsApp Calling in RingQ
WhatsApp Business calling for your phone system: with the RingQ WhatsApp calling micro app (WhatsApp Business Platform, Cloud API), customers tap the call button in WhatsApp on your WhatsApp Business number and the call rings your RingQ extension, queue or IVR. Your team answers on the web app, the RingQ mobile app or a desk phone, with the normal cloud PBX features: transfer, call queues, call recording and call logs. Your agents can also call WhatsApp users back from RingQ (see Calling WhatsApp users from RingQ below). Setup takes about five minutes and needs no manual SIP trunk.

WhatsApp calling at a glance: what Meta allows and what it does not
✅ What you can do: Customers can call your WhatsApp Business number any time, with no limits, and the call rings your RingQ extension, queue or IVR. Your team answers on the web app, the mobile app or a desk phone and can transfer, record and report on the call like any other. Your team can call a customer back on WhatsApp once that customer has tapped Allow on a Call Permission Request (valid 7 days, up to 5 calls per 24 hours). Callers see your WhatsApp Business name and photo. Audio is encrypted end to end between WhatsApp and your RingQ server.
⛔ What Meta does not allow: Calling a customer who has not given permission (cold calls), more than 2 permission requests per customer in 7 days, more than 5 business-initiated calls per customer in 24 hours, or calling on after 4 unanswered calls (Meta then revokes the permission). Video calls and group calls: voice only. A number that is still in the regular WhatsApp or WhatsApp Business app: it must be on the WhatsApp Business Platform (Cloud API) with Calling enabled. One WhatsApp number on two RingQ servers at the same time: Meta sends each number's calls to one server only.
What you need
- A WhatsApp Business Platform (Cloud API) account on Meta, with a phone number that is registered on the platform and has Calling available. Numbers used in the regular WhatsApp or WhatsApp Business app cannot be used; they must be moved to the platform first.
- From your Meta app (developers.facebook.com > your app > WhatsApp > API Setup): a permanent System User access token, the Phone number ID (the long numeric ID, not the phone number), and optionally the App secret (App settings > Basic) and the WhatsApp Business Account ID.
- Your RingQ server reachable on its domain name with a valid TLS certificate, TCP port 5061 (SIP over TLS) open and the RingQ media ports open. See the firewall ports guide.
- Administrator access to your RingQ web app.
Set up WhatsApp calling step by step
Step 1. Open Global Settings > Integrations
In the left menu of the RingQ web app, click Global Settings, then click Integrations under Tools.

Step 2. Open Micro apps > WhatsApp
Click the Micro apps tab, then click Configure on the WhatsApp card. Before setup the card shows Not configured.

On an up-to-date RingQ you can also start from Call Flow > Trunks > Add SIP Trunk (+): pick WhatsApp under Micro Apps at the top of the template list. It opens the same WhatsApp calling setup.

Step 3. Enter your Meta details and the destination
On the Configure tab, fill in:
- Access token: the permanent System User token, not a temporary one. App secret is optional.
- Phone number ID, and optionally the Business account ID (WABA ID).
- WhatsApp Business number, with the country code. Spaces, + and dashes are removed.
- PBX domain (your RingQ server) and SIP TLS port, usually 5061.
- Route calls to: the extension, queue or IVR that should ring.

Step 4. Click Configure gateway
Click Configure gateway and wait about 30 seconds. RingQ saves the credentials encrypted, enables WhatsApp Calling and SIP mode on Meta, sets up encrypted audio, receives the SIP password, creates the WhatsApp trunk, allows Meta's servers, creates the inbound route and reloads RingQ Call Services. Each step is ticked off as it completes. You don't need to add a SIP trunk yourself: the WhatsApp trunk (named watrunk_ and your number) appears automatically in Call Flow > Trunks > SIP Trunks.
If a step reports that Meta did not return the SIP password, wait 30 seconds and click Re-run configuration.
Step 5. Check the Overview tab
The Overview tab shows the gateway state, your WhatsApp number and where calls ring. A working setup shows Status Active, Connection to Meta Connected (calls sent to your domain on port 5061), and Yes for both Gateway in RingQ and Dialplan in RingQ. If SIP calling is switched off for the number in Meta, the card shows Not connected with the reason; run the configuration again.

Step 6. Test a WhatsApp call
- From a personal WhatsApp account, open a chat with your business number and tap the call icon.
- The destination rings within a few seconds. Answer and talk both ways for at least 10 seconds.
- Hang up and check the call log: the call shows as inbound and answered, with the caller's WhatsApp number.
Change the destination or move to another server
Open the Manage tab, pick a new extension, queue or IVR in Route calls to, and click Reconfigure for this PBX. RingQ updates Meta and rebuilds the route with the saved credentials, so you don't enter them again. Use the same button after moving to a new RingQ server.

Calling WhatsApp users from RingQ (outbound calls)
Your team can also call WhatsApp users from RingQ. An agent dials the customer's number from an extension, the call goes out through the WhatsApp trunk, and the customer receives a normal WhatsApp voice call from your business. Meta allows this only after the customer has given your business permission to call, so outbound WhatsApp calling has three parts: permission, an outbound rule, and the call itself.
1. Get the customer's call permission
- Send the customer a Call Permission Request from your WhatsApp Business number. While the customer's 24-hour service window is open (they messaged you in the last 24 hours) it can be a free-form message; at any other time it must be an approved message template.
- The customer taps Allow in WhatsApp. The permission lasts 7 days, or until the customer revokes it.
- You may send at most 2 permission requests to the same customer in any 7 days, so ask only when you really need to call.
2. Add an outbound rule that uses the WhatsApp trunk
- In the RingQ web app open Global Settings > Outbound Rules and click Add.
- Under Matching calls, give the rule a name such as WhatsApp out, choose the extensions that may use it, and enter the prefix your agents will dial for WhatsApp calls, for example 9, under Calls to numbers starting with prefix.
- Under Route settings, open Route and pick your WhatsApp trunk. It is named watrunk_ followed by your WhatsApp Business number, for example watrunk_6512345678. Set Strip digits to the length of your prefix (1 for a single digit) so the prefix is removed before the number is sent to WhatsApp. Leave Prepend empty.
- Click Create rule. No username or password is needed: the WhatsApp trunk already carries the account and the password Meta issued, and RingQ answers Meta's authentication challenge for you.
3. Call the customer
- From an allowed extension, dial the prefix followed by the customer's number in international format, country code first, without + or spaces. Example with prefix 9: 9 6591234567.
- The customer's WhatsApp rings with a voice call from your business. The call appears in Call Status and in the call log with the WhatsApp trunk as the route.
- If the customer's phone does not ring, the permission is missing or expired. Send a new Call Permission Request and try again after the customer taps Allow.
What Meta allows: the rules for calling WhatsApp users
Good to know before you call: WhatsApp is a permission-based channel. Customers can always call you, but your business can only call a customer who has said Allow, and Meta enforces the limits below on every WhatsApp Business number. RingQ passes your call to Meta; it cannot bypass these rules.
| Rule | What Meta allows, and what it means for your team |
|---|---|
| Call permission | A business may call a customer only after the customer taps Allow on a Call Permission Request. Ask first, in the chat with the customer; without it the call never rings. |
| How to ask | A free-form message inside the customer's 24-hour service window, or an approved message template at any other time. If the customer messaged you today, send the request straight away; otherwise use your template. |
| Permission validity | 7 days, or until the customer revokes it. Plan call-backs within the week, or ask again. |
| Permission requests | At most 2 requests per customer in any 7 days. One well-timed request is best. |
| Business-initiated calls | Up to 5 calls per customer in 24 hours. Enough for a call-back and a retry, not for repeated dialling. |
| Unanswered calls | After 4 unanswered calls in a row the permission is revoked automatically. If nobody picks up, send a message instead of dialling again. |
| Counter reset | Any connected call, in either direction, resets the counters. One answered conversation gives you a fresh allowance. |
| Inbound calls | No limits: customers can call your WhatsApp Business number any time, and those calls ring your extension, queue or IVR as set up above. |
Switch WhatsApp calling off
On the Manage tab, click Deactivate WhatsApp gateway. This turns off SIP calling on Meta and removes the WhatsApp trunk, number and route from RingQ. Your saved credentials are kept so you can configure again later.
Troubleshooting
- Enable calling failed: Calling is not available for this number in Meta yet. Check the number's calling eligibility in WhatsApp Manager.
- Cannot connect to Meta API: the access token is wrong or temporary. Create a permanent System User token and paste it again.
- The WhatsApp call never reaches RingQ: check that the TLS certificate on your PBX domain is valid and TCP port 5061 is open, then run Configure gateway again on this server. A WhatsApp number can point to only one RingQ server at a time.
- The call drops straight away on the caller's phone: run Configure gateway again, then contact RingQ support with the time of the test call and the calling number.
- It rings, but a mobile-app user never picks up: the RingQ app on that phone didn't wake in time. Open the app and try again, or route WhatsApp to a queue or a desk phone.
Tips
- Callers see your WhatsApp Business profile, so keep the business name and photo up to date in Meta Business Manager.
- WhatsApp chat (messages) is set up separately under Digital Channels > WhatsApp Chat.
- WhatsApp uses the Opus codec. Configure gateway adds it to your RingQ server automatically; nothing to change on your side.
Related guides
- Telegram voice calls with RingQ: Telegram Voice Calls with RingQ
- WhatsApp chat messages in RingQ: WhatsApp Chat setup
- Firewall ports for RingQ: Port forwarding guide