SIP2SIM: Control Page Settings: Difference between revisions
Line 10: | Line 10: | ||
==Sending a SMS to the SIM== |
==Sending a SMS to the SIM using Curl== |
||
You can send a SMS to the SIM |
You can send a SMS to the SIM curl, and so this can be integrated in to your own systems. |
||
Be sure to enter a 'MT Password' |
|||
Enter a MT Password above, and use the [http://aa.net.uk/telecoms-sendsms.html Send a Text page] to send a text. |
|||
Example: |
|||
Curl example: |
|||
curl --silent --get --form-string iccid=894453852500xxxxxxx --form-string password=secret --form-string message="Hello Alex" --form-string originator="Office" http://sms.aa.net.uk/sms.cgi |
curl --silent --get --form-string iccid=894453852500xxxxxxx --form-string password=secret --form-string message="Hello Alex" --form-string originator="Office" http://sms.aa.net.uk/sms.cgi |
||
SMS message to 894453852500xxxxxxx |
SMS message to 894453852500xxxxxxx |
||
OK: Queued |
OK: Queued |
||
You can also send via our [http://aa.net.uk/telecoms-sendsms.html Send a Text page] - Use the following fieled: Password, Message, Originator and ICCID fields. |
|||
More details on the [http://aa.net.uk/kb-telecoms-sms.html SMS Page] |
|||
[[Category:SIP2SIM]] |
[[Category:SIP2SIM]] |
Revision as of 12:24, 20 March 2014
Control Page
The control page for a SIM looks like this:
- MO = Mobile Originating - calls/SMS from the SIM
- MT = Mobile Terminating - SMS to the SIM
Setting up a SIM with an AAISP number
Sending a SMS to the SIM using Curl
You can send a SMS to the SIM curl, and so this can be integrated in to your own systems.
Be sure to enter a 'MT Password'
Example:
curl --silent --get --form-string iccid=894453852500xxxxxxx --form-string password=secret --form-string message="Hello Alex" --form-string originator="Office" http://sms.aa.net.uk/sms.cgi SMS message to 894453852500xxxxxxx OK: Queued
You can also send via our Send a Text page - Use the following fieled: Password, Message, Originator and ICCID fields.
More details on the SMS Page