Commit Graph

508 Commits

Author SHA1 Message Date
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 69475c77e1 Merge branch 'develop' 2010-08-04 15:13:14 +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 4bb07fd2de 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:40:34 +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 911f737f2b Fixed API and incomming calls from Osmocom-BB. 2010-07-19 11:31:25 +00: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 5a29eff4ca 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-14 18:32:15 +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
Andreas Eversberg 8bb49ccb7b Merge branch 'develop' 2010-03-18 09:18:27 +01:00
Andreas Eversberg ea95ae6367 Update of README 2010-03-18 09:17:34 +01:00
Andreas Eversberg e664caf22f Fix NULL pointer audio frame problem.
The problem occurred when IAX protocol sends silence frame.

Thanx to Peter for finding the problem and providing patch.
2010-03-18 09:13:38 +01:00
Andreas Eversberg 882882e0e2 Added 'polling' option to options.conf.
This is usefull to test if select loop causes problems and does not wake
when it is required. If lcr seems not to wake up, try using 'polling' to
disable select timer and use polling instead.
2010-03-17 10:43:04 +01:00
Andreas Eversberg 2732c3ce40 Fixed output problems of error messages while parsing options.conf / gsm.conf.
modified:   Makefile.in
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   genext.c
	modified:   gsm.cpp
	modified:   gsm.h
	modified:   gsm_conf.c
	modified:   lcradmin.c
	modified:   main.c
	modified:   options.c
	modified:   options.h
2010-03-17 08:31:07 +01:00
Andreas Eversberg c4fcb0668c Fixed includes to latest mISDNuser structures.
modified:   Makefile.am
	modified:   Makefile.in
	modified:   README
	modified:   bchannel.c
	modified:   dss1.cpp
	modified:   mISDN.cpp
	modified:   main.h
2010-03-11 16:27:28 +01:00
Andreas Eversberg 0c65074b5b Fixed compiler warnings when compiling with gcc 4.3.4.
Fixed names of moved include files (OpenBSC).

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   README
	modified:   chan_lcr.c
	modified:   configure
	modified:   configure.ac
	modified:   genrc.c
	modified:   gentones.c
	modified:   genwave.c
	modified:   gsm.cpp
	modified:   mISDN.cpp
	modified:   main.c
	modified:   port.cpp
	modified:   tones.c
	modified:   trace.c
2010-03-11 14:07:20 +01:00
Andreas Eversberg ce460a94e6 register_fd() bugfix. 2010-01-30 11:59:07 +01:00