The controls are very simple and can also be sent via telnet or netcat, you can also query the incoming list and mark them as unread or read.
They accept multiple connections
Here is the list of commands:
- Return the list of commands you can use
- Return the list of SMS in memory
- Return the number of SMS in memory
- Return the list of unread SMS
- Returns the number of unread SMS
- Returns the SMS with id XXX
- Marks the SMS with id XXX as read
- Marks the SMS with id XXX Unread
- Delete the SMS with id XXX
- Close connection
send ToPhoneumber Message
- Send an SMS with the text 'Message' to the number 'ToPhoneumber'.
send 33344455566 This is the text of the message
or using netcat from linux
echo send 3938261162 This is an example | nc 192.168.2.12 3387
When you receive a text message, you can call a URL in order to store on a server the SMS received.
The query string (URL) can be configured by inserting the following placeholders:
[FROM] Phone number sender
[DATE] The SMS sending date
[MARK] Marker that triggered the request
[TEXT] Text message received
Once you called the url the SMS is marked as 'read'
- onrcvfrom from querystring
Is called the querystring for all messages from the telephone number 'from' the * indicates all numbers
onrcvfrom +390211223344 http://zuccoli.myds.me:3388/onsms.aspx?from=[FROM]&Date=[DATE]&Txt=[TEXT]
- onrcvmark mark querystring
It is called the querystring for all messages where the first word is 'mark'
onrcvmark event http://zuccoli.myds.me:3388/onsms.aspx?from=[FROM]&Date=[DATE]&Mrk=[MARK]&Txt=[TEXT]
N.B. Field TEXT will not contain the first word that is 'mark'
Show all set callback
Delete a callback when the filter is' from or 'mark'
Each command ends with ‘OK\n\r’