1GAMMU-SMSD-INJECT(1)          Gammu Documentation         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_PARAME‐
10       TER]...
11

DESCRIPTION

13       This manual page documents briefly the gammu-smsd-inject command.
14
15       gammu-smsd-inject is a program that enqueues message in Gammu SMS  dae‐
16       mon, which will be later sent by the deamon using connected GSM modem.
17
18       Support  for  this  program  depends on features available in currently
19       used SMSD service backend, currently only  files  (gammu-smsd-files(7))
20       does not support this feature.
21
22       Program  accepts following options (please note that long options might
23       be not accepted on some platforms):
24
25       -h, --help
26              Shows help.
27
28       -v, --version
29              Shows version information and compiled in features.
30
31       -c, --config=file
32              Configuration file to use, default is /etc/gammu-smsdrc, on Win‐
33              dows  there  is no default and configuration file path has to be
34              always specified.
35
36       For description of message types and  their  parameters,  please  check
37       gammu(1).   The  options  are  identical  to ones you can use for gammu
38       sendsms.
39
40

EXAMPLE

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

SEE ALSO

87       gammu-smsdrc(5), gammu(1), gammu-smsd(1)
88

AUTHOR

90       gammu-smsd   and   this  manual  page  were  written  by  Michal  Cihar
91       <michal@cihar.com>.
92
94       Copyright © 2009 Michal Cihar and other authors.   License  GPLv2:  GNU
95       GPL version 2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
96       This  is  free  software:  you  are free to change and redistribute it.
97       There is NO WARRANTY, to the extent permitted by law.
98

REPORTING BUGS

100       Please report bugs to <http://bugs.cihar.com>.
101
102       Before reporting a bug, please enable verbose logging in SMSD  configu‐
103       ration:
104
105           [smsd]
106           debuglevel = 255
107           logfile = smsd.log
108
109       and include this verbose log within bug report.
110
111
112
113Gammu 1.23.0                   January  4, 2009           GAMMU-SMSD-INJECT(1)
Impressum