1GAMMU-SMSD-INJECT(1)                 Gammu                GAMMU-SMSD-INJECT(1)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

12       This manual page documents briefly the gammu-smsd-inject command.
13
14       gammu-smsd-inject  is a program that enqueues message in Gammu SMS Dae‐
15       mon, which will be later sent by the daemon using connected GSM modem.
16
17       Support for this program depends on  features  available  in  currently
18       used  SMSD service backend, however currently it is supported by all of
19       them.
20
21       Program accepts following options (please note that long options  might
22       be not accepted on some platforms):
23
24       -h, --help
25              Shows help.
26
27       -v, --version
28              Shows version information and compiled in features.
29
30       -c, --config=file
31              Configuration file to use, default is /etc/gammu-smsdrc, on Win‐
32              dows there is no default and configuration file path has  to  be
33              always specified.
34
35       -l, --use-log
36              Use logging as configured in config file.
37
38       -L, --no-use-log
39              Do not use logging as configured in config file (default).
40
41       For  description  of  message  types and their parameters, please check
42       documentation for gammu savesms.
43

EXAMPLES

45       To check it out, you need to have  configuration  file  for  SMSD,  see
46       gammu-smsdrc for more details about it.
47
48       Inject text message up to standard 160 chars:
49
50          echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456
51
52       or
53
54          gammu-smsd-inject TEXT 123456 -text "All your base are belong to us"
55
56       Inject unicode text message:
57
58          gammu-smsd-inject TEXT 123456 -unicode -text "Zkouška sirén"
59
60       Inject long text message:
61
62          echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456 -len 400
63
64       or
65
66          gammu-smsd-inject TEXT 123456 -len 400 -text "All your base are belong to us"
67
68       or
69
70          gammu-smsd-inject EMS 123456 -text "All your base are belong to us"
71
72       Inject  some  funky  message with predefined sound and animation from 2
73       bitmaps:
74
75          gammu-smsd-inject EMS 123456 -text "Greetings" -defsound 1 -text "from Gammu" -tone10 axelf.txt -animation 2 file1.bmp file2.bmp
76
77       Inject protected message with ringtone:
78
79          gammu-smsd-inject EMS 123456 -protected 2 -variablebitmaplong ala.bmp -toneSElong axelf.txt -toneSE ring.txt
80
81       Inject USSD query:
82
83          gammu-smsd-inject USSD '*101#'
84

AUTHOR

86       Michal Čihař <michal@cihar.com>
87
89       2009-2015, Michal Čihař <michal@cihar.com>
90
91
92
93
941.39.0                           Jan 05, 2018             GAMMU-SMSD-INJECT(1)
Impressum