How to register users from regfile
From Yate Documentation
(Difference between revisions)
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The easiest way to register users is to use [[ | + | The easiest way to register users is to use [[regfile]] module. |
− | This | + | 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] | ||
+ | file=/path/filename | ||
[username] | [username] | ||
password=my_secret_password | password=my_secret_password | ||
+ | ;Modify caller name | ||
+ | callername=name | ||
+ | |||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | * [[Regfile| Regfile module]] | ||
+ | * [[Regular_expressions| Regexroute module]] | ||
+ | * [[Routing]] | ||
+ | * [[How To's]] | ||
+ | |||
+ | [[Category:Beginners]] [[Category:Registration]] |
Latest revision as of 15:57, 31 October 2013
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
See also