Support forum
Thank you for the specification of the HTTP API of your SMS service provider.
As I mentioned in my first reply, the HTTP POST call will not work in the HTTP Gateway of Diafaan SMS Server because this call requires an XML formatted message content, and that is not supported in the generic HTTP options of the HTTP Gateway. The only way to implement this in Diafaan SMS Server is using a script.
You can use the HTTP GET call that is mentioned in the specification with Diafaan SMS Server. To use the HTTP API of your SMS service provider in the HTTP Gateway, set the 'Web page' to 'http://transport.wsoft.ru' and the 'HTTP query' to:
'msisdn=[to]&servicenumber=1234&operator=MTS&operator-id=100&text=[message-text]'
(perhaps without the 'servicenumber=1234&operator=MTS&operator-id=100&' part)
Regards, Henk
3:03 pm
i send mail to dms@diafaan.com ? with instuction HTTP for WINGS SMS GATE , but text on russian
I don't fully understand your question. Can you rephrase the question and provide more background information?
Regards, Henk
2:11 pm
How to use if give this is
http POST request
This is a test message
Hello Jislom,
The basic- and full editions of Diafaan SMS Server have an HTTP Gateway option to send simple HTTP GET or POST requests to an SMS service. However, according to the curl example script from your SMS service provider, it uses an XML formatted message content and that is not supported by the HTTP Gateway in Diafaan SMS Server.
The only way to add support for this XML based HTTP API is to use the Scripting Gateway in Diafaan SMS Server and write your own custom script for it. The Scripting Connector supports scripts in C# or Visual Basic.NET.
Regards, Henk
7:55 am
How to connect to WINGS SMS Gate
Content provider give this parametr
<?php
$input_xml='
test
';
$url = "http://90.204.0.42:8081/re-smsbroker";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml;charset=UTF-8'));
curl_setopt($ch, CURLOPT_POSTFIELDS, "$input_xml");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
Most Users Ever Online: 529
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488