summaryrefslogtreecommitdiffstats
path: root/default
diff options
context:
space:
mode:
authorAndreas Eversberg2010-05-31 18:45:02 +0200
committerAndreas Eversberg2010-05-31 18:45:02 +0200
commita12d7eee22a72f4c999535892763dde15212e89e (patch)
tree32e20ad128c8bba3c80441ca771da8aa0c4fd5f2 /default
parentFixed LCR to work with the current API of OpenBSC. (diff)
downloadlcr-a12d7eee22a72f4c999535892763dde15212e89e.tar.gz
lcr-a12d7eee22a72f4c999535892763dde15212e89e.tar.xz
lcr-a12d7eee22a72f4c999535892763dde15212e89e.zip
Splitted GSM support into BS (network) and MS (mobile) part.
Diffstat (limited to 'default')
-rw-r--r--default/gsm.conf23
-rw-r--r--default/interface.conf23
2 files changed, 27 insertions, 19 deletions
diff --git a/default/gsm.conf b/default/gsm.conf
index d0a9c6f..148513b 100644
--- a/default/gsm.conf
+++ b/default/gsm.conf
@@ -1,20 +1,21 @@
# LCR GSM options
#################
-# 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
-
# 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.
+# 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
@@ -32,16 +33,6 @@
# Warning: Keeping layer 2 link may prevent emergency calls. (See below)
#keep-l2
-# Shutdown on emergency calls:
-# This option will prevent a shutdown if an emergency call is received. In
-# case of an emergency, a mobile phone may log onto you GSM network and may
-# use it to set up an emergency call.
-# The received emergency call will have 'emergency' as dialed number. But this
-# number can't be dialed on PSTN networks without chaning.
-# If you disable shutdown, be sure to provide routing of emergency calls to
-# emergency facility. If you can't do that, don't touch it!
-#no-emergency-shutdown
-
# Write BTS-Link traffic to PCAP file.
#pcapfile pcap
diff --git a/default/interface.conf b/default/interface.conf
index 6bbd6ec..6e19538 100644
--- a/default/interface.conf
+++ b/default/interface.conf
@@ -156,14 +156,14 @@
#nt
-# A special case for GSM interface.
+# A special case for GSM Network interface.
# Don't remove/change the settings, they will cause undefined behaviour
# of LCR. The actual interface is defined in gsm.conf.
-# You may add 'extension' and 'mns' keywords to turn all your subscribers
+# You may add 'extension' and 'msn' keywords to turn all your subscribers
# in you GSM network to internal 'extensions'.
# The MSN numbers will equal the subscriber number.
#[GSM]
-#gsm
+#gsm-bs
#nt
#layer1hold no
#layer2hold no
@@ -174,6 +174,23 @@
#nodtmf
+# A special case for GSM Mobile Station interface.
+# give "gsm-ms <name of mobile> <layer 2 socket to layer 1>".
+# Don't remove/change the settings, they will cause undefined behaviour
+# 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
+#layer1hold no
+#layer2hold no
+#tones no
+#earlyb yes
+#channel-in free
+#channel-out any
+#nodtmf
+##external
+
+
# Hint: Enter "lcr interface" for quick help on interface options.