Difference between revisions of "OpenBTS: 2.8 Konfigurasi Subscriber Registery"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 44: | Line 44: | ||
===Edit /etc/OpenBTS/OpenBTS.db=== | ===Edit /etc/OpenBTS/OpenBTS.db=== | ||
+ | |||
+ | [[Image:Sqlitestudio-openbtsdb1.png|center|200px|thumb]] | ||
+ | |||
+ | [[Image:Sqlitestudio-openbtsdb2.png|center|200px|thumb]] | ||
+ | |||
+ | |||
===Edit /etc/OpenBTS/smqueue.db=== | ===Edit /etc/OpenBTS/smqueue.db=== | ||
===Edit /etc/OpenBTS/sipauthserve.db=== | ===Edit /etc/OpenBTS/sipauthserve.db=== |
Revision as of 10:48, 25 June 2012
Sumber: http://wush.net/trac/rangepublic/wiki/P2.8Differences
Catatan Real-Time Asterisk
Di OpenBTS 2.8, kita tidak lagi menggunakan SIP registry internal Asterisk sebagi pengganti HLR. Kita menggunakan komponen baru yang dinamakan subscriber registry, yang berbasis pada database sqlite3 di /var/lob/asterisk/sqlite3dir/sqlite3.db. Database ini berisi tabel SIP user registration dan call routing dalam konfigurasi realtime asterisk. Ada tiga implikasi penting:
- OpenBTS tidak dapat lagi melakukan pertukaran SIP REGISTER secara langsung dengan Asterisk. Akan tetapi, SIP REGISTER methods akan dikirim ke server baru yang dinamakan sipauthserver, SIP interface dari subscriber registry.
- OpenBTS handset tidak dapat lagi di provision oleh Asterisk melalui /etc/asterisk/sip.conf. AKan tetapi, OpenBTS handset harus di provision subscriber registry. Jika tidak, maka Asterisk tidak akan mengetahui IP address dari handset.
- Konfigurasi dialplan sekarang menggunakan database lookup secara explisit melalui interface ODBC untuk melakukan call routing, contoh:
[phones] ; This is the context for handsets provisioned through the realtime database. ; This assumes that OpenBTS units all are running their SIP interfaces on port 5062. exten => _N.,1,Set(Name=${ODBC_SQL(select dial from dialdata_table where exten = \"${EXTEN}\")}) exten => _N.,n,GotoIf($["${Name}" = ""] ?outbound-trunk,${EXTEN},1) exten => _N.,n,Set(IPAddr=${ODBC_SQL(select ipaddr from sip_buddies where name = \"${Name}\")}) exten => _N.,n,GotoIf($["${IPAddr}" = ""] ?outbound-trunk,${EXTEN},1) exten => _N.,n,Dial(SIP/${Name}@${IPAddr}:5062)
Beberapa SQLite database penting
Beberapa file SQLite database yang penting
/etc/OpenBTS/OpenBTS.db /etc/OpenBTS/smqueue.db /etc/OpenBTS/sipauthserve.db /var/lib/asterisk/sqlite3dir/sqlite3.db
Edit Menggunakan SQLite Database Browser
Langkah yang perlu dilakukan
- Instalasi SQLite Database Browser
- Jalankan
sudo su /usr/local/src/sqlitebrowser/sqlitestudio/sqlitestudio
Edit /etc/OpenBTS/OpenBTS.db
Edit /etc/OpenBTS/smqueue.db
Edit /etc/OpenBTS/sipauthserve.db
Edit /var/lib/asterisk/sqlite3dir/sqlite3.db
Manajemen Subscriber Registry via Web
WARNING: Cara ini masih gagal total
Jika kita perhatikan baik-baik source code OpenBTS maka ada srmanager.cgi di
/usr/local/src/openbts/subscriberRegistry/trunk/srmanager.cgi
Ini dapat ditampilkan ke web dengan mengarahkan konfigurasi cgi-bin apache
Edit
vi /etc/apache2/sites-enabled/000-default
ScriptAlias /cgi/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>
Buat link
cd /usr/lib/cgi-bin/ ln -s /usr/local/src/openbts/subscriberRegistry/trunk/srmanager.cgi
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
- 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 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
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