Andreas Eversberg
3a8f58ec89
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.
2010-12-13 09:22:49 +01:00
Andreas Eversberg
0f5c2eabde
Adding various arguments to 'execute' condition and 'execute' action.
2010-12-13 09:13:16 +01:00
Peter Schlaile
3fd79822b1
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.
2010-12-13 09:13:04 +01:00
Andreas Eversberg
c62fe17ee3
See commit 728d... It was not applied correctly.
2010-12-13 09:12:15 +01:00
Andreas Eversberg
a24ae098bd
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.
2010-12-13 09:11:56 +01:00
Andreas Eversberg
2b9a46d542
Remove the last commit, because it was in the wrong branch.
2010-12-13 09:06:54 +01:00
Andreas Eversberg
8a4387be03
Completed GSM mobile station support with OsmocomBB
...
OsmocomBB stack can now be attached to LCRl
2010-12-13 09:06:49 +01:00
Andreas Eversberg
108a0eb482
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
2010-12-13 09:06:38 +01:00
Andreas Eversberg
b19fbde000
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
2010-10-30 17:24:30 +02:00
Andreas Eversberg
8a041720cb
[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.
2010-10-30 17:24:20 +02:00
Andreas Eversberg
a71c27047b
[chan_lcr] Fixed uninitialized variable in ast_read()
...
Thanx to Martin for this bug report.
2010-09-28 08:55:29 +02:00
Andreas Eversberg
6b858efdae
[chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.
2010-09-28 08:50:55 +02:00
Andreas Eversberg
1e711b3a83
Fix of vbox announcing bug
...
Hi,
here's a simple patch that makes the announcement work again when using
the vbox in lcr.
Bodo
2010-09-20 08:22:13 +02:00
Andreas Eversberg
0f73f3b384
Fixed numbering plan in GSM MS support
2010-09-20 08:18:13 +02:00
Andreas Eversberg
1732b615a1
Removed debugging output from chan_lcr
2010-08-04 15:12:05 +02:00
Andreas Eversberg
db5c235146
Removed ast_log again for testing. Seems that it also causes dead-locks when it is used this way.
2010-07-26 08:44:07 +02:00
Andreas Eversberg
fc6a1a6e99
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
2010-07-25 17:41:24 +02:00
Andreas Eversberg
f522af5539
Fixed API and incomming calls from Osmocom-BB.
...
Conflicts:
Makefile.in
configure
2010-07-21 12:12:23 +02:00
Andreas Eversberg
6fa1349ce7
Enabled ast_log again and changed usleep during trylock to 1.
2010-07-21 11:42:04 +02:00
Andreas Eversberg
0b497a7473
Removed the lock-debugging for chan_lcr.
...
Apply reverse for future debugging.
modified: chan_lcr.c
modified: select.c
2010-07-21 11:27:58 +02:00
Andreas Eversberg
5a7b2b5200
Another test patch.
2010-07-09 11:53:46 +02:00
Andreas Eversberg
f16d257c5a
Since this banch only is for debugging the chan_lcr deadlock problem, i will commit from now on without comments.
2010-07-08 09:47:08 +02:00
Andreas Eversberg
86dda4048a
Another "trylock" test.
2010-07-07 09:14:21 +02:00
Andreas Eversberg
ec4c180567
The "trylock" test patch.
2010-07-06 17:53:21 +02:00
Andreas Eversberg
46d07c5968
Disabled log_ast and replaced it by simple printf.
2010-07-05 09:42:53 +02:00
Andreas Eversberg
443a7c9eb2
Hopefully fixed the double log bug that causes so much trouble.
2010-06-30 11:48:11 +02:00
Andreas Eversberg
7b14ecc400
More debug.
2010-06-24 09:23:27 +02:00
Andreas Eversberg
8155a3b252
More debug
2010-06-22 09:47:56 +02:00
Andreas Eversberg
fd78bba4a8
Debugging select loop. Here the process freezes.
2010-06-17 16:26:16 +02:00
Andreas Eversberg
afff70dcff
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
2010-06-15 08:29:23 +02:00
Andreas Eversberg
69ad78e230
Added more detailed debugging for the locking problem.
2010-06-14 12:31:52 +02:00
Andreas Eversberg
91601aaa42
Added additional debug logging to lcr_read.
2010-06-09 09:58:34 +02:00
Andreas Eversberg
6e5729bfa4
Removed LF from debug code.
2010-06-09 09:37:28 +02:00
Andreas Eversberg
5c120fb508
Updated debugging patch.
2010-06-08 16:33:00 +02:00
Andreas Eversberg
513e12ace5
Test patch #1 for chan_lcr, to debug the Asterisk freeze problem.
2010-06-04 10:27:17 +02:00
Andreas Eversberg
13f107bc24
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
2010-06-03 11:20:48 +02:00
Andreas Eversberg
4da31ce07b
Tested and fixed the new OpenBSC API.
...
modified: Makefile.in
modified: config.h.in
modified: configure
modified: gsm_bs.cpp
2010-05-30 15:54:28 +02:00
Andreas Eversberg
a12d7eee22
Splitted GSM support into BS (network) and MS (mobile) part.
2010-05-31 18:45:02 +02:00
Andreas Eversberg
0f805e041a
Fixed LCR to work with the current API of OpenBSC.
...
modified: Makefile.am
modified: Makefile.in
modified: README
modified: gsm.cpp
2010-05-31 08:44:30 +02:00
Andreas Eversberg
6d4a65705a
Added patch to play ringing tone when connected but the call is forwarded
...
and ringing again. Thanx to Jacek for this patch.
2010-05-28 08:36:00 +02:00
Andreas Eversberg
a498faceb2
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.
2010-05-28 08:19:30 +02:00
Andreas Eversberg
be404a4926
Added Progress messages. (receive only)
2010-05-23 13:46:26 +02:00
Andreas Eversberg
5b5923141c
Fixed forwarding of sending-complete information.
...
modified: Makefile.in
modified: README
modified: action.cpp
modified: apppbx.cpp
2010-05-20 05:54:59 +02:00
Andreas Eversberg
00c52acce5
Fixes a locking bug in chan_lcr. Thanx to WIMPy for that report.
...
modified: chan_lcr.c
2010-04-30 13:29:15 +02:00
Andreas Eversberg
b33d7b898d
fix last remnant of "extern" vs. incorrect "external" confusion, correct spelling
...
Patch against current git.
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2010-04-06 15:23:23 +02:00
Karsten Keil
31885f37d1
Add .gitignore
...
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2010-03-25 14:09:07 +01:00
Karsten Keil
2d76f6325a
Revert "Add .gitignore"
...
Only .gitignore should be updated
This reverts commit 51655a1897
.
2010-03-25 14:06:52 +01:00
Karsten Keil
51655a1897
Add .gitignore
...
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2010-03-25 14:04:08 +01:00
Andreas Eversberg
491b3c968a
Just a small bug fix: Extension matching will be performed by extension's number, not by their name.
...
I really don't know why there is suddenly this bug. Earlier versions did this correctly.
2010-03-24 23:05:01 +01:00
Andreas Eversberg
e960c8cb52
Bugreport by Christian:
...
gsm.cpp: In member function .void Pgsm::bchannel_send(unsigned int,
unsigned int, unsigned char*, int).:
gsm.cpp:249: error: overloaded function with no contextual type
information
make[1]: *** [gsm.o] Error 1
I hope that this will fix the compiler problem.
2010-03-23 09:42:54 +01:00