Commit 733854a
committed
res_alarmsystem: Improve the telephone-only reporting experience.
Make some improvements that make this more suitable for systems where
the client will only be reporting events by telephone, not IP.
* Act sanely if no IP reporting host is provided.
* Allow events to be batched, so they are not all reported in real time.
Breaches continue to be reported in real time, and the event queue
can also be flushed on demand (e.g. via a cron job).
* Include the date and hour in the timestamp, instead of just minutes
and seconds. This is the only backwards-incompatible change, though
users should not need to do anything unless they were parsing the
timestamp in the logs.
* Allow IP connectivity loss detection to be disabled.
* Speed up the DTMF digits slightly.
* Use exponential backoff if phone line is unavailable and reporting
synchronization by phone fails.1 parent 4815fb8 commit 733854a
File tree
2 files changed
+306
-43
lines changed- configs/samples
- res
2 files changed
+306
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments