SIP Trunk WhatsApp
The SIP Trunk WhatsApp (/settings/sip-trunk) page allows you to route inbound and outbound WhatsApp calls directly to your company’s VoIP PBX system (such as Asterisk, Genesys Cloud, 3CX, or Cisco Unified CM) via a platform-managed Session Border Controller (SBC).

Before you start
Section titled “Before you start”- Your account has
channel:readpermission to view the configuration andchannel:update_settingspermission to modify trunk settings. - Your WhatsApp Business Account (WABA) has been connected and has a phone number that supports WhatsApp voice calling.
- Your network/firewall team is ready to add the platform SBC source IP and the RTP port range shown in the portal to the (whitelist) of your PBX firewall.
-
Open the WhatsApp SIP Wholesale Trunk page and select a WABA
Open Settings › Voice Calls › SIP Wholesale Trunk (
/settings/sip-trunk), then select the account in WhatsApp Account: (Select a WABA). -
Note the interconnection parameters on the Your WhatsApp SIP SBC card
Check the Your WhatsApp SIP SBC card (badged Platform Managed). Use the six information tiles on this card to configure the peer side and firewall on your PBX:
- SIP Server Hostname: The hostname of the platform SIP server shown by the portal.
- Source IP to Whitelist: The public IP address of the platform SBC shown by the portal, for you to register in your PBX firewall’s whitelist so that incoming SIP traffic from the platform is allowed.
- PBX Port & Transport: The customer signaling port through which your PBX connects to the platform SBC (
5081 udp/tcp, 5063 tls). - Codecs: The list of codecs supported toward the PBX (PCMA, PCMU (OPUS optional)).
- RTP Port Range: The UDP port range for voice media that needs to be opened in your firewall (
16384-16584/udp). - DID / Caller ID Format: The format of the destination and calling numbers (E.164 without +).
-
Complete the PBX Destination Settings
On the card PBX Destination Settings, fill in the connection parameters to your PBX:
- PBX Type / Preset: Select the reference label for your PBX (Custom SIP PBX, Asterisk PBX, 3CX Phone System, Genesys Cloud (BYOC), Cisco Unified CM, or Five9).
- Trunk Label: Enter a trunk identifier name (for example
Trunk Asterisk Produksi). - Destination SIP host and SIP Port: Enter the domain or public IP of the PBX that will receive
INVITEmessages from the platform (along with the Failover host option). - Transport Protocol: Select UDP (Standard SIP), TCP, or TLS (Encrypted).
- Codec Preferences Preset: Select Enterprise (G.711) (
PCMA, PCMU) or Modern (Opus 16 kHz) (OPUS@16000h, PCMA, PCMU). - Authentication Mode:
- Select IP Allowlist (No registration) then fill in Allowed PBX IP / CIDR with the public IP or CIDR block of the PBX allowed to send
INVITEto the platform (do not use0.0.0.0/0). - Or select SIP Registration (Username/Password) then fill in Registration Username and Registration Password.
- Select IP Allowlist (No registration) then fill in Allowed PBX IP / CIDR with the public IP or CIDR block of the PBX allowed to send
- Call Direction: Enable or disable Inbound Calls (WA → Agent) and Outbound Calls (Agent → WA).
-
Save and test trunk reachability
Click Save Trunk Configuration, then click Test connection to verify SIP connectivity and view latency in Last Connection Test Result: along with the Health status (Healthy, Degraded, Disconnected, or Unknown).
-
Enable SIP Mode per phone number
On the card Phone Number Voice Mode, click Enable SIP Mode on the row of the WhatsApp number you want to route to your PBX, then confirm the warning dialog. You can click Switch to WebRTC at any time to return that number’s calls to the agent web inbox.
Result
Section titled “Result”- The SIP trunk configuration is saved and active on the next
INVITE. - Incoming and outgoing calls on numbers with the SIP Mode status are relayed between WhatsApp and your PBX, and are recorded in the Recent SIP calls table (complete with the Start Time, Direction, CLI, DID, Peer, Duration, End Reason columns and Export CSV).
SBC Tile Reference & PBX Parameters
Section titled “SBC Tile Reference & PBX Parameters”| Tiles / Columns in the Portal | Value / Behavior |
|---|---|
| SIP Server Hostname | The target SBC hostname displayed in the portal for your SIP peer settings in your PBX. |
| Source IP to Whitelist | The platform SBC source IP addresses displayed in the portal; must be allowed (whitelist) on your PBX firewall. |
| PBX Port & Transport | 5081 udp/tcp, 5063 tls. Never send your PBX traffic to the Meta TLS port (5062). |
| Codecs | PCMA, PCMU (OPUS optional). The WhatsApp Meta side always uses Opus 16 kHz; the SBC handles transcoding automatically. |
| RTP Port Range | 16384-16584/udp for two-way audio media flow. |
| DID / Caller ID Format | E.164 without + (example: 628123456789). |
| Destination SIP host vs Allowed PBX IP / CIDR | Destination SIP host is the PBX address that is sent INVITE to by the platform (incoming calls). Allowed PBX IP / CIDR is the public IP address of your PBX that is permitted to send INVITE to the platform (outgoing calls). |
If something goes wrong
Section titled “If something goes wrong”- A message appears
Allowlist cannot contain 0.0.0.0/0: Enter the specific public IP or CIDR subnet owned by your PBX (e.g.,203.0.113.10/32) in Allowed PBX IP / CIDR. - The
Enable SIP Modebutton is unavailable and the row displays aWebRTC Lockedbadge: That phone number is locked to WebRTC inbox calls by administrator policy (This number is locked to WebRTC inbox calling by administrator policy.). Test connectionfails or incoming calls do not ring on the PBX: Make sure your firewall already allows the addresses on the Source IP to Whitelist tile on your SIP signaling port and opens the RTP Port Range (16384-16584/udp).