How to register users from regfile
From Yate Documentation
The easiest way to register users is to use regfile module. This module route the calls only to the registered users.
This is done from configuration file called regfile.conf. For each user you can create section with username that will contain the associated password.
[general] file=/path/filename [username] password=my_secret_password ;Modify caller name callername=name
For more information please see regfile module.