Receiving SMS
The gateway is able to host a dedicated number on which to receive SMS. All SMS messages received on this number can be forwarded in one of the following ways. For each received message we know the following:
- sender: the number of the person who sent the message
- recipients: the number to which the message was sent (this is the hosted number)
- text: the SMS message text
an email is sent to a preconfigured email address. The email will appear to come from phoneNumber@amethon.net (eg 6142154353@amethon.net). It's subject will be "SMS Message Received" and the email body will contain the SMS text.
HTTP GET
A remote URL can be called passing as parameters the sender, recipient and SMS text details. Eg
http://www.company.com/receive.asp?sender=61450123123&recipient=61414414414&message=Hello+World
Web Service
A remote Web Service can be called passing as parameters the sender, recipient and SMS text details.
method |
parameters |
return |
---|---|---|
receive |
(String sender, String recipient, String text) |
Boolean (success | failure) |
SMS InBox
The received SMS is stored locally and can be retrieved using the receive web service method
Need to describe the SMSPL hosted service for webservice.