Difference between revisions of "YATE: Konfigurasi User"

From OnnoWiki
Jump to navigation Jump to search
(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...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 autentication, registration, or routing module. The config file is regfile.conf
+
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:
i.e. to register my Grandstream Budgetone SIP phone, with username bt101, I have:
 
  
 
  [bt101]
 
  [bt101]
 
  password=mysecretpass
 
  password=mysecretpass
  
There is however the special [general] section
+
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
  
  
NOTE!!! If you want to limit the access to make calls only to autenticated users you have to setup in regexroute.conf in section [default] this line.
+
==Contoh untuk OpenBTS==
  
+
Edit
${username}^$=-;error=noauth
 
  
 +
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


Referensi

Pranala Menarik