This configuration will query a local file for authenticating the REGISTER messages. The registrar DB is stored in memory, so a reboot of Flexisip will loose the registered sessions (for reliability, use the Redis registrarDB). 

[global]
debug=false
aliases=sip.example.org

[module::Registrar]
enabled=true
reg-domains=sip.example.org
db-implementation=internal

[module::Authentication]
enabled=true
auth-domains=sip.example.org
db-implementation=file
file-path=/etc/flexisip/users.db.txt

The file /etc/flexisip/users.db.txt looks like this:

version:1

toto@sip.example.org clrtxt:totoPassW0rd ;
titi@sip.example.org clrtxt:titiP4ssW0rd ;

For details, see the pages module::Registrar and module::Authentication.

Tags: