OpenBTS: Set SQLite parameter smqueue

From SpeedyWiki

Jump to: navigation, 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



Contents

[edit] 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 ..




[edit] Pranala Menarik

[edit] Persiapan

[edit] Script

[edit] OpenBTS 2.6

[edit] OpenBTS 2.8

[edit] Multi OpenBTS 2.8

[edit] OpenBTS 3.1.x

[edit] Ettus E110

[edit] Ettus N210

[edit] RangeNetworks

[edit] GPRS

[edit] Briker OpenBTS

[edit] FreeSWITCH OpenBTS

[edit] Power Amplifier

[edit] Lain Lain

[edit] Catatan Legal dan Pendukung

[edit] Catatan Sejarah

[edit] Dokumentasi Video

[edit] Perjuangan OpenBTS

Personal tools