Difference between revisions of "OpenBTS: Yate Config Test"

From OnnoWiki
Jump to navigation Jump to search
Line 152: Line 152:
 
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] ''NOT RECOMMENDED''
 
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] ''NOT RECOMMENDED''
 
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
 
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
* [[GNURadio: UHD]]
+
* [[GNURadio: UHD]] ''NOT RECOMMENDED''
* [[GNURadio: UHD Image]]
+
* [[GNURadio: UHD Image]] ''NOT RECOMMENDED''
 +
* [[GNURadio: UHD burn EEPROM RFX Board di USRP1]] ''NOT RECOMMENDED''
 
* [[GNURadio: UHD Identifikasi Device]]
 
* [[GNURadio: UHD Identifikasi Device]]
 
* [[OpenBTS: Ubuntu 11.10 Install]]
 
* [[OpenBTS: Ubuntu 11.10 Install]]
Line 159: Line 160:
 
* [[OpenBTS: 2.8 dari SVN Install]]
 
* [[OpenBTS: 2.8 dari SVN Install]]
 
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz]] '''RECOMMENDED'''
 
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz]] '''RECOMMENDED'''
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz dengan UHD tanpa GNURadio]] '''RECOMMENDED'''
+
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz dengan UHD tanpa GNURadio]] ''NOT RECOMMENDED''
 
* [[OpenBTS: 2.8 Edit User di sqlite3.db]] '''RECOMMEND'''
 
* [[OpenBTS: 2.8 Edit User di sqlite3.db]] '''RECOMMEND'''
 
* [[OpenBTS: Yate Softswitch]]
 
* [[OpenBTS: Yate Softswitch]]

Revision as of 17:57, 13 August 2012

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

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

GPRS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video