Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
Professional Edition
Description
The alerting include attached has been tested to work with Clickatel. It is based on the Messagebird script in the current Professional Edition.
When configured in the interface as such:
recipient::<<FULL_NUMBER>>||originator::<<NUMBER/NAME>>||user::<<USERNAME>>||password::<<PASSWORD>>||apiid::<<API_ID>>
The update to includes/definitions/transports.inc.php is:
$config['alerts']['transports']['clickatell'] = array(
'name' => 'Clickatell SMS',
'parameters' => array(
'originator' => 'Sender of SMS message',
'apiid' => 'API access key to send SMS',
'username' => 'API username',
'password' => 'API password',
'recipient' => "Recipient's phone number",
)
);
As the transport file is just include()'d as-is, that won't work - there will be no way to get the data out. The definitions file will be used to create a better web interface which prompts you with separate fields instead of having to create the awkward endpoint format yourself.
Getting some things self contained is being thought about but currently it's not possible.