Outbound Calls
Use start_outbound_call() to dial any phone number and connect it to your agent.
Basic Call
Parameters
Phone numbers must be in E.164 format: +[country code][number]
Examples: +14155551234 (US), +919876543210 (India)
Response
Save this ID to retrieve transcripts and analytics later.
Error Handling
Tips
Validate phone numbers first
Use a library like phonenumbers to validate before calling. Invalid numbers waste API calls.
Add delays between calls
Wait 5-10 seconds between calls to avoid rate limits.
Store conversation IDs
Save them in your database to retrieve transcripts later.
Handle errors gracefully
Wrap calls in try/except and log failures for retry.

