lcr.git
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 <jolly@eversberg.eu>
9 years agoMinor fix: remote.c -> remote.cpp in Makefile.am
Andreas Eversberg [Wed, 20 Jul 2011 07:16:01 +0000 (09:16 +0200)]
Minor fix: remote.c -> remote.cpp in Makefile.am

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:    Makefile.in
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'

Conflicts:
Makefile.in
README
chan_lcr.c
configure
gsm_bs.cpp
gsm_ms.cpp
interface.c
route.c

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.

9 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.

9 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!

9 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

Hi,

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.

   Greetings,
     WIMPy

9 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.

9 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.

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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 <laforge@gnumonks.org>

9 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.

9 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.

9 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.

9 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)

9 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

9 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 <jolly@eversberg.eu>
9 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 <jolly@eversberg.eu>
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 agoFixed buffer overflow bug at pickup feature
Andreas Eversberg [Tue, 28 Dec 2010 14:38:20 +0000 (15:38 +0100)]
Fixed buffer overflow bug at pickup feature

10 years agoFixed null-pointer bug when GSM support is disabled
Andreas Eversberg [Tue, 28 Dec 2010 15:24:38 +0000 (16:24 +0100)]
Fixed null-pointer bug when GSM support is disabled

Conflicts:

interface.c

10 years agoFixed buffer overflow bug at pickup feature
Andreas Eversberg [Tue, 28 Dec 2010 14:38:20 +0000 (15:38 +0100)]
Fixed buffer overflow bug at pickup feature

10 years agoFixed null-pointer bug when GSM support is disabled
Andreas Eversberg [Tue, 28 Dec 2010 14:37:15 +0000 (15:37 +0100)]
Fixed null-pointer bug when GSM support is disabled

10 years agoImproved and applied Wimpy's Asterisk 1.8.x support.
Andreas Eversberg [Tue, 14 Dec 2010 09:56:09 +0000 (10:56 +0100)]
Improved and applied Wimpy's Asterisk 1.8.x support.

configure script will automatically detect new asterisk API, so there is
no need for different chan_lcr.c source codes.

'type', 'presentation', and 'screening indicator' are now transcoded.

10 years agoRemoved change history from 'README' file.
Andreas Eversberg [Mon, 13 Dec 2010 08:43:23 +0000 (09:43 +0100)]
Removed change history from 'README' file.

10 years agoRemoved 'configure' and other files created by 'autoreconf'.
Andreas Eversberg [Mon, 13 Dec 2010 08:41:35 +0000 (09:41 +0100)]
Removed 'configure' and other files created by 'autoreconf'.

To generate them, run './autogen.sh'.

10 years agoAdding interface support for remote app (chan_lcr).
Andreas Eversberg [Mon, 13 Dec 2010 08:22:49 +0000 (09:22 +0100)]
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.

10 years agoAdding various arguments to 'execute' condition and 'execute' action.
Andreas Eversberg [Mon, 13 Dec 2010 07:40:16 +0000 (08:40 +0100)]
Adding various arguments to 'execute' condition and 'execute' action.

10 years agoWorkaround for "noise" problems with app_rxfax in current LCR.
Peter Schlaile [Tue, 7 Dec 2010 11:06:14 +0000 (12:06 +0100)]
Workaround for "noise" problems with app_rxfax in current LCR.

The problem: for some reason, asterisk silently switches write_format
from SLINEAR to ALAW when using app_rxfax, thereby effectively disabling
automatic conversion SLINEAR->ALAW and thereby breaking app_rxfax after
the first call to ast_write(). Read: instantly, after the first data frame.

Older versions of LCR work flawlessly, until we find out, what really triggers
the problem, we at least switch the channel back, since it never makes
sense to send something different than ALAW to chan_lcr.

10 years agoSee commit 728d... It was not applied correctly.
Andreas Eversberg [Sun, 28 Nov 2010 08:13:55 +0000 (09:13 +0100)]
See commit 728d... It was not applied correctly.

10 years agoFixed channel selection on outgoing calls on NT-mode multipoint
Andreas Eversberg [Sun, 28 Nov 2010 07:53:32 +0000 (08:53 +0100)]
Fixed channel selection on outgoing calls on NT-mode multipoint

On a multipoint bus, it is required to assign a channel with no other
alternative allowed. This is required, because an individual phone on the
bus may not choose a different channel, while other phones accept the
indicated channel. Also an individual phone does not have the information
about other available channels. On a point-to-point configuration it is
possible anyway.

In this multipoint case, the channel assignment is now forced automatically,
even if the 'force' keyword is not specified in the "out-channel" of
interface.conf.

Additionally "lcradmin portinfo" shows the channel selection settings now.

10 years agoRemove the last commit, because it was in the wrong branch.
Andreas Eversberg [Fri, 12 Nov 2010 08:25:10 +0000 (09:25 +0100)]
Remove the last commit, because it was in the wrong branch.

10 years agoCompleted GSM mobile station support with OsmocomBB
Andreas Eversberg [Sun, 31 Oct 2010 16:12:26 +0000 (16:12 +0000)]
Completed GSM mobile station support with OsmocomBB

OsmocomBB stack can now be attached to LCRl

10 years agoAdding forwarding of DTMF and keypad between peers
Andreas Eversberg [Sun, 31 Oct 2010 16:08:29 +0000 (16:08 +0000)]
Adding forwarding of DTMF and keypad between peers

This is needed for peers that require DTMF messages, rather than tones:
- GSM mobile stations
- Asterisk channel API

modified:   apppbx.cpp
modified:   apppbx.h

10 years agoAdding various arguments to 'execute' condition and 'execute' action.
Andreas Eversberg [Mon, 13 Dec 2010 07:40:16 +0000 (08:40 +0100)]
Adding various arguments to 'execute' condition and 'execute' action.

10 years agoWorkaround for "noise" problems with app_rxfax in current LCR.
Peter Schlaile [Tue, 7 Dec 2010 11:06:14 +0000 (12:06 +0100)]
Workaround for "noise" problems with app_rxfax in current LCR.

The problem: for some reason, asterisk silently switches write_format
from SLINEAR to ALAW when using app_rxfax, thereby effectively disabling
automatic conversion SLINEAR->ALAW and thereby breaking app_rxfax after
the first call to ast_write(). Read: instantly, after the first data frame.

Older versions of LCR work flawlessly, until we find out, what really triggers
the problem, we at least switch the channel back, since it never makes
sense to send something different than ALAW to chan_lcr.

10 years agoSee commit 728d... It was not applied correctly.
Andreas Eversberg [Sun, 28 Nov 2010 08:13:55 +0000 (09:13 +0100)]
See commit 728d... It was not applied correctly.

10 years agoMerge branch 'master' of ssh://jolly@www.misdn.org/var/git/lcr
Andreas Eversberg [Sun, 28 Nov 2010 08:06:59 +0000 (09:06 +0100)]
Merge branch 'master' of ssh://jolly@misdn.org/var/git/lcr

10 years agoFixed channel selection on outgoing calls on NT-mode multipoint
Andreas Eversberg [Sun, 28 Nov 2010 07:53:32 +0000 (08:53 +0100)]
Fixed channel selection on outgoing calls on NT-mode multipoint

On a multipoint bus, it is required to assign a channel with no other
alternative allowed. This is required, because an individual phone on the
bus may not choose a different channel, while other phones accept the
indicated channel. Also an individual phone does not have the information
about other available channels. On a point-to-point configuration it is
possible anyway.

In this multipoint case, the channel assignment is now forced automatically,
even if the 'force' keyword is not specified in the "out-channel" of
interface.conf.

Additionally "lcradmin portinfo" shows the channel selection settings now.

10 years agoMerge branch 'master' of ssh://jolly@www.misdn.org/var/git/lcr
Andreas Eversberg [Fri, 12 Nov 2010 08:25:33 +0000 (09:25 +0100)]
Merge branch 'master' of ssh://jolly@misdn.org/var/git/lcr

10 years agoRemove the last commit, because it was in the wrong branch.
Andreas Eversberg [Fri, 12 Nov 2010 08:25:10 +0000 (09:25 +0100)]
Remove the last commit, because it was in the wrong branch.

10 years agoAdded chan_lcr support for Asterisk 1.8.
Andreas Eversberg [Fri, 12 Nov 2010 08:18:36 +0000 (09:18 +0100)]
Added chan_lcr support for Asterisk 1.8.

Thanx to WIMPy for providing the patch.

10 years agoCompleted GSM mobile station support with OsmocomBB
Andreas Eversberg [Sun, 31 Oct 2010 16:12:26 +0000 (16:12 +0000)]
Completed GSM mobile station support with OsmocomBB

OsmocomBB stack can now be attached to LCRl

10 years agoAdding forwarding of DTMF and keypad between peers
Andreas Eversberg [Sun, 31 Oct 2010 16:08:29 +0000 (16:08 +0000)]
Adding forwarding of DTMF and keypad between peers

This is needed for peers that require DTMF messages, rather than tones:
- GSM mobile stations
- Asterisk channel API

modified:   apppbx.cpp
modified:   apppbx.h

10 years agoMake LCR compile with the latest OpenBSC master branch
Andreas Eversberg [Sat, 30 Oct 2010 15:21:54 +0000 (17:21 +0200)]
Make LCR compile with the latest OpenBSC master branch

modified:   Makefile.in
modified:   aclocal.m4
modified:   config.h.in
modified:   configure
modified:   configure.ac
modified:   gsm_bs.cpp

10 years ago[chan_lcr] Fixed caller ID by clearing ast->cid first
Andreas Eversberg [Thu, 7 Oct 2010 07:55:23 +0000 (09:55 +0200)]
[chan_lcr] Fixed caller ID by clearing ast->cid first

Tests with asterisk 1.6.2.13 showed that callerid did not work
unless the ast->cid structure is set to zero.

Thanx for Marcello for prividing this fix.

10 years agoMake LCR compile with the latest OpenBSC master branch
Andreas Eversberg [Sat, 30 Oct 2010 15:21:54 +0000 (17:21 +0200)]
Make LCR compile with the latest OpenBSC master branch

modified:   Makefile.in
modified:   aclocal.m4
modified:   config.h.in
modified:   configure
modified:   configure.ac
modified:   gsm_bs.cpp

10 years ago[chan_lcr] Fixed caller ID by clearing ast->cid first
Andreas Eversberg [Thu, 7 Oct 2010 07:55:23 +0000 (09:55 +0200)]
[chan_lcr] Fixed caller ID by clearing ast->cid first

Tests with asterisk 1.6.2.13 showed that callerid did not work
unless the ast->cid structure is set to zero.

Thanx for Marcello for prividing this fix.

10 years ago[chan_lcr] Fixed uninitialized variable in ast_read()
Andreas Eversberg [Tue, 28 Sep 2010 06:55:29 +0000 (08:55 +0200)]
[chan_lcr] Fixed uninitialized variable in ast_read()

Thanx to Martin for this bug report.

10 years ago[chan_lcr] Fixed uninitialized variable in ast_read()
Andreas Eversberg [Tue, 28 Sep 2010 06:55:29 +0000 (08:55 +0200)]
[chan_lcr] Fixed uninitialized variable in ast_read()

Thanx to Martin for this bug report.

10 years ago[chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.
Andreas Eversberg [Thu, 23 Sep 2010 08:10:13 +0000 (10:10 +0200)]
[chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.

10 years ago[chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.
Andreas Eversberg [Thu, 23 Sep 2010 08:10:13 +0000 (10:10 +0200)]
[chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.

10 years agoMerge branch 'develop'
Andreas Eversberg [Mon, 20 Sep 2010 06:23:55 +0000 (08:23 +0200)]
Merge branch 'develop'

10 years agoFix of vbox announcing bug
Andreas Eversberg [Mon, 20 Sep 2010 06:22:13 +0000 (08:22 +0200)]
Fix of vbox announcing bug

Hi,

here's a simple patch that makes the announcement work again when using
the vbox in lcr.

Bodo

10 years agoFixed numbering plan in GSM MS support
Andreas Eversberg [Mon, 20 Sep 2010 06:18:13 +0000 (08:18 +0200)]
Fixed numbering plan in GSM MS support

10 years agoMerge branch 'develop'
Andreas Eversberg [Wed, 4 Aug 2010 13:13:14 +0000 (15:13 +0200)]
Merge branch 'develop'

10 years agoRemoved debugging output from chan_lcr
Andreas Eversberg [Wed, 4 Aug 2010 13:12:05 +0000 (15:12 +0200)]
Removed debugging output from chan_lcr

10 years agoRemoved ast_log again for testing. Seems that it also causes dead-locks when it is...
Andreas Eversberg [Mon, 26 Jul 2010 06:44:07 +0000 (08:44 +0200)]
Removed ast_log again for testing. Seems that it also causes dead-locks when it is used this way.

10 years agoHi all,
Andreas Eversberg [Sun, 25 Jul 2010 15:40:34 +0000 (17:40 +0200)]
Hi all,

as described in http://www.gnu.org/software/hello/manual/autoconf/Files.html, AC_CHECK_FILE breaks when cross configuring/compiling LCR.

Attached patch replaces AC_CHECK_FILE by 'test -d' and some extra code in configure.ac.

Cheers
Arny

10 years agoHi all,
Andreas Eversberg [Sun, 25 Jul 2010 15:40:34 +0000 (17:40 +0200)]
Hi all,

as described in http://www.gnu.org/software/hello/manual/autoconf/Files.html, AC_CHECK_FILE breaks when cross configuring/compiling LCR.

Attached patch replaces AC_CHECK_FILE by 'test -d' and some extra code in configure.ac.

Cheers
Arny

10 years agoFixed API and incomming calls from Osmocom-BB.
Andreas Eversberg [Wed, 21 Jul 2010 10:12:23 +0000 (12:12 +0200)]
Fixed API and incomming calls from Osmocom-BB.

Conflicts:

Makefile.in
configure

10 years agoEnabled ast_log again and changed usleep during trylock to 1.
Andreas Eversberg [Wed, 21 Jul 2010 09:42:04 +0000 (11:42 +0200)]
Enabled ast_log again and changed usleep during trylock to 1.

10 years agoRemoved the lock-debugging for chan_lcr.
Andreas Eversberg [Wed, 21 Jul 2010 09:27:58 +0000 (11:27 +0200)]
Removed the lock-debugging for chan_lcr.

Apply reverse for future debugging.

modified:   chan_lcr.c
modified:   select.c

10 years agoFixed API and incomming calls from Osmocom-BB.
Andreas Eversberg [Mon, 19 Jul 2010 11:31:25 +0000 (11:31 +0000)]
Fixed API and incomming calls from Osmocom-BB.

10 years agoAnother test patch.
Andreas Eversberg [Fri, 9 Jul 2010 09:53:46 +0000 (11:53 +0200)]
Another test patch.

10 years agoSince this banch only is for debugging the chan_lcr deadlock problem, i will commit...
Andreas Eversberg [Thu, 8 Jul 2010 07:47:08 +0000 (09:47 +0200)]
Since this banch only is for debugging the chan_lcr deadlock problem, i will commit from now on without comments.

10 years agoAnother "trylock" test.
Andreas Eversberg [Wed, 7 Jul 2010 07:14:21 +0000 (09:14 +0200)]
Another "trylock" test.

10 years agoThe "trylock" test patch.
Andreas Eversberg [Tue, 6 Jul 2010 15:53:21 +0000 (17:53 +0200)]
The "trylock" test patch.

10 years agoDisabled log_ast and replaced it by simple printf.
Andreas Eversberg [Mon, 5 Jul 2010 07:42:53 +0000 (09:42 +0200)]
Disabled log_ast and replaced it by simple printf.

10 years agoHopefully fixed the double log bug that causes so much trouble.
Andreas Eversberg [Wed, 30 Jun 2010 09:48:11 +0000 (11:48 +0200)]
Hopefully fixed the double log bug that causes so much trouble.

10 years agoMore debug.
Andreas Eversberg [Thu, 24 Jun 2010 07:23:27 +0000 (09:23 +0200)]
More debug.

10 years agoMore debug
Andreas Eversberg [Tue, 22 Jun 2010 07:47:56 +0000 (09:47 +0200)]
More debug

10 years agoDebugging select loop. Here the process freezes.
Andreas Eversberg [Thu, 17 Jun 2010 14:26:16 +0000 (16:26 +0200)]
Debugging select loop. Here the process freezes.

10 years agoFixed call forwarding after no response. Instread of dialing the old extension
Andreas Eversberg [Mon, 14 Jun 2010 16:32:15 +0000 (18:32 +0200)]
Fixed call forwarding after no response. Instread of dialing the old extension
again, the forwarding number is dialed after timeout.

modified:   apppbx.cpp
modified:   apppbx.h
modified:   socket_server.c

10 years agoFixed call forwarding after no response. Instread of dialing the old extension
Andreas Eversberg [Mon, 14 Jun 2010 16:32:15 +0000 (18:32 +0200)]
Fixed call forwarding after no response. Instread of dialing the old extension
again, the forwarding number is dialed after timeout.

modified:   apppbx.cpp
modified:   apppbx.h
modified:   socket_server.c

10 years agoAdded more detailed debugging for the locking problem.
Andreas Eversberg [Mon, 14 Jun 2010 10:31:52 +0000 (12:31 +0200)]
Added more detailed debugging for the locking problem.

10 years agoAdded additional debug logging to lcr_read.
Andreas Eversberg [Wed, 9 Jun 2010 07:58:34 +0000 (09:58 +0200)]
Added additional debug logging to lcr_read.

10 years agoRemoved LF from debug code.
Andreas Eversberg [Wed, 9 Jun 2010 07:37:28 +0000 (09:37 +0200)]
Removed LF from debug code.

10 years agoUpdated debugging patch.
Andreas Eversberg [Tue, 8 Jun 2010 14:33:00 +0000 (16:33 +0200)]
Updated debugging patch.

10 years agoTest patch #1 for chan_lcr, to debug the Asterisk freeze problem.
Andreas Eversberg [Fri, 4 Jun 2010 08:27:17 +0000 (10:27 +0200)]
Test patch #1 for chan_lcr, to debug the Asterisk freeze problem.

10 years agoAdded detection of tone_zone_sound structure name. Thanx to Janis for this
Andreas Eversberg [Thu, 3 Jun 2010 09:20:48 +0000 (11:20 +0200)]
Added detection of tone_zone_sound structure name. Thanx to Janis for this
patch.

modified:   Makefile.am
modified:   Makefile.in
modified:   configure
modified:   configure.ac

10 years agoTested and fixed the new OpenBSC API.
Andreas Eversberg [Sun, 30 May 2010 13:54:28 +0000 (15:54 +0200)]
Tested and fixed the new OpenBSC API.
modified:   Makefile.in
modified:   config.h.in
modified:   configure
modified:   gsm_bs.cpp

10 years agoSplitted GSM support into BS (network) and MS (mobile) part.
Andreas Eversberg [Mon, 31 May 2010 16:45:02 +0000 (18:45 +0200)]
Splitted GSM support into BS (network) and MS (mobile) part.

10 years agoFixed LCR to work with the current API of OpenBSC.
Andreas Eversberg [Mon, 31 May 2010 06:44:30 +0000 (08:44 +0200)]
Fixed LCR to work with the current API of OpenBSC.

modified:   Makefile.am
modified:   Makefile.in
modified:   README
modified:   gsm.cpp

10 years agoAdded patch to play ringing tone when connected but the call is forwarded
Andreas Eversberg [Fri, 28 May 2010 06:36:00 +0000 (08:36 +0200)]
Added patch to play ringing tone when connected but the call is forwarded
and ringing again. Thanx to Jacek for this patch.

10 years agoFix for redirection number. Thanx to Dennis for this bugfix.
Andreas Eversberg [Fri, 28 May 2010 06:19:30 +0000 (08:19 +0200)]
Fix for redirection number. Thanx to Dennis for this bugfix.
I changed it a bit, so the redirection number is converted from
national/international format into numerical format. (adding prefixes)

If there is still a problem with it, let me know.