revert remove of frequency

This commit is contained in:
benkuly 2020-06-02 14:56:22 +02:00
parent f383b152da
commit cd17928805
2 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,9 @@ matrix_sms_bridge_gammu_modem: "/path/to/modem"
# generate a secret passwort e.g. with pwgen -s 64 1 # generate a secret passwort e.g. with pwgen -s 64 1
matrix_sms_bridge_database_password: "" matrix_sms_bridge_database_password: ""
# (optional) a room id to a default room # (optional) a room id to a default room
matrix_sms_bridge_default_room: "" matrix_sms_bridge_default_room: ""
# (optional) gammu reset frequency (see https://wammu.eu/docs/manual/smsd/config.html#option-ResetFrequency)
matrix_sms_bridge_gammu_reset_frequency: 3600
# (optional) group with unix read and write rights to modem # (optional) group with unix read and write rights to modem
matrix_sms_bridge_modem_group: 'dialout' matrix_sms_bridge_modem_group: 'dialout'
``` ```

View File

@ -49,6 +49,8 @@ matrix_sms_bridge_default_room: ''
matrix_sms_bridge_gammu_modem: '' matrix_sms_bridge_gammu_modem: ''
matrix_sms_bridge_modem_group: 'dialout' matrix_sms_bridge_modem_group: 'dialout'
matrix_sms_bridge_gammu_reset_frequency: 0
matrix_sms_bridge_configuration_yaml: | matrix_sms_bridge_configuration_yaml: |
#jinja2: lstrip_blocks: "True" #jinja2: lstrip_blocks: "True"
@ -122,6 +124,7 @@ matrix_sms_bridge_gammu_configuration: |
InboxFormat = detail InboxFormat = detail
OutboxFormat = detail OutboxFormat = detail
TransmitFormat = auto TransmitFormat = auto
ResetFrequency = {{ matrix_sms_bridge_gammu_reset_frequency }}
debugLevel = 1 debugLevel = 1
LogFile = /data/log/smsd.log LogFile = /data/log/smsd.log
DeliveryReport = log DeliveryReport = log