Commit Graph

546 Commits

Author SHA1 Message Date
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
Andreas Eversberg 8fb861ef9e - Fixed HLC (higher layer capability) modification to LCR routing.
- Fixed chan_lcr fax queue buffer. Added LCR_TRANSFERCAPABILITY environment.

-> use options "n:t:q250" for sending/receiving faxes with asterisk and chan_lcr.

	modified:   README
	modified:   action.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   route.c
	modified:   route.h
2010-01-24 19:41:32 +01:00
Andreas Eversberg 34b17bad86 Added queue buffer for chan_lcr sending faxes without interruption.
Use options "t:q250" for disabling mISDN_dsp and adding a 250ms delay.

	modified:   README
	modified:   bchannel.c
	modified:   bchannel.h
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   select.c
2010-01-24 14:22:34 +01:00
Andreas Eversberg 76c5d82d4c Added "release" action and timeout to "execute" action.
modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   dss1.cpp
	modified:   mISDN.cpp
	modified:   message.h
	modified:   route.c
	modified:   route.h
	modified:   socket_server.c
2010-01-16 11:42:46 +01:00
Andreas Eversberg fa7af7ab19 new file: checkout-branch.sh 2010-01-16 11:32:36 +01:00
Andreas Eversberg 831c57a152 new file: checkout-branch.sh 2010-01-16 11:30:15 +01:00
Andreas Eversberg b0bd74e35e Replaced polling loop for LCR and chan_lcr with select based event loop.
Now LCR and chan_lcr will not use any CPU until there is work to do.
2010-01-16 11:20:23 +01:00
Andreas Eversberg 473d6569ef Added new option to interface.conf: "nonotify" to disable notify messages.
modified:   README
	modified:   dss1.cpp
	modified:   interface.c
	modified:   interface.h
	modified:   mISDN.cpp
	modified:   mISDN.h
2010-01-15 21:55:25 +01:00
Andreas Eversberg 043714d9d4 New version 1.7
modified:   Makefile.in
	modified:   README
	modified:   configure
	modified:   configure.ac
2010-01-15 21:50:35 +01:00
Andreas Eversberg baade79961 Test fix for lcr and dtmf.
modified:   chan_lcr.c
2010-01-15 21:28:33 +01:00
Andreas Eversberg a555eb7b1a Harald provided this patch to fix reload of interface.conf without segfault. 2010-01-04 19:20:06 +01:00
Andreas Eversberg a7b3d18e62 Notifies are now received from GSM phones. 2010-01-04 19:19:12 +01:00
Andreas Eversberg eb47421a20 Harald provided us with this fix for the current OpenBSC API.
debug_target arg is required for debug parsing.
2010-01-04 19:17:27 +01:00