From 3a8f58ec8946b7f1683208d1cc3b054486f12e6c Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 13 Dec 2010 09:22:49 +0100 Subject: Adding interface support for remote app (chan_lcr). chan_lcr can be handled as an interface. This way it is possible to (e.g.): - make a SIP phone become an LCR extension with all LCR features. - make conference calls. (untested) - perform parallel ringing. (ISDN phone and SIP phones can ring in parallel.) - do voice recoding. It is still also possible to link chan_lcr directly without interface (as before). Documentation/howto for that will follow. --- default/gsm.conf | 10 +--------- default/interface.conf | 14 ++++++++++++++ default/options.conf | 10 ++++++++++ 3 files changed, 25 insertions(+), 9 deletions(-) (limited to 'default') diff --git a/default/gsm.conf b/default/gsm.conf index 148513b..713a620 100644 --- a/default/gsm.conf +++ b/default/gsm.conf @@ -1,15 +1,7 @@ # 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 +# interfaces-bsc and interface-lcr has been moved to options.conf! # Enable debugging of OpenBSC library. # Refer to OpenBSC project for debugging options. diff --git a/default/interface.conf b/default/interface.conf index 6e19538..4c80fed 100644 --- a/default/interface.conf +++ b/default/interface.conf @@ -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..cb48ea7 100644 --- a/default/options.conf +++ b/default/options.conf @@ -120,3 +120,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 + -- cgit v1.2.3-55-g7522