OpenBTS: Yate Config Test

From OnnoWiki
Jump to navigation Jump to search

Konfigurasi untuk percobaan

regfile.conf

Edit

vi /usr/local/etc/yate/regfile.conf 

Isi dengan

[2030]
password=123456
caller=2030

[2031]
password=123456
caller=2031

[2032]
password=123456
caller=2032

regexroute.conf

Edit

vi /usr/local/etc/yate/regexroute.conf

Isi dengan

[default]
; untuk call ke cell & pstn
^08.*$=sip/sip:\0@192.168.0.6:5060
^021.*$=sip/sip:\0@192.168.0.6:5060

atau

^08.*$=sip/sip:\0@192.168.0.5:5061
^021.*$=sip/sip:\0@192.168.0.5:5061


; terakhir, semua telepon di approve supaya tidak Unauthorized
.*=return true

Beberapa Teknik Debugging

Selalu lihat

  • /var/log/yate
  • /tmp/VBTS.log

Buat trap pada regexroute.conf

.*=tone/milliwatt


Beberapa Teknik Routing Outgoing call yang GAGAL TOTAL

Teknik ini Gagal & jangan digunakan

^08\(.*\)$=sip/sip:2032@192.168.0.5:5061/08\1;tonedetect_out=yes
^08.*$=sip/sip:2032@192.168.0.5:5061/\0
^021.*$=sip/sip:2032@192.168.0.5:5061/\0
^021\(.*\)$=sip/sip:2032@192.168.0.5:5061/021\1;tonedetect_out=yes

tonedetect_out=yes tidak berefek apa-apa :( ..


Teknik Routing yang perlu di Test

Kalau kita punya dua (2) Analog Telepon Adapter (ATA) ada baiknya coba fork

  • Coba Dial Sekaligus
^08.*$=fork sip/sip:\0@192.168.0.5:5061 sip/sip:\0@192.168.0.6:5060;stoperror=busy
^021.*$=fork sip/sip:\0@192.168.0.6:5060 sip/sip:\0@192.168.0.5:5061;stoperror=busy
  • Coba Dial Satu-Satu, kalau gagal semua kirim busy tone
^08.*$=fork sip/sip:\0@192.168.0.5:5061 | sip/sip:\0@192.168.0.6:5060;stoperror=busy
^021.*$=fork sip/sip:\0@192.168.0.6:5060 | sip/sip:\0@192.168.0.5:5061;stoperror=busy
  • Coba dial satu-satu, beri selang 3 detik; terakhir kalau gagal kirim busy tone
^08.*$=fork sip/sip:\0@192.168.0.5:5061 |next=3000 sip/sip:\0@192.168.0.4:5060;stoperror=busy
^021.*$=fork sip/sip:\0@192.168.0.4:5060 |next=3000 sip/sip:\0@192.168.0.5:5061;stoperror=busy

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video