Difference between revisions of "OpenBTS: Yate Config Test"

From OnnoWiki
Jump to navigation Jump to search
Line 189: Line 189:
 
* [[OpenBTS: 2.8 Menjalankan]] '''RECOMMENDED'''
 
* [[OpenBTS: 2.8 Menjalankan]] '''RECOMMENDED'''
 
* [[OpenBTS: 2.8 Konfigurasi]]
 
* [[OpenBTS: 2.8 Konfigurasi]]
 +
* [[OpenBTS: 2.8 Konfigurasi Cognitive Radio Elsabagh]]
 
* [[OpenBTS: 2.8 Konfigurasi Subscriber Registery]]
 
* [[OpenBTS: 2.8 Konfigurasi Subscriber Registery]]
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Database SQLite]]
Line 206: Line 207:
 
* [[OpenBTS: E110 Konfigurasi Jaringan]]
 
* [[OpenBTS: E110 Konfigurasi Jaringan]]
 
* [[OpenBTS: E110 Bekerja dengan opkg]]
 
* [[OpenBTS: E110 Bekerja dengan opkg]]
 +
* [[OpenBTS: E110 Instalasi iptables]]
 
* [[OpenBTS: E110 GNURadio]]
 
* [[OpenBTS: E110 GNURadio]]
 
* [[OpenBTS: E110 Compile UHD]] ''Not Recommended''
 
* [[OpenBTS: E110 Compile UHD]] ''Not Recommended''
Line 229: Line 231:
  
 
* [[OpenBTS: GPRS]]
 
* [[OpenBTS: GPRS]]
 +
* [[OpenBTS: GPRS Konfigurasi]]
 +
 +
===Briker OpenBTS===
 +
 +
* [[OpenBTS: Briker]]
 +
 +
===FreeSWITCH OpenBTS===
 +
 +
* [[OpenBTS: FreeSWITCH]]
  
 
===Power Amplifier===
 
===Power Amplifier===

Revision as of 12:16, 27 August 2013

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
${rtp_forward}^yes$^=;formats=${oformats}
^08.*$=sip/sip:\0@192.168.0.6:5060
^021.*$=sip/sip:\0@192.168.0.6:5060

atau

${rtp_forward}^yes$^=;formats=${oformats}
^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
${rtp_forward}^yes$^=;formats=${oformats}
.*=return true


regexroute.conf langsung untuk IMSI

Ini bisa di tambahkan langsung untuk debugging

^9999$=sip/IMSI510555550000000@127.0.0.1:5062
^1111$=sip/IMSI510218560072911@127.0.0.1:5062
^1112$=sip/IMSI510218560072911@127.0.0.1:5062

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

Ettus N210

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video