summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
Commit message (Collapse)AuthorAgeFilesLines
* Additionally adding output of bchannel "ref" at some debug output.Andreas Eversberg2011-08-111-4/+4
|
* [chan_lcr] Unloading chan_lcr is now possibleAndreas Eversberg2011-02-241-20/+13Star
| | | | | | | | | | | | | | | | | | | | | | 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
* [chan_lcr] Fixed broken communication with chan_lcrAndreas Eversberg2011-02-201-2/+1Star
| | | | | | | | | | | 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)
* [chan_lcr] Fixed caller ID for calls from AST->LCRAndreas Eversberg2011-02-201-139/+146
|
* Improved and applied Wimpy's Asterisk 1.8.x support.Andreas Eversberg2010-12-141-1/+398
| | | | | | | 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.
* Adding interface support for remote app (chan_lcr).Andreas Eversberg2010-12-131-171/+178
| | | | | | | | | | | | | | 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.
* Workaround for "noise" problems with app_rxfax in current LCR.Peter Schlaile2010-12-131-3/+17
| | | | | | | | | | | 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.
* See commit 728d... It was not applied correctly.Andreas Eversberg2010-12-131-240/+350
|
* Remove the last commit, because it was in the wrong branch.Andreas Eversberg2010-12-131-350/+240Star
|
* [chan_lcr] Fixed caller ID by clearing ast->cid firstAndreas Eversberg2010-10-301-0/+1
| | | | | | | 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.
* [chan_lcr] Fixed uninitialized variable in ast_read()Andreas Eversberg2010-09-281-1/+1
| | | | Thanx to Martin for this bug report.
* [chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.Andreas Eversberg2010-09-281-2/+2
|
* Removed debugging output from chan_lcrAndreas Eversberg2010-08-041-0/+2
|
* Removed ast_log again for testing. Seems that it also causes dead-locks when ↵Andreas Eversberg2010-07-261-1/+2
| | | | it is used this way.
* Enabled ast_log again and changed usleep during trylock to 1.Andreas Eversberg2010-07-211-5/+4Star
|
* Removed the lock-debugging for chan_lcr.Andreas Eversberg2010-07-211-105/+0Star
| | | | | | | Apply reverse for future debugging. modified: chan_lcr.c modified: select.c
* Another test patch.Andreas Eversberg2010-07-091-4/+5
|
* Since this banch only is for debugging the chan_lcr deadlock problem, i will ↵Andreas Eversberg2010-07-081-2/+2
| | | | commit from now on without comments.
* Another "trylock" test.Andreas Eversberg2010-07-071-1/+6
|
* The "trylock" test patch.Andreas Eversberg2010-07-061-2/+6
|
* Disabled log_ast and replaced it by simple printf.Andreas Eversberg2010-07-051-4/+5
|
* Hopefully fixed the double log bug that causes so much trouble.Andreas Eversberg2010-06-301-2/+5
|
* More debug.Andreas Eversberg2010-06-241-0/+8
|
* More debugAndreas Eversberg2010-06-221-0/+6
|
* Added more detailed debugging for the locking problem.Andreas Eversberg2010-06-141-20/+39
|
* Added additional debug logging to lcr_read.Andreas Eversberg2010-06-091-1/+4
|
* Removed LF from debug code.Andreas Eversberg2010-06-091-1/+1
|
* Updated debugging patch.Andreas Eversberg2010-06-081-1/+3
|
* Test patch #1 for chan_lcr, to debug the Asterisk freeze problem.Andreas Eversberg2010-06-041-4/+69
|
* Added patch to play ringing tone when connected but the call is forwardedAndreas Eversberg2010-05-281-0/+15
| | | | and ringing again. Thanx to Jacek for this patch.
* Fix for redirection number. Thanx to Dennis for this bugfix.Andreas Eversberg2010-05-281-1/+1
| | | | | | | 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.
* Fixes a locking bug in chan_lcr. Thanx to WIMPy for that report.Andreas Eversberg2010-04-301-1/+1
| | | | modified: chan_lcr.c
* Fixed output problems of error messages while parsing options.conf / gsm.conf.Andreas Eversberg2010-03-171-1/+2
| | | | | | | | | | | | | | 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
* Fixed compiler warnings when compiling with gcc 4.3.4.Andreas Eversberg2010-03-111-1/+3
| | | | | | | | | | | | | | | | | | | | 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
* - Fixed HLC (higher layer capability) modification to LCR routing.Andreas Eversberg2010-01-241-0/+10
| | | | | | | | | | | | | - 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
* Added queue buffer for chan_lcr sending faxes without interruption.Andreas Eversberg2010-01-241-2/+12
| | | | | | | | | | | 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
* Replaced polling loop for LCR and chan_lcr with select based event loop.Andreas Eversberg2010-01-161-212/+261
| | | | Now LCR and chan_lcr will not use any CPU until there is work to do.
* Test fix for lcr and dtmf.Andreas Eversberg2010-01-151-0/+2
| | | | modified: chan_lcr.c
* Added keypad forwarding, keypad parameter, chan_lcr keypad option 'k'.Andreas Eversberg2009-10-271-4/+25
| | | | | | | | | | | | | | modified: README modified: action.cpp modified: apppbx.cpp modified: chan_lcr.c modified: chan_lcr.h modified: dss1.cpp modified: joinpbx.cpp modified: joinpbx.h modified: message.h modified: route.c modified: route.h
* Minor fix: chan_lcr will now go into RING state if remote channel is RINGING.root2009-09-041-1/+1
| | | | modified: chan_lcr.c
* gsm improvementsAndreas Eversberg2009-06-061-136/+68Star
| | | | | | | | | | | | | | | | | | | | | code cleanup modified: README modified: action.cpp modified: action_efi.cpp modified: action_vbox.cpp modified: alawulaw.c modified: bchannel.c modified: bootstrap.c modified: callerid.c modified: cause.c modified: chan_lcr.c modified: default/gsm.conf modified: dss1.cpp modified: gsm.cpp modified: gsm.h modified: gsm_conf.c modified: message.h
* Fixed disabling of DTMF using 'n' option of chan_lcr.Andreas Eversberg2009-05-211-8/+13
| | | | | | | | | Please enter the commit message for your changes. modified: README modified: apppbx.cpp modified: bchannel.c modified: chan_lcr.c modified: chan_lcr.h
* Added PROGRESS indication in both directions, so early audio is possible.Andreas Eversberg2009-03-291-0/+44
| | | | | | | | -> Tones and announcements shall be forwarded. modified: README modified: chan_lcr.c modified: chan_lcr.h
* chan_lcr: fixed compile problems with newer versions of asteriskAndreas Eversberg2009-03-291-1/+8
|
* Fixed dtmf detection of A-D. (thanx to Ralf)Andreas Eversberg2009-03-151-8/+8
| | | | | modified: README modified: chan_lcr.c
* Added Callweaver support. (thanx to Kristijan)Andreas Eversberg2009-03-151-3/+201
| | | | | | modified: README modified: bchannel.c modified: chan_lcr.c
* simplified rebuffer-mode to make large block sizes work betterPeter Schlaile2009-03-091-3/+18
| | | | Thanks to Kristijan Vrban for the patch!
* added documentation for re-buffer optionPeter Schlaile2009-03-021-0/+1
|
* New release 1.4Andreas Eversberg2009-03-011-1/+1
| | | | | | | modified: README modified: chan_lcr.c modified: configure modified: configure.ac
* Added fax detection patch by gregory.Andreas Eversberg2009-02-151-10/+29
| | | | | | modified: README modified: chan_lcr.c modified: chan_lcr.h