Outbound SMS Configuration

Bug and problem reporting on Cyclos 4 version

Moderators: rmvanarkel, hugo, alexandre

Post Reply
Posts: 2
Joined: Fri Apr 30, 2021 4:18 pm

Outbound SMS Configuration

Post by ah_barry »

I'm trying to configure the outbound SMS unfortunately so far I didn't succeed. I'm using the Twilio API and every time I try to send an SMS I get the message "Rejected by Gateway" without more details, but I can't find any log of it on Twilio. Here is the configuration that I have:
Enable outbound SMS messages: Checked
Gateway URL*: https://api.twilio.com/2010-04-01/Accou ... sages.json
HTTP username: AC*******************
HTTP password: ****
HTTP headers: Checked "application/x-www-form-urlencoded"
HTTP request type: POST
HTTP request POST body: From=+1647*******
Send ASCII characters only: Not checked
Character encoding*: UTF-8
SMS sending script: NONE
Maximum global messages per month: Not checked
Maximum global messages per unregistered phone: Not checked

Please can you tell me how to fix this issue? I've spent days trying to make it work without any success.

Best Regards,
Posts: 120
Joined: Fri Oct 26, 2012 9:42 am

Re: Outbound SMS Configuration

Post by barry »

Hello Amin,

Can you point us to a document on the POST Configuration for the Out Bound SMS?
It will be very much appreciated.

Posts: 258
Joined: Tue Oct 05, 2010 1:14 pm

Re: Outbound SMS Configuration

Post by rmvanarkel »

Dear Barry,

I would recommend first testing this very well in for example postman (see https://www.postman.com/). If you then have a working curl copy it to your Cyclos configuration. Make sure to add the right headers and exactly copy the body. Subsequently paste in the right parameters* {number} and {message} in the HTTP request POST body. If it isn't working please send me a private message, but we need then access to your account.

Best regards,


* The available parameters are:
{number} >> This variable contains the phone number in the E164 standard format that is the format Twilio requires
Posts: 9
Joined: Wed Jun 09, 2021 9:22 am

Re: Outbound SMS Configuration

Post by thetopshampound »


We gave up with Twilio and ended up with Nexmo / Vonage.

As per ...

Our setup looks like this:
cyclos-sms-settings.jpg (55.7 KiB) Viewed 66 times
The string, in our case, reads:
You will have to replace the xxxxx and number with your keys and number.

Hope that helps.
Posts: 9
Joined: Wed Jun 09, 2021 9:22 am

Re: Outbound SMS Configuration

Post by thetopshampound »

... and then again ... maybe not!
nexmo-vonage-maybe-not.jpg (35.94 KiB) Viewed 54 times
Note ... no email, no notice just "error page".

Is that how you would do it? Not me.

What SMS gateways do you all use for development?
Post Reply