@ -3,18 +3,11 @@
matrix_sms_bridge_enabled : true
matrix_sms_bridge_enabled : true
matrix_sms_bridge_docker_image : "docker.io/folivonet/matrix-sms-bridge:0. 4.2.RELEASE "
matrix_sms_bridge_docker_image : "docker.io/folivonet/matrix-sms-bridge:0. 5.2 "
matrix_sms_bridge_base_path : "{{ matrix_base_data_path }}/matrix-sms-bridge"
matrix_sms_bridge_base_path : "{{ matrix_base_data_path }}/matrix-sms-bridge"
matrix_sms_bridge_config_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/config"
matrix_sms_bridge_config_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/config"
matrix_sms_bridge_data_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data"
matrix_sms_bridge_data_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data"
matrix_sms_bridge_data_log_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/log"
matrix_sms_bridge_data_spool_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/spool"
matrix_sms_bridge_data_spool_inbox_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/spool/inbox"
matrix_sms_bridge_data_spool_inbox_processed_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/spool/inbox_processed"
matrix_sms_bridge_data_spool_outbox_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/spool/outbox"
matrix_sms_bridge_data_spool_sent_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/spool/sent"
matrix_sms_bridge_data_spool_error_path : "{{ matrix_base_data_path }}/matrix-sms-bridge/data/spool/error"
matrix_sms_bridge_appservice_token : ''
matrix_sms_bridge_appservice_token : ''
matrix_sms_bridge_homeserver_token : ''
matrix_sms_bridge_homeserver_token : ''
@ -40,11 +33,11 @@ matrix_sms_bridge_default_region: ''
matrix_sms_bridge_default_timezone : ''
matrix_sms_bridge_default_timezone : ''
matrix_sms_bridge_single_mode_enabled : false
matrix_sms_bridge_single_mode_enabled : false
matrix_sms_bridge_ gammu_modem : ''
matrix_sms_bridge_ provider_android_baseurl : ''
matrix_sms_bridge_ modem_group: 'dialout '
matrix_sms_bridge_ provider_android_username: ' '
matrix_sms_bridge_ gammu_reset_frequency: 0
matrix_sms_bridge_ provider_android_password: ''
matrix_sms_bridge_ gammu_hard_reset_frequency: 0
matrix_sms_bridge_ provider_android_truststore_local_path: ''
matrix_sms_bridge_ gammu_smsc : ''
matrix_sms_bridge_ provider_android_truststore_password : ''
matrix_sms_bridge_configuration_yaml : |
matrix_sms_bridge_configuration_yaml : |
@ -61,13 +54,22 @@ matrix_sms_bridge_configuration_yaml: |
defaultTimeZone : "{{ matrix_sms_bridge_default_timezone }}"
defaultTimeZone : "{{ matrix_sms_bridge_default_timezone }}"
singleModeEnabled : "{{ matrix_sms_bridge_single_mode_enabled }}"
singleModeEnabled : "{{ matrix_sms_bridge_single_mode_enabled }}"
provider:
provider:
gammu :
android :
# (optional) default is disabled
# (optional) default is disabled
enabled : true
enabled : true
# (optional) Path to the Gammu-Inbox directory.
# The url to the android-sms-gateway-server
inboxPath : /data/spool/inbox
baseUrl : {{ matrix_sms_bridge_provider_android_baseurl }}
# (optional) Path to the directory, where to put processed messages.
# The username of the gateway
inboxProcessedPath : /data/spool/inbox_processed
username : {{ matrix_sms_bridge_provider_android_username }}
# The password of the gateway
password : {{ matrix_sms_bridge_provider_android_password }}
# (optional) if you use a self signed certificate, you can add the public key here
{% if matrix_sms_bridge_provider_android_truststore_local_path %}
trustStore:
path : /config/matrix-sms-gateway-server.p12
password : {{ matrix_sms_bridge_provider_android_truststore_password }}
type : PKCS12
{% endif %}
bot:
bot:
# The domain-part of matrix-ids. E. g. example.org when your userIds look like @unicorn:example.org
# The domain-part of matrix-ids. E. g. example.org when your userIds look like @unicorn:example.org
serverName : {{ matrix_sms_bridge_homserver_domain }}
serverName : {{ matrix_sms_bridge_homserver_domain }}
@ -104,34 +106,6 @@ matrix_sms_bridge_configuration_extension: "{{ matrix_sms_bridge_configuration_e
matrix_sms_bridge_configuration : "{{ matrix_sms_bridge_configuration_yaml|from_yaml|combine(matrix_sms_bridge_configuration_extension, recursive=True) }}"
matrix_sms_bridge_configuration : "{{ matrix_sms_bridge_configuration_yaml|from_yaml|combine(matrix_sms_bridge_configuration_extension, recursive=True) }}"
matrix_sms_bridge_gammu_configuration : |
[ gammu]
Device = {{ matrix_sms_bridge_gammu_modem }}
LogFile = /data/log/gammu.log
debugLevel = 1
[ smsd]
Service = files
LoopSleep = 2
InboxPath = /data/spool/inbox/
OutboxPath = /data/spool/outbox/
SentSMSPath = /data/spool/sent/
ErrorSMSPath = /data/spool/error/
InboxFormat = detail
OutboxFormat = detail
TransmitFormat = auto
{% if matrix_sms_bridge_gammu_smsc is defined and matrix_sms_bridge_gammu_smsc|length %}
SMSC = {{ matrix_sms_bridge_gammu_smsc }}
{% endif %}
ResetFrequency = {{ matrix_sms_bridge_gammu_reset_frequency }}
HardResetFrequency = {{ matrix_sms_bridge_gammu_hard_reset_frequency }}
debugLevel = 1
LogFile = /data/log/smsd.log
DeliveryReport = no
HangupCalls = 1
CheckBattery = 0
matrix_sms_bridge_registration_yaml : |
matrix_sms_bridge_registration_yaml : |
id : sms
id : sms
as_token : "{{ matrix_sms_bridge_appservice_token }}"
as_token : "{{ matrix_sms_bridge_appservice_token }}"