OpenBTS: Menjalankan smqueue

From OnnoWiki
Jump to navigation Jump to search

Disable IPv6

Matikan IPv6 supaya smqueue tidak complain binding the alamat IPv6. Caranya dengan mengedit file /etc/default/grub

gksudo gedit  /etc/default/grub

Ubah

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

menjadi

GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”

Save dan exit. Update grub mengunakan perintah

sudo update-grub

Edit Konfigurasi smqueue

Copy smqueue.config.example ke smqueue.config

cd /usr/local/src/openbts-2.6.0Mamou/smqueue/
cp smqueue.config.example smqueue.config

Konfigurasi smqueue berada di ./smqueue/smqueue.config. Tambahkan sedikit di smqueue.config agar:

vi /usr/local/src/openbts-2.6.0Mamou/smqueue/smqueue.config

tambahkan supaya tidak crash waktu mengirim SMS registrasi

Log.Alarms.Max 10

buat savedqueue.txt di directory ./smqueue

touch /usr/local/src/openbts-2.6.0Mamou/smqueue/savedqueue.txt

Jalankan smqueue

Jalankan smqueue

sudo su
cd /usr/local/src/openbts-2.6.0Mamou/smqueue/
./smqueue &

Akan keluar kira-kira

1296968828.6030 INFO 3077809872 smnet.cpp:319:listen_on_port: Listening at address '0.0.0.0:5063'.
1296968828.6045 INFO 3077809872 smqueue.cpp:2222:main: My own IP address is configured as 127.0.0.1
1296968828.6045 INFO 3077809872 smqueue.cpp:2223:main: The HLR registry is at 127.0.0.1:5060
1296968828.6046 INFO 3077809872 smqueue.cpp:2110:read_queue_from_file: === Read 0 messages total, 0 bad ones.
1296968828.6047 INFO 3077809872 smqueue.cpp:2230:main: Queue contains 0 msgs.
1296968828.6048 INFO 3077809872 smqueue.cpp:1852:main_loop: === Feb  6 12:07:08 0 queued; waiting.

Pranala Menarik

Persiapan

Script


OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

Ettus N210

RangeNetworks

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS