Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mos:evtwiliovoice [2023/05/15 02:04] optrixmos:evtwiliovoice [2025/12/18 22:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====Twilio SMS====
  
 +The Twilio SMS output module allows you to write simple SMS messages through the Twilio API.
 +
 +^Parameter^Default^Meaning^
 +|**ccode**|61|Your international dialling code|
 +|**sid**||Your Twilio security ID|
 +|**token**||Your Twilio Auth Token|
 +|**from**||The Twilio phone number to send messages from|
 +|**to**||The phone number to send messages to|
 +|**format**|%M|The content of the email message, with [[event codes|event substitutions]]|
 +
 +===Example===
 +
 +<code>
 +[
 +   {
 + "type": "event",
 + "method": "twilio_voice",
 + "ccode": 61,
 + "sid": "--Twilio Security ID--",
 + "token": "--Twilio Auth Token--",
 + "from": "--Your Twilio Phone Number--",
 + "to": "--The Destination Phone Number--",
 + }
 +]
 +</code>
 +
 +//The above example would call the phone number in the **to** parameter, announce the content of the message, and then hang up.//
 +
 +===Performance/Spam Warning===
 +
 +Like all of the [[announcement|announcement modules]], this module may take some time to execute and will block the process in the mean-time. 
 +
 +===Server Internet Connection Required===
 +
 +The server needs to be able to establish a connection with services on the Internet to use this module.
 +
 +===Other Modules===
 +
 +Return to the [[event_methods|list of output modules]].