SMS Twilio: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
Line 1: Line 1:
'''Send SMS messages via Twilio'''
'''Send SMS messages via Twilio'''


'''Requirements'''
'''Requirements'''
Line 5: Line 6:
*An activated Twilio account
*An activated Twilio account
*A suitable number of pre-provisioned Twilio long-codes and/or short-codes
*A suitable number of pre-provisioned Twilio long-codes and/or short-codes


'''Available packages'''
'''Available packages'''
Line 10: Line 12:
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
*''Debian GNU/Linux'' - Run: $ apt-get install open-xchange-sms-twilio
Line 22: Line 23:


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.authkey=ACCOUNT_SID - (Twilio auth key)
*com.openexchange.plugins.sms.twilio.authtoken=AUTH_TOKEN - (Twilio auth token)
*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.messageservicesid=SERVICE_SID - (Twilio Message Service SID)
*com.openexchange.plugins.sms.twilio.maxlength=1600 - (1600 characters is Twilio's maximum)
*com.openexchange.plugins.sms.twilio.maxlength=1600 - (1600 characters is Twilio's maximum)

Revision as of 15:27, 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:

  • 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)