How do I configure Clickatell as my SMS gateway for use with GMS Mobile Gateway?
I want to purchase SMS credit from Clickatell, but there is no gateway file for this provider. How do I configure this?
As per Knowledge base entry 962, it is possible to configure a custom SMS gateway for your GMS Mobile Gateway installation.
We have confirmed that the following ini file can be placed in the GordanoGateway folder, which will allow you to use Clickatell as your provider.
Comment=Clickatell SMS Service Gateway=SMS Type=POST Server=api.clickatell.com Script=/http/sendmsg? Template=api_id=xxxxx&user=%u%&password=%p%&to=%t%&text=%m%&from=%f% OKResponse=ID: StripLeadingZero=yes MaxLength=160
You will need to replace the entry marked with xxxxx with your Clickatell API ID number, which is supplied when you create an account with Clickatell. eg:
You can pass other values in the template as per the API for HTTP messages, which is available for download from Clickatell’s website.
One such value is the Validity period. The validity period determines how long the message should be retried if it is not sent immediately. The correct format for this entry for the Clickatell gateway is:
Where x is the value in minutes. So to set the validity period to 3 days (4320 minutes), your template would need to read as follows:
Keywords:Clickatell, SMS, gateway, GSM