forked from ushahidi/SMSSync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
27 lines (22 loc) · 1.25 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Welcome to *"SMSSync"*, its an android application that turns your android powered phone into an SMS gateway. It main use could be to push SMSes that come to the phone to a website you configure the application to send them to. You could filter out which messages to push to the website based on keywords or tags
h1.Instructions
* To start the SMSSync Gateway, you'll need to specify a callback URL. This URL is where all incoming text messages will be transmitted to.
* For security you can specify at secret at the callback URL. If the secret doesn't match, the callback URL will ignore the transmission.
* Additionally, you can specify keywords with which to filter incoming messages. Only matching text messages will be sent to the SMSSync Gateway URL.
* The SMSSync sends the following variables via the POST method:
* *from*
* *message*
* *secret*
* In order for SMSSync to account for perfect transmission, the callback URL needs to give back a formatted JSON string such as its shown below to indicate if it received the message or not.
* *Succeeded*
{
- payload: {
success: "false"
}
}
* *Failed*
{
- payload: {
success: "false"
}
}