SMS Gateway = https://api.clickatell.com/http/sendmsg
SMS Gateway Certificated = Import From Server
SMS Gateway User = Myu...@myuser.com
SMS Gateway Password = MYpassword
HTTP(S) Method = GET
SMS Gateway Authentication Method = Request - Authentication will be part of..
SMS Request Data = user=%USER%&password=%PASS%&api_id=aV_yv8XnSRiKruGIceE4MA==&to=%TO%&text=%MESSAGE%
(My API Key on clickatell is aV_yv8XnSRiKruGIceE4MA==
SMS Data Content Type = application/x-www.form-urlencoded
SMS Data Content Encoding = URL
SMS Phone Number Format = Plain
So I try to TEST SMS Settings
To = 66909620999 (Thailand Number +66909620999)
Message = Hi
And the result is
SMS Send Message Status
SMS INFO
message sent
SMS INFO
response body: ERR: 901, Internal error - please retry
And another question The phone number of AD User will locate at telephoneNumber attribute right so we need to put it in AD first , when user try to use SMS Token Forgot password tool they will use the number on AD right
Thank you very much.
I have setup an account with clickatell and testing worked. However, in production I keep getting the following error when I try to test from PWM:
SMS INFO
response body: {"messages":[],"errorCode":108,"error":"Invalid or missing integration API Key.","errorDescription":"The integration API key is either incorrect or has not been included in the API call."}
I am not exactly sure where I need to put the API key in pwm?
The API key goes in the GET url as a parameter.
So I configured exactly like yours. It rejects http and demands https. So I changed it to https and get the following error when I send a test message:
unable to send message: 5078 ERROR_SMS_SEND_ERROR (result body did not matching any configured regex match settings)
The API code I get from Clickatell may be different from yours. This is what they have given me to use:
You will notice "apiKey" instead of api_id for example and the URL is different.
When you make that call directly in your browser does it send?
Have you added the SSL CA certificate from clickatell? Thawte Primary Root CA
Jason
SMS Gateway: https://platform.clickatell.com/messages/http/send
SMS Request Data: apiKey=your123apikey&to=1%TO%&content=%MESSAGE%
We are getting closer. I also have to add the from like so:
SMS Request Data: apiKey=your123apikey&to=1%TO%&content=%MESSAGE%&from=xxxx-yyy-zzzz.
It sends the test message but also throws an error:
SMS WARN
unable to send message: 5078 ERROR_SMS_SEND_ERROR (response result code 202 is not a configured successful result code)
To be clear, the text message is sent successfully then the error message is thrown.
That worked. Thank you Jason, I really appreciate all your assistance.