Need a little assistance setting up Clickatell

I need a little help getting Clickatell set up in OPEN. Our Clickatell account have been authenticated and I have inputted the needed fields in OPEN per the online instructions but I keep getting an error from Clickatell that reads: ERR: 001, Authentication failed

We are a US user if that changes anything. 

Is there anyone out there that can provide a little direction for me?

Thanks, Alan

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Need a little assistance setting up Clickatell

Alan - from you post times I figured that you were either an Aussie working the night shift or an overseas user ;-)

Do you have email running OK?  I assume yes.

We use another provider and use the generic gateway.  However below is a snippet of the Clickatell setup.

Note that having put in a phone number and pressing Apply I get shown the email message that will be sent.  Note the From address - it has been defaulted from the email address for the practice - but I suspect that it needs to match the email address that you have registered for your clickatell account.  Also I assume that the other fields (user, password, API_id) are correct for your clickatell account.

What you can try is sending the above email message and see what happens - or ring Mr Clickatell and ask if the message is acceptable.

Finally, note that when I was playing with the system prior to setting up the Oneway Asia service that we use, I set up a test clickatell account and that worked.

Regards, Tim

Re: Need a little assistance setting up Clickatell

Tim, thanks for the assistance. 

Being an authentication error, I would assume it has to do with the credentials I entered but that does not appear to be the case as I have checked everything twice. I have sent a message to Mr. Clickatell with the error message as well as the code OPEN is creating so I will see what I get back. 

Can you confirm for me that Clickatell is a Aussie company? I have tried using 0011 and 1 for the country and area prefixes (as well as every other combination of 0's and 1's I can think of) without success. If that even is the problem.

Thanks again.

Alan

Re: Need a little assistance setting up Clickatell

Alan - according to Wikipedia - see https://en.wikipedia.org/wiki/Clickatell - they are South African/US - HQ in Redwood City, CA.

Phone numbers. Generally with SMS providers, you give them the full international number - without any access code. Hence for a US number like 201-555-5555 (which happen's to be Clickatell) you just add the country code (1). So in the gateway config screen above, where I had 852 (Hong Kong), you put 1.

Also since in the US you do not use area codes (ie you dial the 10 digit number), you leave the 'Area Prefix' blank. See http://www.openvpms.org/documentation/csh/1.7/sms/config/clickatell  [In Australia for dialling a 'in State' number, you can just dial 8 digits. To get to another State you have to add the area code with a leading 0, eg 03 for Victoria. Also all mobile phones use a full 10 digit number like 0413 123 456. So for Australia the 0 has to be removed before OpenVPMS adds the country code 61.]

Note that I tried screwing up my test system with a bad SMTP password (remember that since the SMS Gateway uses the Practice Location's email to send out the message to the SMS provider, email must be working).  When I tried to send an SMS message I got:

which is obviously a message from Mr Google (we use Google's SMTP service).

If you press the Report Error button and then the Click here link - see http://www.openvpms.org/documentation/csh/1.7/concepts/errors - you will get some gobbledygook - I would be interested to know what it says.

[Note that in the above, I have been assuming that you are running 1.7 - if are running 1.8 then just change '1.7' to '1.8' in the URLs - though the help text is 99% the same].

Regards, Tim G

Re: Need a little assistance setting up Clickatell

The Email panel of the "Sample SMS" facility of the SMS Configuration: Clickatell SMTP Connection shows what will be sent to Clickatell when you generate an SMS.

The User, Password, API ID, and Sender ID (if specified) must all correspond to those in your Clickatell account. According to the Clickatell documentation, the  Sender ID must be approved by them before it can be used. It is mapped to the from: line in the Text field.

You can verify that you have the correct country and area prefix by entering a number in the Phone field and verifying it is a valid US number in the to: line in the Text field.

 

Syndicate content