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):
For description of message types and their parameters, please check gammu(1). The options are identical to ones you can use for gammu sendsms.
To check it out, you need to have configuration file for SMSD, see gammu-smsdrc(5) for more details about it.
echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456
gammu-smsd-inject TEXT 123456 -text "All your base are belong to us"
echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456 -len 400
gammu-smsd-inject TEXT 123456 -len 400 -text "All your base are belong to us"
gammu-smsd-inject EMS 123456 -text "All your base are belong to us"
gammu-smsd-inject EMS 123456 -text "Greetings" -defsound 1 -text "from Gammu" -tone10 axelf.txt -animation 2 file1.bmp file2.bmp
gammu-smsd-inject EMS 123456 -protected 2 -variablebitmaplong ala.bmp -toneSElong axelf.txt -toneSE ring.txt
Before reporting a bug, please enable verbose logging in SMSD configuration:
[smsd] debuglevel = 255 logfile = smsd.log
and include this verbose log within bug report.