Difference between revisions of "YATE: Konfigurasi User"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Regfile is a registration module. It can be used for autentication, registration, and routing of users from a file. Is provided as a demo module for people who want to develop their own au...) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Regfile | + | Regfile adalah modul registrasi. Regfile dapat digunakan untuk authentikasi, registrasi, dan routing dari user dari file. Regfile dikembangkan sebagai modul demo bagi mereka yang ingin mengembangkan sendiri authentikasi, registrasi atau modul routing. File config-nya adalah regfile.conf |
− | |||
; you have to put username as a category and password into key password | ; you have to put username as a category and password into key password | ||
Line 6: | Line 5: | ||
;password=something | ;password=something | ||
− | + | Contoh, untuk meregistrasi Grandstream Budgetone SIP phone, dengan username bt101, formatnya adalah: | |
− | |||
[bt101] | [bt101] | ||
password=mysecretpass | password=mysecretpass | ||
− | + | Di regfile.conf tersedia bagian spesial [general] | |
[general] | [general] | ||
Line 22: | Line 20: | ||
; route setups the call.route handler priority | ; route setups the call.route handler priority | ||
route=100 | route=100 | ||
+ | |||
+ | '''CATATAN!!''' Jika kita ingin agar hanya mereka yang terdaftar yang dapat melakukan call. Jika perlu menambahkan di regexroute.conf di bagian [default] kalimat berikut, | ||
+ | |||
+ | ${username}^$=-;error=noauth | ||
− | + | ==Contoh untuk OpenBTS== | |
− | + | Edit | |
− | |||
+ | vi /usr/local/etc/yate/regfile.conf | ||
+ | Isi | ||
+ | [2030] | ||
+ | password=123456 | ||
+ | [2031] | ||
+ | password=123456 | ||
+ | [2032] | ||
+ | password=123456 | ||
Line 38: | Line 47: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | |||
+ | * [[YATE]] | ||
+ | * [[YATE Softswitch]] | ||
+ | * [[Instal YATE]] | ||
+ | * [[YATE: Compile]] | ||
+ | * [[YATE: Menjalankan]] | ||
+ | * [[YATE: Konfigurasi Dial Plan]] | ||
+ | * [[YATE: Konfigurasi User]] |
Latest revision as of 15:42, 3 August 2012
Regfile adalah modul registrasi. Regfile dapat digunakan untuk authentikasi, registrasi, dan routing dari user dari file. Regfile dikembangkan sebagai modul demo bagi mereka yang ingin mengembangkan sendiri authentikasi, registrasi atau modul routing. File config-nya adalah regfile.conf
; you have to put username as a category and password into key password [username] ;password=something
Contoh, untuk meregistrasi Grandstream Budgetone SIP phone, dengan username bt101, formatnya adalah:
[bt101] password=mysecretpass
Di regfile.conf tersedia bagian spesial [general]
[general] ; auth setups the user.auth handler priority auth=100 ; register setups the user.register and user.unregister ; handlers priority register=100 ; route setups the call.route handler priority route=100
CATATAN!! Jika kita ingin agar hanya mereka yang terdaftar yang dapat melakukan call. Jika perlu menambahkan di regexroute.conf di bagian [default] kalimat berikut,
${username}^$=-;error=noauth
Contoh untuk OpenBTS
Edit
vi /usr/local/etc/yate/regfile.conf
Isi
[2030] password=123456 [2031] password=123456 [2032] password=123456