Difference between revisions of "SMS Twilio"
Jesse.hanna (talk | contribs) |
Jesse.hanna (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | = Send SMS messages via Twilio = | |
+ | == Requirements == | ||
− | + | * An active Twilio account (https://www.twilio.com/) | |
− | + | * A suitable number of pre-provisioned Twilio long-codes and/or short-codes | |
− | *An active Twilio account (https://www.twilio.com/) | ||
− | *A suitable number of pre-provisioned Twilio long-codes and/or short-codes | ||
− | |||
− | |||
− | |||
+ | == Available packages == | ||
To send SMS messages via Twilio, the package open-xchange-sms-twilio must be installed and configured. | To send SMS messages via Twilio, the package open-xchange-sms-twilio must be installed and configured. | ||
Additionally, the open-xchange-sms-sipgate package must *NOT* be installed. | Additionally, the open-xchange-sms-sipgate package must *NOT* be installed. | ||
− | + | === Debian GNU/Linux === | |
+ | Run | ||
+ | $ apt-get install open-xchange-sms-twilio | ||
− | + | === Red Hat Enterprise Linux === | |
+ | Run | ||
+ | $ yum install open-xchange-sms-twilio | ||
− | + | === SUSE Linux Enterprise Server === | |
+ | Run | ||
+ | $ zypper in open-xchange-sms-twilio | ||
− | + | == Configuration == | |
− | |||
Apply the following config-cascade enabled properties: | Apply the following config-cascade enabled properties: | ||
− | + | com.openexchange.plugins.sms.twilio.authkey=ACCOUNT_SID - (Twilio auth key) | |
− | + | com.openexchange.plugins.sms.twilio.authtoken=AUTH_TOKEN - (Twilio auth token) | |
− | + | com.openexchange.plugins.sms.twilio.messageservicesid=SERVICE_SID - (Twilio Message Service SID) | |
− | + | com.openexchange.plugins.sms.twilio.maxlength=1600 - (1600 characters is Twilio's maximum) | |
− | |||
− | ' | + | Optional, a message length limit can be configured. 460 is the default and is Sipgate's message lenght limit |
+ | com.openexchange.sms.sipgate.maxlength=460 | ||
+ | == Twilio Documentation == | ||
https://www.twilio.com/docs/ | https://www.twilio.com/docs/ |
Revision as of 13:51, 20 October 2017
Contents
Send SMS messages via Twilio
Requirements
- An active Twilio account (https://www.twilio.com/)
- A suitable number of pre-provisioned Twilio long-codes and/or short-codes
Available packages
To send SMS messages via Twilio, the package open-xchange-sms-twilio must be installed and configured. Additionally, the open-xchange-sms-sipgate package must *NOT* be installed.
Debian GNU/Linux
Run
$ apt-get install open-xchange-sms-twilio
Red Hat Enterprise Linux
Run
$ yum install open-xchange-sms-twilio
SUSE Linux Enterprise Server
Run
$ zypper in open-xchange-sms-twilio
Configuration
Apply the following config-cascade enabled properties: com.openexchange.plugins.sms.twilio.authkey=ACCOUNT_SID - (Twilio auth key) com.openexchange.plugins.sms.twilio.authtoken=AUTH_TOKEN - (Twilio auth token) com.openexchange.plugins.sms.twilio.messageservicesid=SERVICE_SID - (Twilio Message Service SID) com.openexchange.plugins.sms.twilio.maxlength=1600 - (1600 characters is Twilio's maximum)
Optional, a message length limit can be configured. 460 is the default and is Sipgate's message lenght limit
com.openexchange.sms.sipgate.maxlength=460