gammu-smsd-files (7) Linux Manual Page
gammu-smsd-files – gammu-smsd(1) backend using filesystem as a message storage
Description
gammu-smsd(1) supports several backends. Actual backend is chosen in a config file gammu-smsdrc(5). FILES backend stores all data on a filesystem in folders defined by configuration (see gammu-smsdrc(5) for description of configuration options).
Limitation
FILES backend does not support gammu-smsd-inject(1) program. This support might be eventually added in future versions.
Receiving of messages
Received messages are stored in a folder defined by configuration. The filename will be IN<date>_<time>_<serialno>_<phone_number>_<sequence>.<ext>, for example NN20021130_021531_00_+45409000931640979_00.txt. Explanation of fields: <date> – date in format YYYYMMDD
<time> – time in format HHMMSS
<serialno> – order of a message (in case more messages were received at same time), in format NN
<sequence> – part of the message for multipart messages, in format NN
<ext> – txt for text message, 8-bit messages are stored with bin extension
Transmitting of messages
Transmitted messages are read from a folder defined by configuration. The filename should be one of the following formats: – OUT<phone_number>.<ext><options>
– OUT<priority>_<phone_number>_<serialno>.<ext><options>
– OUT<priority><date>_<time>_<serialno>_<phone_number>_<anything>.<ext><options> Explanation of fields: <priority> – an alphabetic character (A-Z) A = highest priority
<ext> – txt for normal text SMS
<options> – Options appended to the extension applying to text SMS:
d
f
b
Example
Example of the ‘detail’ inbox format:
[SMSBackup000] #ABCDEFGHIJKLMNOPQRSTUVWXYZ # SMSC = "+4540590000" SMSCUnicode = 002B0034003500340030003500390030003000300030 Sent = 20021201T025023 State = UnRead Number = "+4522706947" NumberUnicode = 002B0034003500320032003700300036003900340037 Name = "" NameUnicode = Text00 = 004100420043004400450046004700480049004A004B004C004D004E004F0050005100520053005400550056005700580059005A000A Coding = Default Folder = 1 Length = 27 Class = -1 ReplySMSC = False RejectDuplicates = True ReplaceMessage = 0 MessageReference = 0
See Also
gammu-smsd(1), gammu-smsdrc(5), gammu(1), gammurc(5)
Author
gammu-smsd and this manual page were written by Michal Cihar <michal [at] cihar.com>.
Copyright
Copyright © 2009 Michal Cihar and other authors. License GPLv2: GNU GPL version 2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Reporting Bugs
Please report bugs to <http://bugs.cihar.com>.
