Examples
HTTP
S.I.G. Request
GET /subscriptions.aspx?smsc=ESC-PZoom&m=ESC-Quiz-Someone&s=+420123123123&r=+35566text=mykeyword Host: www.someurl.com Connection: close
Your response:
HTTP 200 OK X-Kannel-From:+35566 X-Kannel-To: +420123123123 X-Kannel-SMSC: ESC-PZoom X-Kannel-Service: ESC-Quiz-Someone You have been subscribed!
Send BULK Message
POST /
Host site.demoru.com
Accept text/html
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 113
smsc=ESC-PMTN&s=%2B35566&r=%2B44778962937&text=+http%3A%2F%2Fwww.mobi-fee.com%2Flink%2Fg.lnk%3FID%3D135&send=Send
Response
HTTP 200 OK Date Thu: 03 Jun 2010 18:32:15 GMT Connection Close Transfer-Encoding chunked Content-Type text/html; charset=UTF-8
| from | to | smsc | status | text |
|---|---|---|---|---|
| +35566 | +44778962937 | ESC-P1Celtel | 0: Accepted for delivery | http://www.mobi-fee.com/link/g.lnk?ID=135 |
| from | to | smsc | status | text |
Direct MT
http://www.smsig.com/YOUR_SCRIPT?id=123&receiver=%2B2345678910&sender=30650&message=test
Fields:
– id: your generated ID
– receiver: recipient of the message – must begin with +
– sender: Sender number
– message: text message to be sent out
Will return:
ERROR: Reason of ERROR
OR:
OK:message_id
After the SMS had been delivered/rejected, an HTTP Request will be performed to your URL in following form:
?id=123&mobile=%2B2345678910&status=Status&reason=Reason
The fields will contain following values:
- id: ID of the submitted message
- mobile: recipient of the message
- status: Delivered or Failed
- reason: text explanation if Failed.
No comments yet.