Difference between revisions of "OpenBTS: Set SQLite parameter smqueue"

From OnnoWiki
Jump to navigation Jump to search
 
Line 53: Line 53:
  
 
jangan di set eth0:1 eth0:2 dsb ..
 
jangan di set eth0:1 eth0:2 dsb ..
 +
 +
==iptables==
 +
 +
Pastikan interface di iptables benar di Ubuntu 16.04 enp0s4
 +
 +
# Generated by iptables-save v1.4.4
 +
*nat
 +
:PREROUTING ACCEPT [0:0]
 +
:POSTROUTING ACCEPT [0:0]
 +
:OUTPUT ACCEPT [0:0]
 +
-A POSTROUTING -o enp0s4 -j MASQUERADE
 +
COMMIT
 +
# Generated by iptables-save v1.4.4
 +
*filter
 +
:INPUT ACCEPT [0:0]
 +
:FORWARD ACCEPT [0:0]
 +
:OUTPUT ACCEPT [0:0]
 +
COMMIT
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 19:38, 7 April 2017

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.21',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.21
        netmask 255.255.252.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.223
        dns-nameservers 8.8.8.8

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

iptables

Pastikan interface di iptables benar di Ubuntu 16.04 enp0s4

# Generated by iptables-save v1.4.4
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A POSTROUTING -o enp0s4 -j MASQUERADE
COMMIT
# Generated by iptables-save v1.4.4
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT

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