SMS()
Synopsis
Communicates with SMS service centres and SMS capable analogue phones.
Description
SMS handles exchange of SMS data with a call to/from SMS capable phone or SMS PSTN service center. Can send and/or receive SMS messages. Works to ETSI ES 201 912; compatible with BT SMS PSTN service in UK and Telecom Italia in Italy.
Typical usage is to use to handle calls from the SMS service centre CLI, or to set up a call using outgoing
or manager interface to connect service centre to SMS().
"Messages are processed as per text file message queues. smsq (a separate software) is a command to generate message queues and send messages.
Syntax
SMS(name,options,addr,body)
Arguments
name
- The name of the queue used in/var/spool/asterisk/sms
options
a
- Answer, i.e. send initial FSK packet.s
- Act as service centre talking to a phone.t
- Use protocol 2 (default used is protocol 1).p
- Set the initial delay to N ms (default is300
). addr and body are a deprecated format to send messages out.r
- Set the Status Report Request (SRR) bit.o
- The body should be coded as octets not 7-bit symbols.
addr
body
Import Version
This documentation was imported from Asterisk Version SVN-branch-10-r383982