SMS Sending Configuration

Hello,

I’m new to this and would like to configure SMS sending paramaters: I have been given below SMSC HTTP client information:

http://10.24.1.8:8080/SmscHttp/httpaccount?msisdn=XXXX&username=xxxxxxx&password=xxxxxx&message=XXXX&sourceadds=XXXX.

How do I configure this in Splynx Config > Main > SMS

Thanks
Hassan

Hello.
Go to Splynx Config > Main > SMS
Add to “Gateway URL” your main link http://10.24.1.8:8080/SmscHttp/httpaccount
Then add all params (msisdn=XXXX&username=xxxxxxx&password=xxxxxx&message=XXXX&sourceadds=XXXX) to ‘Params’ and replace:
a) msisdn=XXXX to msisdn=%TO% - if msisdn is client phone number;
b) message=XXXX to message=%MESSAGE%;
c) other params (username, password, sourceadds) to yours data.
So you get something like this: msisdn=%TO%&username=xxxxxxx&password=xxxxxx&message=%MESSAGE%&sourceadds=XXXX
Best regards,
Andrij.

1 Like

Hello Andrij

Thanks for your kind assistance.

I have configured according your guideline and the test result is still not successful.
Below is the test result. I have changed the username and password to xxxxx.

SENT DATA:
msisdn=0620000012
username=xxxxx
password=xxxxx
message=TEST SMS! TIME: 2017-04-12 19:26:35
sourceadds=XXXX

REQUEST HEADERS:
GET /SmscHttp/httpaccount?msisdn=0620000012&username=xxxxx&password=xxxxx&message=TEST+SMS%21+TIME%3A+2017-04-12+19%3A26%3A35&sourceadds=XXXX HTTP/1.1
User-Agent: Splynx PHP Curl
Host: 10.24.1.8:8080
Accept: /

RESPONSE HEADERS:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=8FE9B56C5DB7844EAEC28C5CFB28AADC; Path=/SmscHttp/; HttpOnly
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 16
Date: Wed, 12 Apr 2017 16:26:36 GMT

RESPONSE:
Invalid Details

Try this:

Also you can use this video tutorial for example: Configure SMS in IspFramework - YouTube

I have configured according to the guide line above and worked.

Thanks

Hello Everyone,
I need assistance to integrate sms gateway into splynx.
I have followed the all the docs provided to setup an sms gateway but seems some parameters are different as comparing to smsspi example used so far. due to that its not working, i get unauthorized 401 error. meanwhile upon testing same parameters via HTTP it worked.
My sms gateway provider is https://hubtel.com and below is their api integration guidelines

https://developers.hubtel.com/documentations/sendmessage

Based on their api documentation used the following

Gateway URL: https://api.hubtel.com/v1/messages/send
Params: From=HECare&to=%TO%&Content=%MESSAGE%&ClientId=xxxxx&ClientSecret=xxxxxx&RegisteredDelivery=true

Mehtod: POST

Thank you in advance for assistance

configure like this:
Gateway URL: https://api.hubtel.com/v1/messages/send
params:ClientId=clientid&ClientSecret=clientsecret&from=from&to=%TO%&content=%MESSAGE%&
RegisteredDelivery=true
method: post