SMSframework Clickatell Provider
Clickatell Provider for SMSframework.
You need a "Developers' Central" Clickatell account with an HTTP API set up. From the API, you need: api_id, username, password
Initialization
var gw = ;gw;
Config
api_id: String
: API ID to useuser: String
: Account usernamepass: String
: Account passwordhttps: Boolean
: Use HTTPS for outgoing messages? Default:false
Sending Parameters
deliv_time: Number
: Delay the delivery for X minutes
Receivers
Message Receiver: /im
After a number is purchased, go to Receive Messages > Manage long numbers / short codes, and then click the ‘Edit’ link of the two-way number which you would like to configure. Set "Reply Path" to "HTTP Get" | "HTTP Post", in the field - put the message receiver URL.
- "Username & Password" is not supported
- "Secondary callback" is up to you
Message Receiver URL: <alias>/im
Status Receiver: /status
To start getting status reports from Clickatell, edit the HTTP API in the admin panel and click on "Enable your app to receive message delivery notifications". In the field, put the receiver URL.
- Status receiver only supports "HTTP Get" and "HTTP Post" methods.
- "basic HTTP Authentication" is not supported
Status Receiver URL: <alias>/status
Additional Information
OutgoingMessage.info
No special fields here.
IncomingMessage.info
The following fields are available in info
:
api_id: String
: API idcharset: String
: Message character set (when applicable)udh: String
: Header Data (when applicable)
MessageStatus.info
status: Number
: Message status codereference: String
: Reference stringapi_id: String
: API idcharge: Number
: Charged funds