Documentation Index
Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
How outbound calls work with BYOT
Outbound calls from your SIP trunk are placed via the standard Bolna call API. Bolna looks up thefrom_number, resolves the associated trunk and gateway, and places the call via Asterisk’s PJSIP channel driver using your trunk’s credentials.
Prerequisites
Before making outbound calls, ensure:- You have created a SIP trunk on Bolna
- You have added your phone numbers to the trunk
is_activeistrueon the trunk- You have a Bolna agent created
Step 1. Configure the agent’s telephony provider
Settelephony_provider to "sip-trunk" in your agent’s configuration. This tells Bolna to route outbound calls through your SIP trunk and use ulaw audio encoding.
Step 2. Place an outbound call
Use the standard call API, specifying thefrom_number as a DID registered on your trunk:
The
from_number must be a phone number you have registered on your SIP trunk. Bolna will use the trunk’s gateway and credentials to place the call.Troubleshooting outbound calls
If outbound calls are failing or not being placed:- Confirm
is_activeistrueon the trunk - Confirm the
from_numberused in the call request is registered on the trunk - Confirm the gateway address and credentials are correct — check your provider portal for authentication errors
- For
ip-basedtrunks, ensure13.200.45.61is in your provider’s IP whitelist - Confirm
outbound_leading_plus_enabledmatches what your carrier expects (some carriers reject+, others require it)
No audio / call connects but no voice
A common cause is an SRTP mismatch with your carrier. If the trunk hasmedia_encryption="sdes" but the carrier has SRTP disabled (or vice versa), the SIP call sets up but the media path never establishes. Either align both sides on SDES, or set media_encryption="no" and use UDP/TCP transport. See SIP Trunk setup for details.
Audio quality issues / one-way audio
- Ensure
rtp_symmetricandforce_rportare bothtrue(the defaults) - Confirm your SIP provider’s RTP IP ranges are reachable from
13.200.45.61 - Verify
allowincludesulaw - Avoid enabling
direct_mediaunless explicitly advised by Bolna support
Next steps
- Set up inbound calls to receive calls on your SIP trunk numbers
- Batch calling for high-volume outbound campaigns
- Monitor call status and call hangup statuses

