GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GAMMU-SMSD-INJECT(1) Gammu GAMMU-SMSD-INJECT(1)

gammu-smsd-inject - Inject messages into queue of SMS daemon for Gammu

gammu-smsd-inject [OPTION]... MESSAGETYPE RECIPIENT [MESSAGE_PARAMETER]...


This manual page documents briefly the gammu-smsd-inject command.

gammu-smsd-inject is a program that enqueues message in Gammu SMS Daemon, which will be later sent by the daemon using connected GSM modem.

Support for this program depends on features available in currently used SMSD service backend, however currently it is supported by all of them.

Program accepts following options (please note that long options might be not accepted on some platforms):

-h, --help
Shows help.

-v, --version
Shows version information and compiled in features.

-c, --config=file
Configuration file to use, default is /etc/gammu-smsdrc, on Windows there is no default and configuration file path has to be always specified.

-l, --use-log
Use logging as configured in config file.

-L, --no-use-log
Do not use logging as configured in config file (default).

For description of message types and their parameters, please check documentation for gammu savesms.

To check it out, you need to have configuration file for SMSD, see gammu-smsdrc for more details about it.

Inject text message up to standard 160 chars:

echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456


or

gammu-smsd-inject TEXT 123456 -text "All your base are belong to us"


Inject unicode text message:

gammu-smsd-inject TEXT 123456 -unicode -text "Zkouška sirén"


Inject long text message:

echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456 -len 400


or

gammu-smsd-inject TEXT 123456 -len 400 -text "All your base are belong to us"


or

gammu-smsd-inject EMS 123456 -text "All your base are belong to us"


Inject some funky message with predefined sound and animation from 2 bitmaps:

gammu-smsd-inject EMS 123456 -text "Greetings" -defsound 1 -text "from Gammu" -tone10 axelf.txt -animation 2 file1.bmp file2.bmp


Inject protected message with ringtone:

gammu-smsd-inject EMS 123456 -protected 2 -variablebitmaplong ala.bmp -toneSElong axelf.txt -toneSE ring.txt


Inject USSD query:

gammu-smsd-inject USSD '*101#'


Michal Čihař <michal@cihar.com>

2009-2015, Michal Čihař <michal@cihar.com>
October 3, 2020 1.42.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.