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

From OnnoWiki
Jump to navigation Jump to search
Line 12: Line 12:
 
  DELETE from "CONFIG" where KEYSTRING = 'SIP.myIP2';
 
  DELETE from "CONFIG" where KEYSTRING = 'SIP.myIP2';
 
  INSERT INTO "CONFIG" VALUES('SIP.myIP2','192.168.0.23',0,0,'The external IP address that is communciated to the SIP endpoints.');
 
  INSERT INTO "CONFIG" VALUES('SIP.myIP2','192.168.0.23',0,0,'The external IP address that is communciated to the SIP endpoints.');
 +
 +
 +
 +
===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 ..
 +
 +
 +
  
  

Revision as of 06:50, 17 June 2014

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 = 'SIP.myIP2';
INSERT INTO "CONFIG" VALUES('SIP.myIP2','192.168.0.23',0,0,'The external IP address that is communciated to the SIP endpoints.');


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