Difference between revisions of "OpenBTS: RangeNetwork Yate Compile"

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
  http://yate.null.ro/pmwiki/index.php?n=Main.Download
 
  http://yate.null.ro/pmwiki/index.php?n=Main.Download
  http://yate.null.ro/tarballs/yate5/yate-5.0.0-1.tar.gz  
+
  http://voip.null.ro/tarballs/yate5/yate-5.4.0-1.tar.gz
 +
 
 +
Bisa melalui shell
  
 
  cd /usr/local/src
 
  cd /usr/local/src
  wget http://yate.null.ro/tarballs/yate5/yate-5.0.0-1.tar.gz
+
  wget http://voip.null.ro/tarballs/yate5/yate-5.4.0-1.tar.gz
 
 
  
 
==Compile & Install Yate==
 
==Compile & Install Yate==
  
  cp yate-5.0.0-1.tar.gz /usr/local/src/
+
  cp yate-5.4.0-1.tar.gz /usr/local/src/
 
  cd /usr/local/src/
 
  cd /usr/local/src/
  tar zxvf yate-5.0.0-1.tar.gz  
+
  tar zxvf yate-5.4.0-1.tar.gz  
 
  cd /usr/local/src/yate
 
  cd /usr/local/src/yate
 
  ./configure
 
  ./configure
Line 78: Line 79:
 
  message=yes
 
  message=yes
  
===regexroute.conf===
 
 
regexroute.conf control routing dari paket tertentu. Kita menggunakan regexroute.conf untuk mematikan authorization of messages.
 
 
vi /usr/local/etc/yate/regexroute.conf
 
 
dalam blok [extra]
 
 
[extra]
 
;skipping auth step
 
user.auth=20
 
 
tambahkan
 
  
[user.auth]
 
.*=return true
 
  
 
===extmodule.conf===
 
===extmodule.conf===
Line 215: Line 201:
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Set SQLite Subscriber Registry secara manual]]
 
* [[OpenBTS: Set SQLite Subscriber Registry secara manual]]
 +
* [[OpenBTS: Set SQLite parameter smqueue]]
 
* [[OpenBTS: FreeSWITCH]]
 
* [[OpenBTS: FreeSWITCH]]
  
Line 221: Line 208:
 
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
 
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
 +
* [[Multi OpenBTS: Catatan BSIC=NCC+BCC]]
 +
* [[Multi OpenBTS: Catatan Frekuensi Planning di GSM]]
 +
* [[Multi OpenBTS: Catatan BTS Color Code BCC di GSM]]
 +
* [[Multi OpenBTS: Catatan Network Color Code NCC di GSM]]
 +
* [[Multi OpenBTS: Catatan BCCH]]
 +
* [[Multi OpenBTS: Catatan Public Land Mobile Network PLMN]]
  
 
===OpenBTS 3.1.x===
 
===OpenBTS 3.1.x===
Line 262: Line 255:
  
 
* [[OpenBTS: RangeNetwork Foto]]
 
* [[OpenBTS: RangeNetwork Foto]]
 +
* [[OpenBTS: RangeNetwork menggunakan USB recovery image]]
 
* [[OpenBTS: RangeNetwork Default Setting]]
 
* [[OpenBTS: RangeNetwork Default Setting]]
 +
* [[OpenBTS: RangeNetwork Instalasi UHD]]
 
* [[OpenBTS: RangeNetwork Compile GNURadio UHD]]
 
* [[OpenBTS: RangeNetwork Compile GNURadio UHD]]
 
* [[OpenBTS: RangeNetwork Compile]]
 
* [[OpenBTS: RangeNetwork Compile]]
* [[OpenBTS: RangeNetwork Compile OpenBTS 3.1.3]] '''*RECOMMENDED*'''
+
* [[OpenBTS: RangeNetwork Compile OpenBTS 2.8.0]]
 +
* [[OpenBTS: RangeNetwork Compile OpenBTS 3.1.3]]
 
* [[OpenBTS: RangeNetwork Yate Compile]] '''*RECOMMENDED*'''
 
* [[OpenBTS: RangeNetwork Yate Compile]] '''*RECOMMENDED*'''
 
* [[OpenBTS: RangeNetwork Web Interface]]
 
* [[OpenBTS: RangeNetwork Web Interface]]
 
* [[OpenBTS: RangeNetwork Trunk ke Asterisk Lain]]
 
* [[OpenBTS: RangeNetwork Trunk ke Asterisk Lain]]
 +
* [[OpenBTS: RangeNetwork Audit]]
 
* [[VoIP: Trunk]]
 
* [[VoIP: Trunk]]
  

Latest revision as of 11:42, 7 August 2014

Instalasi Pendukung

apt-get update
sudo apt-get install build-essential autoconf cvs sox pkg-config git-core subversion \
libgsm1-dev libgsm1 php5-cli python-setuptools

Download Yate

Source Code Yate dapat di ambil dari

http://yate.null.ro/pmwiki/index.php?n=Main.Download
http://voip.null.ro/tarballs/yate5/yate-5.4.0-1.tar.gz

Bisa melalui shell

cd /usr/local/src
wget http://voip.null.ro/tarballs/yate5/yate-5.4.0-1.tar.gz

Compile & Install Yate

cp yate-5.4.0-1.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxvf yate-5.4.0-1.tar.gz 
cd /usr/local/src/yate
./configure
make
make install

Library Lain

Siapkan smspdu

Lakukan

sudo apt-get install python-pip
sudo pip install smspdu

Install script dari Kurtis Heilmerl

Pastikan anda mempunyai sambungan ke Internet yang baik.

Kita memerlukan dua library untuk melakukan routing di yate, yaitu:

Proses instalasi yang perlu dilakukan adalah,

cd /usr/local/src
git clone https://github.com/pmarti/python-messaging.git
cd python-messaging
sudo python setup.py install
git clone https://github.com/kheimerl/libvbts.git
cd libvbts
sudo python setup.py install
sudo python setup_yate.py install

Yate Configuration

Ada beberapa file yang perlu di ubah untuk mengkonfigurasi yate dengan OpenBTS. File ini berlokasi di /usr/local/etc/yate/

ysipchan.conf

ysipchan mengkonfigurasi sip module. Kita perlu memberitahukan yate untuk membuat SIP MESSAGE event.

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

Di bagian [general], tambahkan :

[general]
maxpkt=4096
generate=yes

dan, di blok [methods], tambahkan :

[methods] 
message=yes


extmodule.conf

extmodule.conf mengontrol external modul yate. libvbts mengimplementasi beberapa hal yang dibutuhkan untuk operasi OpenBTS. Kita perlu mengaktif module tersebut, dengan mengedit

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

Pada block [scripts] isi:

[scripts]
;sip.message handlers
VBTS_SMS_Provisioning.py=5
VBTS_SMS_Echo.py=10|vbts_tp_dest_address|^100$
VBTS_SMS_Route.py=50

;call.route handlers
VBTS_Route_Provisioning.py=5
VBTS_Route_Local.py=10

Variabel ini menset prioritas penanganan message dan / atau regex yang menyebabkan bagaimana cara message di tangani.



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 Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS