Skip to main content

Create a call programmatically

Bridge a specific user to a customer number; the method picks the user’s SIP/Client target, caller ID, recording, and callbacks automatically.

Voice message with TwiML <Say>

If you just want to call a customer and play a message, create the call with your own TwiML payload.
You can swap <Say> with <Play> or any other TwiML to deliver custom voice prompts; Connect still logs the outbound call.

WhatsApp calls and messages

  • Place a WhatsApp call (Connect handles the TwiML <Dial><WhatsApp> under the hood):
  • Send a WhatsApp message (using Connect models, no direct Twilio client):

SMS/MMS messages

Use the Connect message model to send SMS/MMS while keeping records linked to Odoo.