How to register users from regfile: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


The easiest way to register users is to use [[regfile]] module. This module routes calls only to the registered users. For routing to other numbers/outside the system you will have to use another module like [[Regular_expressions|regexroute]].
The easiest way to register users is to use [[regfile]] module.  


This is done from configuration file called regfile.conf. For each user you can create section with username that will contain the associated password.
This module routes calls only to the registered users. For routing to other numbers/outside the system you will have to use another module like [[Regular_expressions|regexroute]].
 
Set the users in regfile.conf. For each user you can create section with username that will contain the associated password.


  [general]
  [general]

Revision as of 15:35, 4 October 2012

The easiest way to register users is to use regfile module.

This module routes calls only to the registered users. For routing to other numbers/outside the system you will have to use another module like regexroute.

Set the users in 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.