TLS access, Registrar with Redis, authentication from database and media relay

Last modified by François Grisez on 2020/04/14 10:21

[global]
aliases=sip.example.org
debug=true
transports=sips:* sip:*
tls-certificates-dir=/etc/flexisip/tls

[module::Registrar]
reg-domains=sip.example.org
db-implementation=redis
redis-server-domain=172.16.0.1
redis-server-port=6379
redis-record-serializer=protobuf
redis-auth-password=the_random_very_long_string_also_defined_in_redis.conf_83cb1dfd2e3617

[module::MediaRelay]
enabled=true

[module::Authentication]
enabled=true
auth-domains=sip.example.org
db-implementation=soci
soci-password-request=select password from accounts where login = :id and activated = "1"
soci-connection-string=db=mydb user=dbuser password='database_password' host=database.example.org