Add sms_db param and sms() shell function
This commit is contained in:
parent
d5b67e7b63
commit
30bc66ca71
5 changed files with 11 additions and 3 deletions
|
@ -10,7 +10,7 @@ JB_in = '<%= @jb_in %>'
|
|||
JB_out = '<%= @jb_out %>'
|
||||
|
||||
rhizomatica_dir = '<%= @rhizomatica_dir %>'
|
||||
sq_hlr_path = '<%= @sq_hlr_path %>'
|
||||
sq_hlr_path = '<%= @hlr_db %>'
|
||||
use_sip = '<%= @use_sip %>'
|
||||
advice_email = <%= @advice_email %>
|
||||
test_playback = '<%= @test_playback %>'
|
||||
|
|
|
@ -66,6 +66,7 @@ network
|
|||
rrlp mode none
|
||||
mm info 1
|
||||
msc
|
||||
sms-database <%= @sms_db %>
|
||||
mncc external /tmp/bsc_mncc
|
||||
mncc guard-timeout 180
|
||||
ncss guard-timeout 30
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
# Shell Functions for Rhizomatica Community Celular Network
|
||||
#
|
||||
|
||||
OSMO_HLR="<%= @sq_hlr_path %>"
|
||||
OSMO_HLR="<%= @hlr_db %>"
|
||||
OSMO_SMS="<%= @sms_db %>"
|
||||
DID="<%= @voip_did %>"
|
||||
|
||||
waitfor0calls () {
|
||||
|
@ -43,6 +44,10 @@ hlr() {
|
|||
sudo /usr/bin/sqlite3 -column -header $OSMO_HLR
|
||||
}
|
||||
|
||||
sms() {
|
||||
sudo /usr/bin/sqlite3 -column -header $OSMO_SMS
|
||||
}
|
||||
|
||||
tl() {
|
||||
if [ "$1" == "" ] ; then
|
||||
tail -f /var/log/rccn/*log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue