SMS Twilio: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
Line 11: Line 11:
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


''Debian GNU/Linux''
Run
Run


$ apt-get install open-xchange-sms-twilio
$ apt-get install open-xchange-sms-twilio
Red Hat Enterprise Linux


''Red Hat Enterprise Linux''
Run
Run
$ yum install open-xchange-sms-twilio
$ yum install open-xchange-sms-twilio
SUSE Linux Enterprise Server


''SUSE Linux Enterprise Server''
Run
Run
$ zypper in open-xchange-sms-twilio


$ zypper in open-xchange-sms-twilio
'''Configuration'''
Configuration


'''Apply the following config-cascade enabled properties:'''
Apply the following config-cascade enabled properties:


Twilio auth key
#Twilio auth key
com.openexchange.plugins.sms.twilio.authkey=ACCOUNT_SID
*com.openexchange.plugins.sms.twilio.authkey=ACCOUNT_SID


Twilio auth token
#Twilio auth token
com.openexchange.plugins.sms.twilio.authtoken=AUTH_TOKEN
*com.openexchange.plugins.sms.twilio.authtoken=AUTH_TOKEN


Twilio Message Service SID
#Twilio Message Service SID
com.openexchange.plugins.sms.twilio.messageservicesid=SERVICE_SID
*com.openexchange.plugins.sms.twilio.messageservicesid=SERVICE_SID


Max message length. 1600 characters is Twilio's maximum
#Max message length. 1600 characters is Twilio's maximum
com.openexchange.plugins.sms.twilio.maxlength=1600
*com.openexchange.plugins.sms.twilio.maxlength=1600

Revision as of 15:21, 20 September 2017

Send SMS messages via Twilio

Requirements

  • An activated Twilio account
  • 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:

  1. Twilio auth key
  • com.openexchange.plugins.sms.twilio.authkey=ACCOUNT_SID
  1. Twilio auth token
  • com.openexchange.plugins.sms.twilio.authtoken=AUTH_TOKEN
  1. Twilio Message Service SID
  • com.openexchange.plugins.sms.twilio.messageservicesid=SERVICE_SID
  1. Max message length. 1600 characters is Twilio's maximum
  • com.openexchange.plugins.sms.twilio.maxlength=1600