Scroll to navigation



smsq - helper to send SMS messages


smsq <oa/da> <message>


smsq is a simple helper application designed to make it easy to send messages from a command line. it is intended to run on the Asterisk box and have direct access to the queue directories for SMS and for Asterisk.


Queue [inc sub address] (default: "")
Destination address
Origination address
Message file
File treated as null terminated UTF-8 (default)
File treated as UCS-1
File treated as UCS-2
Mobile Terminated
Mobile Originated
Send message
Queue for receipt
Rx queue process command
Do not dial
Do not wait if already calling
Number of concurrent calls to allow (default: 1)
Channel for motx calls (default: "Local/1709400X")
Caller ID for motx calls (default is queue name without sub address)
Time to wait for motx call to answer (default: 10)
Time between motx call retries (default: 1)
Number of retries for motx call (default: 10)
Channel for mttx calls (default is Local/ and queue name without sub address)
Caller ID for mttx calls (default is queue name without sub address) (default: "080058752X0")
Time to wait for mttx call to answer (default: 10)
Time between mttx call retries (default: 30)
Number of retries for mttx call (default: 100)
Message reference
Protocol ID
Data Coding Scheme
User data header
Status Report Request
Return Path request
Validity Period
Default sub address (default: "9")
Asterisk spool dir (default: "/var/spool/asterisk")

Help options:

-?, --help
Show this help message
Display brief usage message




This manual page was written by Jeremy Lainé <>.

May 2014 Asterisk trunk