OpenBTS: Set SQLite parameter smqueue

From OnnoWiki
Revision as of 13:17, 16 February 2016 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Edit

sqlite3 /etc/OpenBTS/smqueue.db

kemudian ketik misalnya

DELETE from "CONFIG" where KEYSTRING = 'SC.Register.Digits.Max';
INSERT INTO "CONFIG" VALUES('SC.Register.Digits.Max','12',0,0,'The maximum number of digits a phone number can have.');
DELETE from "CONFIG" where KEYSTRING = 'SC.Register.Digits.Min';
INSERT INTO "CONFIG" VALUES('SC.Register.Digits.Min','4',0,0,'The minimum number of digits a phone number must have.');
DELETE from "CONFIG" where KEYSTRING = 'SIP.myIP2';
INSERT INTO "CONFIG" VALUES('SIP.myIP2','192.168.0.22',0,0,'The external IP address that is communciated to the SIP endpoints.');
DELETE from "CONFIG" where KEYSTRING = 'SC.Register.Digits.Override';
INSERT INTO "CONFIG" VALUES('SC.Register.Digits.Override','1',0,0,'1=enabled, 0=disabled - Ignore phone number digit length checks.');
.exit



Melalui Web

masuk ke web

klik configuration > smqueue configuration > routing > SIPmyIP2

isi dengan IP address LAN OpenBTS-nya

pastikan cuma ada satu IP LAN di OpenBTS

ssh openbts@192.168.0.xx
sudo su
cd /etc/network
nano interfaces


Pastikan cuma ini yang di set

# The primary network interface
auto eth0
iface eth0 inet static
        pre-up iptables-restore < /etc/OpenBTS/iptables.rules
        address 192.168.0.23
        netmask 255.255.252.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 192.168.0.23

jangan di set eth0:1 eth0:2 dsb ..




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