summaryrefslogtreecommitdiffstats
path: root/default
diff options
context:
space:
mode:
Diffstat (limited to 'default')
-rw-r--r--default/gsm.conf39
-rw-r--r--default/interface.conf16
-rw-r--r--default/options.conf15
3 files changed, 27 insertions, 43 deletions
diff --git a/default/gsm.conf b/default/gsm.conf
deleted file mode 100644
index 148513b..0000000
--- a/default/gsm.conf
+++ /dev/null
@@ -1,39 +0,0 @@
-# LCR GSM options
-#################
-
-# Two Loopback interfaces for audio transfer between OpenBSC and mISDN.
-# They are also used for any Osmocom-BB interface, if exists.
-# The first interface must provide B-channelis for each call mobile call.
-# The seond interface links them to LCR.
-# Use 30 B-channels unless you need more due to many TRXs or mobile stations.
-# -> Load with: "modprobe mISDN_l1loop pri=1 nchannel=30"
-# By default "mISDN_l1loop.1" and "mISDN_l1loop.2" is used.
-#interface-bsc mISDN_l1loop.1
-#interface-lcr mISDN_l1loop.2
-
-# Enable debugging of OpenBSC library.
-# Refer to OpenBSC project for debugging options.
-# By default, debugging is turned off.
-#debug DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNCC:DMNSMS:DPAG:DMUX:DMEAS
-
-# Give openbsc.cnf config file
-# It will be located at /usr/local/lcr by default.
-#config openbsc.cfg
-
-# Give database of Home Location Register (HLR)
-# HLR stores all subscribers. It will be used to grant access to the network.
-# It is an Sqlite3 database. Refer to OpenBSC project for handling.
-# The database is located at /usr/local/lcr by default.
-#hlr hlr.sqlite3
-
-# To keep layer 2 connection to BS11 when quitting, use this option.
-# It is only usefull for developing. TRX will stay on.
-# Also changes in frequency, mcc, mnc, lac while keeping layer 2 will cause
-# malefunction of BSC.
-# Warning: Keeping layer 2 link may prevent emergency calls. (See below)
-#keep-l2
-
-# Write BTS-Link traffic to PCAP file.
-#pcapfile pcap
-
-
diff --git a/default/interface.conf b/default/interface.conf
index 6e19538..004df59 100644
--- a/default/interface.conf
+++ b/default/interface.conf
@@ -180,7 +180,7 @@
# of LCR. The actual interface is defined in gsm.conf.
# You may add 'extern' to make this interface the external line by default.
#[GSM]
-#gsm-ms 1 /tmp/osmocom_l2
+#gsm-ms 1
#layer1hold no
#layer2hold no
#tones no
@@ -191,6 +191,20 @@
##external
+# Use chan_lcr (Asterisk PBX interface) as internal interface.
+# The interface requires mISDN_l1loop.ko to be loaded:
+# modprobe mISDN_l1loop nchannel=8 # use up to 8 b-channels
+# The caller ID is used as extension, if "extension" parameter is given.
+# Use "screen-in % xxx" to modify any caller id to xxx.
+# An internal extension does not receive tones ("earlyb"), but sends them.
+#[ast]
+#remote asterisk
+#extension
+##screen-in % 209
+#earlyb no
+#tones yes
+
+
# Hint: Enter "lcr interface" for quick help on interface options.
diff --git a/default/options.conf b/default/options.conf
index e0e93a0..d1f4d6b 100644
--- a/default/options.conf
+++ b/default/options.conf
@@ -105,9 +105,8 @@
#socketgroup asterisk
# Enable GSM network capability.
-# This option turns LCR into a GSM network. Additional options are specified
-# in 'gsm.conf'. You also need openbsc at compile time and of yourse -
-# a base station transceiver. For more refer to LCR home page.
+# This option turns LCR into a GSM network.
+# For more refer to LCR home page and the OpenBSC page.
#
# !!! DANGER !!!
# Running a GSM network may disturb other networks and may be prossecuted by
@@ -120,3 +119,13 @@
# Enable polling in main loop.
# This feature is temporarily for test purpose. Don't enable it
#polling
+
+# Two Loopback interfaces for audio transfer between GSM/Asterisk and mISDN.
+# The first interface must provide B-channels for each GSM call or channel
+# instance, the seond interface links them to LCR.
+# Use 30 B-channels unless you need more due to more instances.
+# -> Load with: "modprobe mISDN_l1loop pri=1 nchannel=30"
+# By default "mISDN_l1loop.1" and "mISDN_l1loop.2" is used.
+#loopback-ext mISDN_l1loop.1
+#loopback-lcr mISDN_l1loop.2
+