Greetings to all
There was a problem with the connection SMSSync(
Here’s what I do:
Install the application on the smart smssync.ushahidi.com
Threw on file hosting sms.php, it drove the example code smssync.ushahidi.com/developers
Create the root file text.txt rights 777 (on the test)
Configure the application, the secret key as in Example 123456
Calling the script as follows:
http://my-site.com/sms.php?from={my phone number}&message=test&secret=123456&sent_to={number of the recipient}
In file text.txt sent 3 lines:
From: {my phone number}
Message: test
Sent to: {number of the recipient}
Receive replies:
{"payload": {"success": true, "task": "send", "secret": "123456", "messages": [{"to": "number of the recipient", "message": "Your message has been received "," uuid ":" 1ba368bd-c467-4374-bf28 "}]}} {" payload ": {" success ": true," error ": null}}
And all (
SmsSync all this time gives “Gateway running”
in logs, only the settings that I changed
waiting list is empty
sent no
well and accordingly nothing is not going anywhere
Please help me understand
By the way, when there is an incoming SMS to my phone, they somehow get the status “pending” - what is it?