This file is indexed.

/usr/share/doc/gammu-doc/html/_sources/smsd/usage.txt is in gammu-doc 1.38.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Usage
=====

This chapter will describe basic ways of using SMSD. It's use is not limited
to these, but they can give you overview of SMSD abilities.

Storing Messages in Backend
---------------------------

The standard mode of operating SMSD. You simply configure backend service, and
all received messages will end up in it and any message you put into outbox
storage will be sent.

Creating Messages to Send
-------------------------

Creating of messages to send heavily depends on service backend you use. Most
of them support :ref:`gammu-smsd-inject`, which can be used to construct
the message, or you can just insert message manually to the backend storage.

Alternatively you can use :c:func:`SMSD_InjectSMS` (from C) or using
:meth:`gammu.smsd.SMSD.InjectSMS` (from Python).

Notification about Received Messages
------------------------------------

Once SMSD receives message and stores it in backend service, it can invoke
your own program to do any message processing, see :ref:`gammu-smsd-run`.

Monitoring SMSD Status
----------------------

You can use :ref:`gammu-smsd-monitor` to monitor status of SMSD. It uses
shared memory segment to get current status of running SMSD.

Alternatively you can get the same functionality from libGammu using
:c:func:`SMSD_GetStatus` or python-gammu using
:meth:`gammu.smsd.SMSD.GetStatus`.

.. _reporting-bugs-smsd:

Reporting Bugs
--------------

Please report bugs to <https://github.com/gammu/gammu/issues>.

Before reporting a bug, please enable verbose logging in SMSD configuration
by :config:option:`DebugLevel` and :config:option:`LogFile`:

.. code-block:: ini

    [gammu]
    connection = your connection setting
    port = your port name
    logformat = textalldate

    [smsd]
    debuglevel = 255
    logfile = smsd.log

and include this verbose log within bug report.