OpenBTS: Yate Softswitch
Yate Install
Yate is a very flexible engine for routing messages. It's designed to run as everything from a large-scale SIP switch to an actual SIP client capable of running on a phone. The install is demonstrated Here.
To interoperate with OpenBTS, you'll need to install libgsm1-dev BEFORE building yate. Without this library installed, yate will not support the gsm codec and you will see the following message
<yrtp:WARN> Wrapper neither format nor payload specified [0x1b014b0]
To remedy this, install libgsm1-dev with the following command (on ubuntu)
sudo apt-get install libgsm1-dev
Then run the normal make/install scripts for yate.
make;make install
You can confirm the gsm codec was successfully installed by seeing if the file "modules/gsmcodec.yate" exists.
You'll also need to ensure that yate was installed in the default location. Make sure that /usr/local/share/yate/scripts exists.
Other Libraries
You'll need two libraries to route in yate. These are Python Messaging and libvbts. These follow the (well-established) python installation methodology.
Python Messaging:
sudo python setup.py install
libvbts:
sudo python setup_yate.py install
Yate Configuration
There are a few files that have to be changed to configure yate with OpenBTS. These files are located in /usr/local/etc/yate/
ysipchan.conf
ysipchan configures the sip module. We need to tell it to generate SIP MESSAGE events.
In the [general] section, add the following:
[general] maxpkt=4096 generate=yes
And, in the [methods] block, add the following:
[methods] message=yes
regexroute.conf
regexroute.conf controls the routing of specific packets. We use regexroute.conf to disable the authorization of messages.
In the [extras] block...
[extras] ;skipping auth step user.auth=20
And the actual routing rule at the end of the file. Note that this block doesn't exist yet, you'll have to add it:
[user.auth] .*=return true
extmodule.conf
extmodule.conf controls external yate modules. libvbts implements a number of these that support OpenBTS. You'll need to turn these on.
In the [scripts] block:
[scripts] VBTS_SMS_Route.py=50 VBTS_Call_Route.py=10 VBTS_Echo_SMS.py=10|vbts_tp_dest_address|^100$
These variables set the priority of the message handlers and/or the regex that cause the message to be handled.
OpenBTS configuration
There's only one openbts change required: You have to point OpenBTS at yate to cause it to handle messages. This is done from the OpenBTS command line:
config SIP.Proxy.SMS {YATE_IPADDRESS}:{YATE_PORT}
Yate Use
With the changes, yate should automatically route voice/sms messages. Some yate notes follow:
RManager
RManager is Yate's CLI engine. It allows for Yate to be controlled by a simple telnet client. RManager can be accessed by running the following command (assuming it's running on localhost):
telnet localhost 5038
Referensi
Pranala Menarik
Persiapan
- USRP: High Precision Clock
- USRP: Menyambungkan ClockTamer ke USRP1
- USRP: Kalibrasi ClockTamer
- USRP: ClockTamer Control Protocol
- USRP: Instalasi Board
- OpenBTS: GIT Source Code
- USRP: Rangkaian Board USRP
- OpenBTS: Tethr untuk Bencana Alam
OpenBTS 2.6
- GNURadio
- GNURadio: Ubuntu Install
- GNURadio: Menggunakan UHD
- GNURadio: Ubuntu Install GNURadio 3.4.2 RECOMMENDED
- GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz RECOMMENDED
- GNURadio: Contoh Aplikasi
- GNURadio: Spectrum Analizer GSM
- GNURadio: Mengubah board RFX1800 menjadi RFX900
- GNURadio: Programming Untuk Pemula
- OpenBTS: Ubuntu Install RECOMMENDED
- OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz RECOMMENDED
- OpenBTS: Konfigurasi RECOMMENDED
- OpenBTS: Kalibrasi
- OpenBTS: Konfigurasi Asterisk untuk OpenBTS RECOMMENDED
- OpenBTS: Menjalankan smqueue
- OpenBTS: Mengoperasikan BTS RECOMMENDED
- OpenBTS: Tampilan di Nokia saat pakai OpenBTS
- OpenBTS: Operasi 1800 MHz
- OpenBTS: Beberapa Tips
- OpenBTS: USRP2
- OpenBTS: Amplifier
- OpenBTS: SMS
- OpenBTS: Yate Softswitch
- AirProbe
OpenBTS 2.8
- GNURadio: Ubuntu 11.10 Install NOT RECOMMENED
- GNURadio: Ubuntu 11.10 instalasi menggunakan Repo NOT RECOMMENDED
- GNURadio: Download GNURadio
- GNURadio: Install UHD
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2 RECOMMENDED
- GNURadio: Ubuntu 12.04 Instal GNURadio 3.4.2 NOT RECOMMENDED
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.0 NOT RECOMMENDED
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.3.2 NOT RECOMMENDED
- GNURadio: Ubuntu 11.10 Instal GNURadio 3.6.0 NOT RECOMMENDED
- GNURadio: Ubuntu 11.10 Install dari GIT GNURadio NOT RECOMMENDED
- GNURadio: Ubuntu 11.10 cek USRP Daughter Board
- GNURadio: UHD
- GNURadio: UHD Image
- GNURadio: UHD Identifikasi Device
- OpenBTS: Ubuntu 11.10 Install
- OpenBTS: dari GIT ttsou
- OpenBTS: 2.8 dari SVN Install
- OpenBTS: 2.8 dari SVN Install Clock 52MHz RECOMMENDED
- OpenBTS: 2.8 Instalasi Real Time Asterisk RECOMMENDED
- OpenBTS: 2.8 Menjalankan RECOMMENDED
- OpenBTS: 2.8 Konfigurasi
- OpenBTS: 2.8 Konfigurasi Subscriber Registery
- OpenBTS: Database SQLite
Multi OpenBTS 2.8
Ettus E110
- OpenBTS: E110 Cara Login
- OpenBTS: E110 Install Image di MicroSD
- OpenBTS: E110 Cek Daughter Board
- OpenBTS: E110 Mengubah Master Clock
- OpenBTS: E110 Kalibrasi Clock
- OpenBTS: E110 Bekerja dengan opkg
- OpenBTS: E110 GNURadio
- OpenBTS: E110 Install UHD Image
- OpenBTS: E110 Instalasi OpenBTS
- OpenBTS: E110 Instalasi OpenBTS 2.6 NOT RECOMMENDED
Power Amplifier
Lain Lain
- OpenBTS: Materi Magang di ICTWATCH
- OpenBTS: Seminar Outline
- OpenBTS: Workshop Outline
- Membuat Base Station GSM Open Source
- Teknologi Selular
- GSM: Daftar Channel Frekuensi
- Wireless Internet
- OpenBSC
- AirProbe
- Base station subsystem
- GSM
- Asterisk
- Mobile phone
Catatan Legal dan Pendukung
- Siapa Bilang OpenBTS Ilegal?
- OpenBTS: Catatan MNC dan MCC Indonesia
- OpenBTS: Catatan MNC dan MCC COOL
- OpenBTS : Alokasi Frekuensi Operator GSM Indonesia
- GSM: Daftar Channel Frekuensi
Catatan Sejarah
- 2011/04/30 - Workshop OpenBTS Pertama di Indonesia dilakukan di Univ Gajah Putih Takengon Aceh Tengah
- OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan
- OpenBTS: Daftar Artikel di Media
Dokumentasi Video
- http://youtu.be/8ogOcUSpINU (1/6)
- http://youtu.be/F5d7HGuhppk (2/6)
- http://youtu.be/90Jgq6bOgrQ (3/6)
- http://youtu.be/cNkx_qNqdfc (4/6)
- http://youtu.be/6LCuoeI57ak (5/6)
- http://youtu.be/-dEqcHoIlYk (6/6)