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 that you need to register you can create section with username that will contain the password associated.
[username] password=my_secret_password