this function sends an outbound call using a twillio twimlet, allowing stateless application calling functionality
1 2 | twilio_stateless_call(accountSID, auth_token, message = NULL, TwXML = NULL,
From, To)
|
accountSID |
Your account ID |
auth_token |
Your secret token |
message |
the message to transcribe to speech. By default this will be spoken by a female in british english and repeated 3 times. Either message or Twxml must be null! you cannot send a call with both parameters set |
TwXML |
Any properly formated XML acceptable by Twillio |
from |
The phonenumber that calls. Check Your Twilio account for the number. Make sure to include the international number. |
to |
The phone number to call. Make sure to include the international number. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.