Pustaka Taratsa

Baca teks (EPUB): OpenBTS: Yate Config Test

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. OpenBTS: Yate Config Test
  2. regfile.conf
  3. regexroute.conf
  4. regexroute.conf langsung untuk IMSI
  5. Beberapa Teknik Debugging
  6. Beberapa Teknik Routing Outgoing call yang GAGAL TOTAL
  7. Teknik Routing yang perlu di Test
  8. Referensi
  9. Pranala Menarik
  10. Persiapan
  11. Script
  12. OpenBTS 2.6
  13. OpenBTS 2.8
  14. Multi OpenBTS 2.8
  15. OpenBTS 3.1.x
  16. Ettus E110
  17. Ettus N210
  18. RangeNetworks
  19. GPRS
  20. Briker OpenBTS
  21. FreeSWITCH OpenBTS
  22. Power Amplifier
  23. Lain Lain
  24. Catatan Legal dan Pendukung
  25. Catatan Sejarah
  26. Dokumentasi Video
  27. Perjuangan OpenBTS

OpenBTS: Yate Config Test

Sumber: https://onnocenter.or.id/wiki/index.php/OpenBTS:_Yate_Config_Test

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:\[email protected]:5060
^021.*$=sip/sip:\[email protected]:5060

atau

${rtp_forward}^yes$^=;formats=${oformats}
^08.*$=sip/sip:\[email protected]:5061
^021.*$=sip/sip:\[email protected]: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/[email protected]:5062
^1111$=sip/[email protected]:5062
^1112$=sip/[email protected]: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:[email protected]:5061/08\1;tonedetect_out=yes
^08.*$=sip/sip:[email protected]:5061/\0
^021.*$=sip/sip:[email protected]:5061/\0
^021\(.*\)$=sip/sip:[email protected]: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:\[email protected]:5061 sip/sip:\[email protected]:5060;stoperror=busy
^021.*$=fork sip/sip:\[email protected]:5060 sip/sip:\[email protected]:5061;stoperror=busy
  • Coba Dial Satu-Satu, kalau gagal semua kirim busy tone
^08.*$=fork sip/sip:\[email protected]:5061 | sip/sip:\[email protected]:5060;stoperror=busy
^021.*$=fork sip/sip:\[email protected]:5060 | sip/sip:\[email protected]:5061;stoperror=busy
  • Coba dial satu-satu, beri selang 3 detik; terakhir kalau gagal kirim busy tone
^08.*$=fork sip/sip:\[email protected]:5061 |next=3000 sip/sip:\[email protected]:5060;stoperror=busy
^021.*$=fork sip/sip:\[email protected]:5060 |next=3000 sip/sip:\[email protected]:5061;stoperror=busy

Referensi

Pranala Menarik

Persiapan

Script

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

OpenBTS 3.1.x

Ettus E110

Ettus N210

RangeNetworks

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS