Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

SIP2SIM and SMS: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(25 intermediate revisions by 3 users not shown)
<indicator name="Front">[[File:Menu-sip2sim.svg|link=:Category:Voice SIMs|30px|Back up to the Voice SIM Category Page]]</indicator>
==Overview==
 
Sending SMS from the handset can work in these ways:
*Without any configuration, outgoing SMS from the handset/SIM will have the originator as: sip2sim.
*With configuration, we can post the data to a URL of yours - you can then process this and relay it on how you like
*With configuration and a Number from AAISP, we can handle the SMS for you.
 
Receiving an SMS on the SIM is done in 1 of 2 ways:
*With a Number from AAISP we will send incoming SMSs to the SIM (see below for more info and restrictions)
*You can send a SMS by calling a URL. i.e., you can integrate this with your own systems/PBXs.
 
==SMS with an AAISP Number==
If you have a VoIP number from AAISP that supports SMS (see [[VoIP - SMS]] for a list), then simplySMSs addcan thebe Numbersent to theand MO SMS URL field on the Control Page forfrom the SIM. This will thenneed use2 thatsettings numberon whenthe sendingControl SMS'sPages fromto thebe SIM.set:
#Set the 'MO SMS URL' field on the Control Page for the SIM to be the VoIP number (+44 format)
#Set the 'SMS Inbound' field on the Control Page for the VoIP number to be the ICCID
 
[[File:Sip2sim-mosmsurl.png|none|frame|On the SIM, set the 'MO SMS URL' to be the VoIP number]]
 
[[File:Voip-sms-iccid.png|none|frame|On the VoIP Number set 'SMS Inbound' the to be the SIM ICCID]]
 
==Posting a SMS from the handset to your URL==
#Set the 'MO SMS URL' field on the Control Page for the SIM to be the URL to your script.
 
==Sending a SMS to the SIM using Curl==
 
Example:
curl --silent --get \
--form-string iccid=894453852500xxxxxxx \
--form-string password=secret \
--form-string message="Hello Alex" \
--form-string originator="Office" \
--form-string username=894453852500xxxxxxx \
https://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
OK: Queued1
 
You can also send via our [http://aa.net.uk/telecoms-sendsms.html Send a Text page] - Use the following fieledfields: Password, Message, Originator and ICCID fields.
 
==SMS with a non-AAISP Number==
More details on the [http://aa.net.uk/kb-telecoms-sms.html SMS Page]
If you are using our SIP2SIM service and are not using one of our numbers then SMS is still possible in the following ways:
===Outgoing===
*Without any configuration, outgoing SMS from the handset/SIM will have the originator as: sip2sim. See the [[SMS API]] page for more details.
*A URL can be added to the Control Pages, and we will post the SMS to the URL. e.g., this can then run a script at your side and the message can be handled in any way that you would like. e.g., passed on to a 3rd party SMS provider, run custom scripts etc.
 
===Incoming===
==SMS with an AAISP Number==
Incoming SMS to a number that is not an AAISP one will be up to the company who host your number. They may be able to email it to you, or they may have a way where they can post the message to a URL, in which case it may be able to use our [[SMS API]] for the message to be sent on to the SIM. See the example above, and the [[SMS API]] page.
If you have a number from AAISP that supports SMS (see [[VoIP - SMS]] for a list), then simply add the Number to the MO SMS URL field on the Control Page for the SIM. This will then use that number when sending SMS's from the SIM.
 
[[File:Sip2sim-mosmsurl.png]]
 
 
[[Category:SIP2SIMVoice SIMs]]
[[Category:SMS]]
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,266

edits