1GAMMU-SMSD-FILES(7) Gammu GAMMU-SMSD-FILES(7)
2
3
4
6 gammu-smsd-files - gammu-smsd(1) backend using filesystem as a message
7 storage
8
10 FILES backend stores all data on a filesystem in folders defined by
11 configuration (see gammu-smsdrc for description of configuration
12 options).
13
15 Received messages are stored in a folder defined by configuration. The
16 filename will be IN<date>_<time>_<serial>_<sender>_<sequence>.<ext>,
17 for example IN20021130_021531_00_+45409000931640979_00.txt.
18
19 Explanation of fields:
20
21 <date> date in format YYYYMMDD
22
23 <time> time in format HHMMSS
24
25 <sender>
26 sender number
27
28 <serial>
29 order of a message (in case more messages were received at same
30 time), in format NN
31
32 <sequence>
33 part of the message for multipart messages, in format NN
34
35 <ext> txt for text message, 8-bit messages are stored with bin exten‐
36 sion, smsbackup for gammu-smsbackup
37
38 The content of the file is content of the message and the format is
39 defined by configuration directive InboxFormat (see gammu-smsdrc).
40
42 Transmitted messages are read from a folder defined by configuration.
43 The filename should be one of the following formats:
44
45 · OUT<recipient>.<ext>
46
47 · OUT<priority>_<recipient>_<serial>.<ext>
48
49 · OUT<priority><date>_<time>_<serial>_<recipient>_<note>.<ext>
50
51 Explanation of fields:
52
53 <recipient>
54 recipient number where to send message
55
56 <priority>
57 an alphabetic character (A-Z) A = highest priority
58
59 <ext> txt for normal text SMS, smsbackup for gammu-smsbackup
60
61 <note> any arbitrary text which is ignored
62
63 For text messages, you can additionally append flags to extension:
64
65 d delivery report requested
66
67 f flash SMS
68
69 b WAP bookmark as name,URL
70
71 Other fields are same as for received messages.
72
73 For example OUTG20040620_193810_123_+4512345678_xpq.txtdf is a flash
74 text SMS requesting delivery reports.
75
76 SMSes will be transmitted sequentially based on the file name. The con‐
77 tents of the file is the SMS to be transmitted (in Unicode or standard
78 character set).
79
80 The contents of the file is the SMS to be transmitted (in Unicode or
81 standard character set), for WAP bookmarks it is split on as Name,URL,
82 for text messages whole file content is used.
83
84 Please note that if file is not in Unicode, encoding is detected based
85 on locales, which do not have to be configured if SMSD is running from
86 init script. If this is your case, please add locales definition to
87 init script.
88
90 Michal Čihař <michal@cihar.com>
91
93 2009-2015, Michal Čihař <michal@cihar.com>
94
95
96
97
981.41.0 Sep 27, 2019 GAMMU-SMSD-FILES(7)