Support forum
7:32 pm
Yes, it turns out there are two different options labeled "campaign" on their site and I had picked the wrong one. Their website is under transition to a new structure and is confusing to find stuff. All is good now, we are able to send texts through Clickatell with Diafaan. No more flakey GSM modems to deal with!
Thanks, Jenn
I don't exactly know what this error means but I suspect that you have to make a link between the campaign and the number somewhere on the Clickatell Platform website.
Regards, henk
2:47 pm
Clickatell support confirmed that the 'Communicater/Central' API is no longer usable in the US. I have added our "from" number to the Gateway Advanced options. It is the phone number that Clickatell issued to us. Now it is claiming we have to set up and use their Campaign service, which is completely useless for our application, but I set it up anyway to test and I am STILL getting this message:
2022/06/16 04:59:21.988 - HTTP POST
2022/06/16 04:59:21.988 > https://platform.clickatell.com/messages
2022/06/16 04:59:21.988 > Authorization: xxxxxxxxxxxxxxxx
2022/06/16 04:59:21.988 > Content-Type: application/json
2022/06/16 04:59:21.988 > Accept: application/json
2022/06/16 04:59:22.533 > {"to":["+1nnnnnnnnn"],"from":"+1nnnnnnnnnn","content":"Testing sending message using Clickatell Gateway"}
2022/06/16 04:59:22.675 < {"messages":[],"errorCode":610,"error":"Campaign not linked to FROM number","errorDescription":"Campaign not linked to 10DLC number"}
2022/06/16 04:59:22.675 - Error: Message rejected by Clickatell
Hello Jennifer,
I am not entirely sure but I don't think you need the basic edition of Diafaan SMS Server to send messages to US numbers. The light edition of Diafaan SMS Server supports both the older Clickatell 'Communicater/Central' API and the current 'Platform' API but only for outgoing SMS messages. Receiving messages with the Clickatell Platform API is only supported with an HTTP Gateway in the basic- and full edition of Diafaan SMS Server. The old Communicater/Central API still works but it is possible that Clickatell added limits to this API or disabled if for specific regions.
I think that the error from Clickatell indicates that you need a valid return address to send messages to numbers in the US. You can add a default from address in the Advanced settings of the Clickatell Gateway. It is also possible that you need to add a long number or short code to your Clickatell Platform account and use that as the from address in order to send messages to US numbers. Clickatell should be able to provide you with the information you need in your situation.
Regards, Henk
12:53 pm
I have been having a similar issue. It turns out that Clickatell no longer supports the older Developer Central API that uses the api_id variable, so I cannot use the mo=1 option. With the Clickatell Platform option I just get an error about not using two-way integration with a US phone number. So am I correct in that we are forced to upgrade from Light to Basic to get around this?
- HTTP POST
> https://platform.clickatell.com/messages
> Authorization: xxxxxxxxxxxxxxxxxxxxxx
> Content-Type: application/json
> Accept: application/json
> {"to":["+1123456789"],"content":"Test Message"}
< {"messages":[{"apiMessageId":null,"accepted":false,"to":"+123456789","errorCode":654,"error":"US numbers limitation.","errorDescription":"In order to send to US numbers, you should use two-way integration."}]}
- Error: Message rejected by Clickatell
Hello Leroy,
This error means that Clickatell does not know where to send the message or that the message cannot be routed through the standard networks that Clickatell uses. The 'mo=1' addition tells Clickatell to use more reliable and usually more expensive networks to deliver the messages.
Normally, Clickatell should be able to deliver the messages if you specify the 'mo=1' option and if you use international formatting of the destination address (in the form of: '+'). But it is possible that Clickatell does not have a route to deliver the messages to the network of the destination or that the charge will be higher than the maximum charge in the routing profiles in your Clickatell account.
If changing the maximum credits in the routing profiles does not work then it is best to contact Clickatell. They will probably be able to tell you why they can't deliver your messages.
Regards, Henk
1:37 am
Within the Diafaan Server I added the additional Http parameter mo=1 Still get the same error. Updated to the latest version and still have the save issue as above. Any other suggestions.
Thanks
- Open the Clickatell Gateway settings and select Advanced
- Set the 'DefaultFrom' property to your sender phone number
- Set the 'HttpParameters' property to 'mo=1'
The Clickatell Gateway in Diafaan SMS Server is send only, it is not able to retrieve reply SMS messages from Clickatell. The Clickatell service in the HTTP Gateway of the basic- and full edition of Diafaan SMS Server can process received messages. If you want to set up 2-way messaging using Diafaan SMS Server and Clickatell you'll have to use the HTTP Gateway instead of the Clickatell Gateway.
Regards, Henk
4:47 am
Clickatell is not routing the messages sent through Diafaan.
when I click send, the log says that the gateway sent the message.
just few seconds after, I get a failed status and the following error message:
Status: 301: Error: Status error received after the message was accepted by the Clickatell gateway.
Error: 9: The routing gateway or network has had an error routing the message.
Message: test3333333333
=======================================================
I contacted clickatell about their "error routing" and this is their reply:
Hi Richard,
Thank you for contacting Clickatell
The issue is that you have not specified to use the 2-way number when sending the messages. You will need to specify the following additional parameters in your code:
mo=1 (this activates 2-way messaging)
from=XXXX (Specifying your 2-way number as the source address)
For example:
https://api.clickatell.com/http/sendmsg?user=XXX&password=XXX&api_id=XXX&mo=1&from=XXX&to=Destinationaddress&text=message+content ;
If you need any further assistance, please feel free to reply to this email.
Most Users Ever Online: 529
Currently Online:
3 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 680
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1155
Posts: 3945
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1510