8 years agoUse AC_CHECK_TYPE and correct quoting for Asterisk struct checks, and add
Janis Ruksans [Thu, 28 Jun 2012 05:59:48 +0000 (07:59 +0200)]
Use AC_CHECK_TYPE and correct quoting for Asterisk struct checks, and add
case for ind_tone_zone_sound (Asterisk 1.6.0).

Signed-off-by: Andreas Eversberg <>
8 years agoChanges needed for Asterisk TRUNK 357721
Birger Harzenetter [Sun, 24 Jun 2012 06:33:59 +0000 (08:33 +0200)]
Changes needed for Asterisk TRUNK 357721

8 years agoFixed typo
Birger Harzenetter [Sun, 17 Jun 2012 07:35:30 +0000 (09:35 +0200)]
Fixed typo

8 years agoAdds screening of redirecting number
Birger Harzenetter [Sat, 16 Jun 2012 07:52:48 +0000 (09:52 +0200)]
Adds screening of redirecting number

8 years ago[SIP] Allow setting local port for SIP interface
Andreas Eversberg [Sun, 20 May 2012 15:45:56 +0000 (17:45 +0200)]
[SIP] Allow setting local port for SIP interface

8 years agoOnly receive RTP audio data, if connected to remote.
Andreas Eversberg [Sun, 20 May 2012 14:37:27 +0000 (16:37 +0200)]
Only receive RTP audio data, if connected to remote.

8 years agoFixed reloading of interfaces with SIP support
Andreas Eversberg [Sun, 20 May 2012 14:36:06 +0000 (16:36 +0200)]
Fixed reloading of interfaces with SIP support

SIP instance is now moved to new interface list at is should be.

8 years agoChanges for Asterisk TRUNK r357721
Birger Harzenetter [Tue, 17 Apr 2012 10:56:49 +0000 (12:56 +0200)]
Changes for Asterisk TRUNK r357721

Signed-off-by: Andreas Eversberg <>
9 years agoFixed compiling issues when enabling GSM MS side support.
Andreas Eversberg [Sun, 25 Mar 2012 14:41:14 +0000 (16:41 +0200)]
Fixed compiling issues when enabling GSM MS side support.

9 years agoAllow to define MS side GSM interface again
Andreas Eversberg [Sun, 25 Mar 2012 14:40:24 +0000 (16:40 +0200)]
Allow to define MS side GSM interface again

9 years agoBearer Capability is mandatory in CALL CONF. message, if not in SETUP.
Andreas Eversberg [Sun, 25 Mar 2012 14:38:43 +0000 (16:38 +0200)]
Bearer Capability is mandatory in CALL CONF. message, if not in SETUP.

9 years agoWhen socket to LCR is closed, the test call must be released
Andreas Eversberg [Sun, 25 Mar 2012 14:36:19 +0000 (16:36 +0200)]
When socket to LCR is closed, the test call must be released

9 years agoSIP: Adding echo test to do delay test on incomming SIP calls
Andreas Eversberg [Fri, 16 Mar 2012 03:58:23 +0000 (04:58 +0100)]
SIP: Adding echo test to do delay test on incomming SIP calls

9 years agoAdded support for all GSM codecs to GSM and SIP interface
Andreas Eversberg [Thu, 8 Mar 2012 13:44:17 +0000 (14:44 +0100)]
Added support for all GSM codecs to GSM and SIP interface


9 years agoRemoved obsolete #include directive.
Andreas Eversberg [Thu, 8 Mar 2012 06:05:15 +0000 (07:05 +0100)]
Removed obsolete #include directive.

9 years agoMake chan_lcr compile with latest Asterisk.
Birger Harzenetter [Thu, 1 Mar 2012 07:47:13 +0000 (08:47 +0100)]
Make chan_lcr compile with latest Asterisk.

9 years agoFixed chan_lcr unload bug, found by Patrick
Andreas Eversberg [Thu, 1 Mar 2012 07:40:28 +0000 (08:40 +0100)]
Fixed chan_lcr unload bug, found by Patrick

9 years agoMake appbridge.cpp compile, even without mISDN support.
Alexander Huemer [Thu, 1 Mar 2012 06:51:26 +0000 (07:51 +0100)]
Make appbridge.cpp compile, even without mISDN support.

9 years agoFixed release of relations between bridge and interface instances (ports)
Andreas Eversberg [Tue, 21 Feb 2012 17:03:43 +0000 (18:03 +0100)]
Fixed release of relations between bridge and interface instances (ports)

9 years agoAdded support to chan_lcr for Asterisk version > 10
Wimpy [Tue, 21 Feb 2012 10:42:20 +0000 (11:42 +0100)]
Added support to chan_lcr for Asterisk version > 10

9 years agoAdded support of mISDN to direct bridge feature
Andreas Eversberg [Tue, 21 Feb 2012 10:32:31 +0000 (11:32 +0100)]
Added support of mISDN to direct bridge feature

Now it is possible to directly bridge:

- GSM with SIP
- GSM with ISDN
- SIP with ISDN

9 years agoAllow setting IP:port for peers of SIP interfaces.
Andreas Eversberg [Sat, 18 Feb 2012 08:50:43 +0000 (09:50 +0100)]
Allow setting IP:port for peers of SIP interfaces.

9 years agoUse dynamic RTP payload types starting from 96
Andreas Eversberg [Sat, 18 Feb 2012 08:49:57 +0000 (09:49 +0100)]
Use dynamic RTP payload types starting from 96

9 years agoAllow dynamic RTP payload types when bridging between SIP and OpenBSC.
Andreas Eversberg [Fri, 17 Feb 2012 14:38:54 +0000 (15:38 +0100)]
Allow dynamic RTP payload types when bridging between SIP and OpenBSC.

Because EFR/AMR/HR codecs use dynamic RTP payload types, it is essential
to forward the actual media types between endpoints too. These media
types are used for negotiation of codecs. A dynamic payload type is
used as given by remote peer. Locally generated payload types are used
when offering codecs to remote peer.

9 years agoSIP: minor fixes
Andreas Eversberg [Fri, 17 Feb 2012 11:31:54 +0000 (12:31 +0100)]
SIP: minor fixes

9 years agoBump version to 1.12
Andreas Eversberg [Sun, 5 Feb 2012 19:30:48 +0000 (20:30 +0100)]
Bump version to 1.12

9 years agoautoconf: Fixed detection of mISDN headers
Andreas Eversberg [Sat, 4 Feb 2012 06:43:36 +0000 (07:43 +0100)]
autoconf: Fixed detection of mISDN headers

9 years agoAdding negotiation of speech codecs between GSM and SIP when using rtp-bridge
Andreas Eversberg [Wed, 1 Feb 2012 16:52:36 +0000 (17:52 +0100)]
Adding negotiation of speech codecs between GSM and SIP when using rtp-bridge

Since LCR does not put hands on any RTP frame when directly bridged between
OpenBSC and SIP, it will now allow all speech codecs that are commonly supported
by MS and remote SIP endpoint.

It must be noted that OpenBSC must support forwarding the codec types that
MS and remote SIP endpoints support.

Currently LCR negotiates the following codecs for GSM:
- Full Rate
- Half Rate

9 years agoDisabled NUTAG_AUTO100, Entering PROCEEDING state after sending INVITE
Andreas Eversberg [Fri, 27 Jan 2012 07:35:55 +0000 (08:35 +0100)]
Disabled NUTAG_AUTO100, Entering PROCEEDING state after sending INVITE

This also includes unfinished overlap dialing code.

9 years agoAdding switch to compile LCR without mISDN support
Andreas Eversberg [Fri, 27 Jan 2012 06:27:52 +0000 (07:27 +0100)]
Adding switch to compile LCR without mISDN support


Otherwise it will be enable automatically, if mISDN user is installed.

9 years agoGSM now receives tones during bridge
Andreas Eversberg [Sat, 21 Jan 2012 16:50:45 +0000 (17:50 +0100)]
GSM now receives tones during bridge

If a bridge is enabled, tones (e.g. hangup tone) will have priority
over the bridge. The bridge will continue to forward audio, after
tone is removed. (e.g after beeing on hold music)

9 years agoAdding handling of bad GSM audio frames
Andreas Eversberg [Fri, 20 Jan 2012 19:28:55 +0000 (20:28 +0100)]
Adding handling of bad GSM audio frames

In this case the frame is dropped, but audio of the last frame is repeated
with a reduced level. The level is reduced again an again until a new
valid frame is received. This way there is no silent gap in the audio

9 years agoFixed dead pointer problem when handling interfaces
Andreas Eversberg [Fri, 20 Jan 2012 09:05:41 +0000 (10:05 +0100)]
Fixed dead pointer problem when handling interfaces

In order to get the pointer to the currently existing interface, a
new function is used, to resolve interface by name.

9 years agoMinor fix in interface.conf example
Andreas Eversberg [Fri, 20 Jan 2012 09:05:17 +0000 (10:05 +0100)]
Minor fix in interface.conf example

9 years agoAdding TX-dejitter feature for briged data to mISDN
Andreas Eversberg [Fri, 20 Jan 2012 07:58:27 +0000 (08:58 +0100)]
Adding TX-dejitter feature for briged data to mISDN

In case there is data bridged to an mISDN port, the TX-dejitter feature
is enabled in the kernel, to keep the delay at a minimum.

9 years agoCorrectly control brige in case of mISDN
Andreas Eversberg [Fri, 20 Jan 2012 07:56:51 +0000 (08:56 +0100)]
Correctly control brige in case of mISDN

If all ends in a call use mISDN, the bridging is done by mISDN itself.
If one end of a call is not mISDN and there are two parties, the
traffic is bridged via LCR.

9 years agoFixed audio bridge to mISDN ports
Andreas Eversberg [Thu, 19 Jan 2012 08:44:48 +0000 (09:44 +0100)]
Fixed audio bridge to mISDN ports

Audio must be bridged, even if the call is not connected, but if
audio data is already available.

9 years agoFixed 'earlyb' handling
Andreas Eversberg [Thu, 19 Jan 2012 08:14:58 +0000 (09:14 +0100)]
Fixed 'earlyb' handling

mISDN-TE ports receive audio patterns by default again.

9 years agoAdding simple bridge application to forward calls without PBX app.
Andreas Eversberg [Mon, 16 Jan 2012 08:14:22 +0000 (09:14 +0100)]
Adding simple bridge application to forward calls without PBX app.

Call received on an interface can directly be forwarded to a given
destination interface, instead of routing the call through PBX
application. This way calls can be forwarded without going through

Currently only SIP and GSM destinations are supported. Also there
are no tones generated, if one side provides no tones, but the
other wants to receive them.

The keyword "bridge <output interface>" in interface.conf is used.
Without that keyword, incomming calls are handled as usual.

9 years agoForward DTMF as message directly from GSM BS to SIP.
Andreas Eversberg [Sun, 15 Jan 2012 09:51:58 +0000 (10:51 +0100)]
Forward DTMF as message directly from GSM BS to SIP.

In case rtp-bridge is used, tones cannot be generated. Instead,
a message is forwarded to SIP endpoint, so it generates it itself.

9 years agoAdded bridgin support for GSM and SIP
Andreas Eversberg [Sun, 15 Jan 2012 08:42:35 +0000 (09:42 +0100)]
Added bridgin support for GSM and SIP

The dependency on mISDN (loopback interface) is completely removed
from GSM and SIP interfaces.

The built in bridge of LCR now forwards audio data between these
interface instances or between these instances and other instances.

Additionally both GSM BS and SIP support direct forwarding of RTP
traffic between  other SIP endpoint and OpenBSC, so no traffic is
forwarded by the LCR itself. This is done by forwarding RTP peer
informations between these interface instances.

9 years agoAdding bridge between protocol handlers (ports)
Andreas Eversberg [Sat, 14 Jan 2012 17:36:26 +0000 (18:36 +0100)]
Adding bridge between protocol handlers (ports)

This is required to bridge traffic beween non-mISDN handlers,
such as GSM, SIP and voice box. Also it bridges traffic between
mISDN handlers and non-mISDN handlers. It is the fundamental step
to get rid of mISDN (loop interface) for non-mISDN handlers.
This is required to bridge audio e.g. between SIP and GSM without
using mISDN. There will be no limitations on 'b-channels' anymore.

Still GSM and SIP requires mISDN, but this will be changed later.

With that bridge I cleaned up some code and also removed the
MESSAGE_DATA, which is not required anymore.

9 years agoAdding basic SIP support, using Sofia-SIP stack
Andreas Eversberg [Fri, 13 Jan 2012 05:24:21 +0000 (06:24 +0100)]
Adding basic SIP support, using Sofia-SIP stack

This support is just a simple peer-to-peer support for basic calls.

Currently it requires mISDN_l1loop interface, as every non-ISDN
interface does. Later it will be possible to use it without.

9 years agoVarious minor fixes
Andreas Eversberg [Fri, 13 Jan 2012 04:18:49 +0000 (05:18 +0100)]
Various minor fixes

9 years agoAdding shutdown option to interface.conf
Andreas Eversberg [Fri, 13 Jan 2012 04:13:30 +0000 (05:13 +0100)]
Adding shutdown option to interface.conf

This way an interface can be disabled by just one keyword
and not by uncommenting all lines of it.

9 years agoFixed NULL-pointer bug when unloading of GSM interfaces origin/1.11
Andreas Eversberg [Sat, 7 Jan 2012 08:34:51 +0000 (09:34 +0100)]
Fixed NULL-pointer bug when unloading of GSM interfaces

9 years agochan_lcr: Minor fix for Asterisk versions >= 10
Andreas Eversberg [Tue, 3 Jan 2012 10:29:43 +0000 (11:29 +0100)]
chan_lcr: Minor fix for Asterisk versions >= 10

subclass.codec or subclass is not part of frame anymore.

9 years agoFor chan_lcr with Asterisk 1.8, set the codec type of a frame into the correct
Arnold Schulz [Tue, 8 Nov 2011 15:14:57 +0000 (16:14 +0100)]
For chan_lcr with Asterisk 1.8, set the codec type of a frame into the correct
union member ast_frame_subclass::codec (instead of ast_frame_subclass::integer).

The old code caused an error in some environments, eg big endian Arm (armeb):
"__ast_read: Dropping incompatible voice frame on lcr/1 of format alaw ..."

Signed-off-by: Arnold Schulz <>
Signed-off-by: Andreas Eversberg <>
9 years agoDisabled layer2-hold from CCITT#5 interfaces
Andreas Eversberg [Sun, 16 Oct 2011 06:35:43 +0000 (08:35 +0200)]
Disabled layer2-hold from CCITT#5 interfaces

C5 does not require D-channel.

9 years agoPatch to allow chan_lcr to work with asterisk 10
Gregory Nietsky [Sat, 15 Oct 2011 07:34:06 +0000 (09:34 +0200)]
Patch to allow chan_lcr to work with asterisk 10

The patch tries to maintain backward compatibility i have not tested this.

Have tested inbound outbound and T.38 gw call accross it.

9 years agoAdding "fflush" to debug.log.
Andreas Eversberg [Sat, 15 Oct 2011 07:29:44 +0000 (09:29 +0200)]
Adding "fflush" to debug.log.

This is usefull when using "tail -f". The debug will be written to
the debug.log file right when the debug function is called.

9 years agoAdding additional debugging to joinremote.cpp
Andreas Eversberg [Sat, 15 Oct 2011 07:28:11 +0000 (09:28 +0200)]
Adding additional debugging to joinremote.cpp

Now it is possible to see the relation between LCR endpoints and
chan_lcr instances.

9 years agoFixed mncc.h for GSM. Audio works again with latest OpenBSC.
Andreas Eversberg [Sun, 2 Oct 2011 06:52:13 +0000 (08:52 +0200)]
Fixed mncc.h for GSM. Audio works again with latest OpenBSC.

9 years agoRemove unused variable ret karsten/pending origin/pending
Karsten Keil [Wed, 28 Sep 2011 10:17:00 +0000 (12:17 +0200)]
Remove unused variable ret

ret is not longer used for the new pid assign method.

Signed-off-by: Karsten Keil <>
9 years agoHandle MT_L2IDLE
Karsten Keil [Wed, 28 Sep 2011 10:09:54 +0000 (12:09 +0200)]
Handle MT_L2IDLE

MT_L2IDLE is send by the mISDNuser library when all L2 processes
are gone. We could sent a MT_L2RELEASE if we are the L2 master and
do not want permanent L2 monitoring. This would deactive L2 and also
shutdown L1.

For now we do nothing, only log a debug message.

Signed-off-by: Karsten Keil <>
9 years agoBump version to 1.11
Karsten Keil [Sat, 24 Sep 2011 07:38:32 +0000 (09:38 +0200)]
Bump version to 1.11

Signed-off-by: Karsten Keil <>
9 years agoNew pid handling
Karsten Keil [Sat, 24 Sep 2011 07:29:28 +0000 (09:29 +0200)]
New pid handling

The old method was racy, it did use the callback function to deliver the
result, which need special handling because of possible deadlocks.
Now we use a request function which returns the value directely.
The old method is still available, but will get removed soon.

Signed-off-by: Karsten Keil <>
9 years agoNew names for redirection numbers
Karsten Keil [Sat, 24 Sep 2011 07:27:43 +0000 (09:27 +0200)]
New names for redirection numbers

Signed-off-by: Karsten Keil <>
9 years agoNew init and debug interface
Karsten Keil [Sat, 24 Sep 2011 07:25:41 +0000 (09:25 +0200)]
New init and debug interface

Works with the newer mISDNuser library.

Signed-off-by: Karsten Keil <>
9 years agoIncreas version number to 1.10 origin/1.10
Andreas Eversberg [Wed, 7 Sep 2011 06:07:37 +0000 (08:07 +0200)]
Increas version number to 1.10

9 years agoChecking for GSM codec to be installed at configure.
Andreas Eversberg [Wed, 7 Sep 2011 06:05:11 +0000 (08:05 +0200)]
Checking for GSM codec to be installed at configure.

Also outputting what is supported and what not.

9 years agoFixed missing channel IE in some cases.
Andreas Eversberg [Sat, 3 Sep 2011 13:54:37 +0000 (15:54 +0200)]
Fixed missing channel IE in some cases.

NT-Mode: channel IE must be included in all cases
TE-Mode: channel IE can be omitted only if any channel is requested.

9 years agoSupport of GSM uses socket interface for both network and mobile
Andreas Eversberg [Fri, 2 Sep 2011 09:08:56 +0000 (11:08 +0200)]
Support of GSM uses socket interface for both network and mobile

There is no linking of any osmocomBB source code required. In order
to use osmocomBB or OpenBSC, just enable the interface, as described
in defaults/interface.conf. At osmocomBB/mobile or at OpenBSC, just
use the option "-m" to enable the socket interface.

Enable GSM at LCR with "./configure --with-gsm-ms --with-gsm-bs".

9 years agoFixed broken timeout condition
Andreas Eversberg [Fri, 2 Sep 2011 08:01:07 +0000 (10:01 +0200)]
Fixed broken timeout condition

A given timeout condition never made the rule match.

9 years agoAdditionally adding output of bchannel "ref" at some debug output.
Andreas Eversberg [Thu, 11 Aug 2011 13:23:23 +0000 (15:23 +0200)]
Additionally adding output of bchannel "ref" at some debug output.

9 years agoFixed wrong reference when requesting a channel from chan_lcr.
Andreas Eversberg [Thu, 11 Aug 2011 13:23:01 +0000 (15:23 +0200)]
Fixed wrong reference when requesting a channel from chan_lcr.

This caused audio not to be available, for every call or after
some time.

9 years agoMinor cosmetic fix of logging output
Andreas Eversberg [Wed, 10 Aug 2011 19:51:46 +0000 (21:51 +0200)]
Minor cosmetic fix of logging output

9 years agoFixed forking, to prevent LCR to run multiple times
Andreas Eversberg [Wed, 10 Aug 2011 19:50:45 +0000 (21:50 +0200)]
Fixed forking, to prevent LCR to run multiple times

Executing a script caused very weird behaviour, due to forking of LCR.

9 years agoMake install now works again. (Missing and required macro defintion)
Andreas Eversberg [Sat, 30 Jul 2011 07:46:27 +0000 (09:46 +0200)]
Make install now works again. (Missing and required macro defintion)

9 years agoMake LCR compile with latest osmocomBB code.
Andreas Eversberg [Thu, 28 Jul 2011 21:03:51 +0000 (23:03 +0200)]
Make LCR compile with latest osmocomBB code.

Tested with sylvain/traffic branch.

9 years agogsm->network must be set != NULL, to make it work correctly
Andreas Eversberg [Mon, 25 Jul 2011 09:38:50 +0000 (11:38 +0200)]
gsm->network must be set != NULL, to make it work correctly

Thanx to Lennart for finding this Bug.

9 years agoMake LCR compile again with OpenBSC
Andreas Eversberg [Mon, 25 Jul 2011 09:37:28 +0000 (11:37 +0200)]
Make LCR compile again with OpenBSC

Added missing include. Thanx to Harald for providing this patch.

9 years agoMake LCR compile with latest osmocomBB code.
Andreas Eversberg [Wed, 20 Jul 2011 10:57:59 +0000 (12:57 +0200)]
Make LCR compile with latest osmocomBB code.

The libosmocore structure has changed.

9 years agoDon't try to install default/gsm.conf as it was removed.
Andreas Eversberg [Wed, 20 Jul 2011 07:18:59 +0000 (09:18 +0200)]
Don't try to install default/gsm.conf as it was removed.

Patch by: Janis
Signed-off-by: Andreas Eversberg <>
9 years agoMinor fix: remote.c -> remote.cpp in
Andreas Eversberg [Wed, 20 Jul 2011 07:16:01 +0000 (09:16 +0200)]
Minor fix: remote.c -> remote.cpp in

9 years agoChanging version number to 1.9
Andreas Eversberg [Thu, 14 Jul 2011 14:10:39 +0000 (16:10 +0200)]
Changing version number to 1.9

9 years agoThis was missing at merge:
Andreas Eversberg [Thu, 14 Jul 2011 12:33:22 +0000 (14:33 +0200)]
This was missing at merge:

deleted:    configure
modified:   gsm_bs.cpp
modified:   gsm_ms.cpp

9 years agoMerge branch 'develop'
Andreas Eversberg [Thu, 14 Jul 2011 12:25:42 +0000 (14:25 +0200)]
Merge branch 'develop'


9 years ago[GSM] Replaced strcpy by required macro name.
Andreas Eversberg [Sun, 10 Jul 2011 17:52:08 +0000 (19:52 +0200)]
[GSM] Replaced strcpy by required macro name.

10 years ago[gsm] Make LCR work with current Osmocom-BB.
Andreas Eversberg [Sat, 26 Feb 2011 16:49:21 +0000 (16:49 +0000)]
[gsm] Make LCR work with current Osmocom-BB.

Osmocom-BB is still developed, and this only works with the jolly/voice
branch. Audio is not yet transmitted, so it is not quite usefull yet.

10 years ago[mail] Prevent bustling error message when sending mail without attachment
Andreas Eversberg [Thu, 24 Feb 2011 09:17:44 +0000 (10:17 +0100)]
[mail] Prevent bustling error message when sending mail without attachment

this cosmetic patch removes a false error message from LCR's mail when
no attachment is wanted.

thanx to bodo for providing this patch!

10 years ago[chan_lcr] Unloading chan_lcr is now possible
Andreas Eversberg [Thu, 24 Feb 2011 07:59:17 +0000 (08:59 +0100)]
[chan_lcr] Unloading chan_lcr is now possible


I tried to tackle the issue that 'core stop|restart when convenient' won't
work because unloading chan_lcr does not work.

The issue is that the thread blocks in select().

I tried to move the clean-up work from after the main select loop to the
module unloading code, make that loop a real infinite loop and replaced
pthread_join() by pthred_cancel().

The result seems to work.
Proposed patch attached.

Unloading chan_lcr while it has open channels is fatal, with or without
that patch.


10 years agoIncremented version number of lcr in develop branch.
Andreas Eversberg [Mon, 21 Feb 2011 08:42:32 +0000 (09:42 +0100)]
Incremented version number of lcr in develop branch.

10 years ago[gsm] Removed obsolete gsm.conf handling. Fixed minor compiling issues.
Andreas Eversberg [Sun, 20 Feb 2011 16:34:24 +0000 (17:34 +0100)]
[gsm] Removed obsolete gsm.conf handling. Fixed minor compiling issues.

10 years agodon't execve() a shell process but always double-fork and then exec the program directly
Harald Welte [Sun, 26 Dec 2010 21:49:27 +0000 (22:49 +0100)]
don't execve() a shell process but always double-fork and then exec the program directly

10 years agoGSM MNCC: Make sure to set the MNCC_F_KEYPAD when ACKing DTMF
Harald Welte [Thu, 23 Dec 2010 18:03:47 +0000 (19:03 +0100)]
GSM MNCC: Make sure to set the MNCC_F_KEYPAD when ACKing DTMF

TS 04.08 has a _mandatory_ KEYPAD FACILITY IE, and unless we set
the MNCC_F_KEYPAD, some phones will (legitimately) reject the
04.08 DTMF KEYPAD_ACK without that IE.

10 years agoMNCC: refuse any incoming SETUP if there is no MNCC connection
Harald Welte [Thu, 23 Dec 2010 16:05:20 +0000 (17:05 +0100)]
MNCC: refuse any incoming SETUP if there is no MNCC connection

10 years agoMNCC: Re-connect to the MNCC socket if connection was lost
Harald Welte [Thu, 23 Dec 2010 15:46:54 +0000 (16:46 +0100)]
MNCC: Re-connect to the MNCC socket if connection was lost

10 years agoGSM BS: Release all calls in case the connection to OpenBSC disappears
Andreas Eversberg [Thu, 23 Dec 2010 14:32:10 +0000 (15:32 +0100)]
GSM BS: Release all calls in case the connection to OpenBSC disappears

10 years agoGSM: Define mncc_send() as it is no longer available from OpenBSC headers
Harald Welte [Thu, 23 Dec 2010 14:25:33 +0000 (15:25 +0100)]
GSM: Define mncc_send() as it is no longer available from OpenBSC headers

10 years agomncc_sock: properly append an element to the end of the list
Harald Welte [Wed, 22 Dec 2010 21:55:30 +0000 (22:55 +0100)]
mncc_sock: properly append an element to the end of the list

10 years agogsm tracing: as we no longer link with OpenBSC, we don't know the net name
Harald Welte [Wed, 22 Dec 2010 20:40:40 +0000 (21:40 +0100)]
gsm tracing: as we no longer link with OpenBSC, we don't know the net name

10 years agoMNCC socket: length of GSM TCH/F FR frame is 33 bytes _plus_ header
Harald Welte [Wed, 22 Dec 2010 20:40:08 +0000 (21:40 +0100)]
MNCC socket: length of GSM TCH/F FR frame is 33 bytes _plus_ header

10 years agoModify GSM BS (OpenBTS) to use unix domain socket based MNCC
Harald Welte [Wed, 22 Dec 2010 18:35:28 +0000 (19:35 +0100)]
Modify GSM BS (OpenBTS) to use unix domain socket based MNCC

Author:    Harald Welte <>

10 years ago[GSM_BS] Added DTMF support.
Andreas Eversberg [Sun, 20 Feb 2011 09:35:40 +0000 (10:35 +0100)]
[GSM_BS] Added DTMF support.

10 years agoFixed transmission of call trace on LCR socket.
Andreas Eversberg [Tue, 28 Dec 2010 20:10:52 +0000 (21:10 +0100)]
Fixed transmission of call trace on LCR socket.

10 years ago[GSM_BS] Added DTMF support. origin/1.8
Andreas Eversberg [Sun, 20 Feb 2011 09:35:40 +0000 (10:35 +0100)]
[GSM_BS] Added DTMF support.

10 years ago[chan_lcr] Fixed broken communication with chan_lcr
Andreas Eversberg [Sun, 20 Feb 2011 09:23:03 +0000 (10:23 +0100)]
[chan_lcr] Fixed broken communication with chan_lcr

There are two modes:

The remote mode is used to route a call directly to Asterisk or route a
call from Asterisk to an ISDN interface. (the old way)

The interface mode is used to handle chan_lcr as an interface, so calls
from Asterisk can be routed and behave like they come from an ISDN
interface. (documentation for that will follow)

10 years ago[chan_lcr] Fixed caller ID for calls from AST->LCR
Andreas Eversberg [Sun, 20 Feb 2011 08:33:31 +0000 (09:33 +0100)]
[chan_lcr] Fixed caller ID for calls from AST->LCR

10 years agoEnsure chan_lcr gets necessary compiler flags when cross compiling.
Andreas Eversberg [Thu, 10 Feb 2011 13:35:47 +0000 (14:35 +0100)]
Ensure chan_lcr gets necessary compiler flags when cross compiling.

Thanx to Arnold Schulz for providing this patch.
Signed-off-by: Andreas Eversberg <>