SMPP Notifier implements notifier for send SMS notifications.
Configuration
The Subscription service using SMPP Notifier is configured using the environment variables presented in the
following table. Note that any unset variables will be replaced with their
default values.
Variable
Description
Default
MG_SMPP_NOTIFIER_LOG_LEVEL
Log level for SMPP Notifier (debug, info, warn, error)
info
MG_SMPP_NOTIFIER_FROM_ADDRESS
From address for SMS notifications
MG_SMPP_NOTIFIER_CONFIG_PATH
Config file path with Message broker subjects list, payload type and content-type
/config.toml
MG_SMPP_NOTIFIER_HTTP_HOST
Service HTTP host
localhost
MG_SMPP_NOTIFIER_HTTP_PORT
Service HTTP port
9014
MG_SMPP_NOTIFIER_HTTP_SERVER_CERT
Service HTTP server certificate path
""
MG_SMPP_NOTIFIER_HTTP_SERVER_KEY
Service HTTP server key
""
MG_SMPP_NOTIFIER_DB_HOST
Database host address
localhost
MG_SMPP_NOTIFIER_DB_PORT
Database host port
5432
MG_SMPP_NOTIFIER_DB_USER
Database user
magistrala
MG_SMPP_NOTIFIER_DB_PASS
Database password
magistrala
MG_SMPP_NOTIFIER_DB_NAME
Name of the database used by the service
subscriptions
MG_SMPP_NOTIFIER_DB_SSL_MODE
DB connection SSL mode (disable, require, verify-ca, verify-full)