aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn
AgeCommit message (Collapse)AuthorFilesLines
2009-10-02Merged revisions 221844 via svnmerge from rmudgett2-41/+66
https://origsvn.digium.com/svn/asterisk/trunk ................ r221844 | rmudgett | 2009-10-01 20:09:31 -0500 (Thu, 01 Oct 2009) | 33 lines Merged revisions 221769 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r221769 | rmudgett | 2009-10-01 18:18:28 -0500 (Thu, 01 Oct 2009) | 26 lines Occasionally losing use of B channels in chan_misdn. I have not been able to reproduce the problem of losing channels. However, I have seen in the code a reentrancy problem that might give these symptoms. The reentrancy patch does several things: 1) Guards B channel and B channel structure allocation. 2) Makes the B channel structure find routines more precise in locating records. 3) Never leave a B channel allocated if we received cause 44. The last item may cause temporary outgoing call problems, but they should clear when the line becomes idle. (closes issue #15490) Reported by: slutec18 Patches: issue15490_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664) Tested by: rmudgett, slutec18 (closes issue #15458) Reported by: FabienToune Patches: issue15458_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664) Tested by: FabienToune, rmudgett, slutec18 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@221879 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-18Merged revisions 212758 via svnmerge from rmudgett1-28/+29
https://origsvn.digium.com/svn/asterisk/trunk ................ r212758 | rmudgett | 2009-08-18 11:29:47 -0500 (Tue, 18 Aug 2009) | 9 lines Merged revisions 212727 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r212727 | rmudgett | 2009-08-18 11:00:56 -0500 (Tue, 18 Aug 2009) | 1 line Removed some deadwood and added some doxygen comments. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@212769 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-01Merged revisions 209760-209761 via svnmerge from kpfleming2-6/+11
https://origsvn.digium.com/svn/asterisk/trunk ................ r209760 | kpfleming | 2009-07-31 20:03:07 -0500 (Fri, 31 Jul 2009) | 13 lines Merged revisions 209759 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r209759 | kpfleming | 2009-07-31 19:52:00 -0500 (Fri, 31 Jul 2009) | 7 lines Minor changes inspired by testing with latest GCC. The latest GCC (what will become 4.5.x) has a few new warnings, that in these cases found some either downright buggy code, or at least seriously poorly designed code that could be improved. ........ ................ r209761 | kpfleming | 2009-07-31 20:04:06 -0500 (Fri, 31 Jul 2009) | 1 line Revert accidental Makefile change. ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@209816 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-18Merged revisions 145293,158010 fromrmudgett1-6/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 to make merging easier. These changes are already on trunk. ................ r145293 | rmudgett | 2008-09-30 18:55:24 -0500 (Tue, 30 Sep 2008) | 54 lines channels/chan_misdn.c channels/misdn/isdn_lib.c * Miscellaneous other fixes from trunk to make merging easier later. ........ r145200 | rmudgett | 2008-09-30 16:00:54 -0500 (Tue, 30 Sep 2008) | 7 lines * Miscellaneous formatting changes to make v1.4 and trunk more merge compatible in the mISDN area. channels/chan_misdn.c * Eliminated redundant code in cb_events() EVENT_SETUP ........ r144257 | crichter | 2008-09-24 03:42:55 -0500 (Wed, 24 Sep 2008) | 9 lines improved helptext of misdn_set_opt. ........ r142181 | rmudgett | 2008-09-09 12:30:52 -0500 (Tue, 09 Sep 2008) | 1 line Cleaned up comment ........ r138738 | rmudgett | 2008-08-18 16:07:28 -0500 (Mon, 18 Aug 2008) | 30 lines channels/chan_misdn.c * Made bearer2str() use allowed_bearers_array[] * Made use the causes.h defines instead of hardcoded numbers. * Made use Asterisk presentation indicator values if either of the mISDN presentation or screen options are negative. * Updated the misdn_set_opt application option descriptions. * Renamed the awkward Caller ID presentation misdn_set_opt application option value not_screened to restricted. Deprecated the not_screened option value. channels/misdn/isdn_lib.c * Made use the causes.h defines instead of hardcoded numbers. * Fixed some spelling errors and typos. * Added all defined facility code strings to fac2str(). channels/misdn/isdn_lib.h * Added doxygen comments to struct misdn_bchannel. channels/misdn/isdn_lib_intern.h * Added doxygen comments to struct misdn_stack. channels/misdn_config.c configs/misdn.conf.sample * Updated the mISDN presentation and screen parameter descriptions. doc/misdn.txt (doc/tex/misdn.tex) * Updated the misdn_set_opt application option descriptions. * Fixed some spelling errors and typos. ................ r158010 | rmudgett | 2008-11-19 19:46:09 -0600 (Wed, 19 Nov 2008) | 9 lines Merged revision 157977 from https://origsvn.digium.com/svn/asterisk/team/group/issue8824 ........ Fixes JIRA ABE-1726 The dial extension could be empty if you are using MISDN_KEYPAD to control ISDN provider features. ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@207315 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-15Merged revisions 206707 via svnmerge from rmudgett2-19/+52
https://origsvn.digium.com/svn/asterisk/trunk ................ r206707 | rmudgett | 2009-07-15 16:14:41 -0500 (Wed, 15 Jul 2009) | 33 lines Merged revisions 206706 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r206706 | rmudgett | 2009-07-15 15:44:55 -0500 (Wed, 15 Jul 2009) | 26 lines Merged revision 206700 from https://origsvn.digium.com/svn/asterisk/be/branches/C.2-... .......... Fixed chan_misdn crash because mISDNuser library is not thread safe. With Asterisk the mISDNuser library is driven by two threads concurrently: 1. channels/misdn/isdn_lib.c::manager_event_handler() 2. channels/misdn/isdn_lib.c::misdn_lib_isdn_event_catcher() Calls into the library are done concurrently and recursively from isdn_lib.c. Both threads can fiddle with the master/child layer3_proc_t lists. One thread may traverse the list when the other interrupts it and then removes the list element which the first thread was currently handling. This is exactly what caused the crash. About 60 calls were needed to a Gigaset CX475 before it occurred once. This patch adds locking when calling into the mISDNuser library. This also fixes some cb_log calls with wrong port parameter. JIRA ABE-1913 Patches: misdn-locking.patch (Modified with mostly cosmetic changes) .......... ................ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@206765 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-14Merged revisions 206489 via svnmerge from rmudgett2-47/+37
https://origsvn.digium.com/svn/asterisk/trunk ................ r206489 | rmudgett | 2009-07-14 12:01:48 -0500 (Tue, 14 Jul 2009) | 35 lines Merged revisions 206487 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r206487 | rmudgett | 2009-07-14 11:44:47 -0500 (Tue, 14 Jul 2009) | 28 lines Fixes several call transfer issues with chan_misdn. * issue #14355 - Crash if attempt to transfer a call to an application. Masquerade the other pair of the four asterisk channels involved in the two calls. The held call already must be a bridged call (not an applicaton) or it would have been rejected. * issue #14692 - Held calls are not automatically cleared after transfer. Allow the core to initate disconnect of held calls to the ISDN port. This also fixes a similar case where the party on hold hangs up before being transferred or taken off hold. * JIRA ABE-1903 - Orphaned held calls left in music-on-hold. Do not simply block passing the hangup event on held calls to asterisk core. * Fixed to allow held calls to be transferred to ringing calls. Previously, held calls could only be transferred to connected calls. * Eliminated unused call states to simplify hangup code. * Eliminated most uses of "holded" because it is not a word. (closes issue #14355) (closes issue #14692) Reported by: sodom Patches: misdn_xfer_v14_r205839.patch uploaded by rmudgett (license 664) Tested by: rmudgett ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@206565 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-14Merged revisions 206341 via svnmerge from rmudgett1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r206341 | rmudgett | 2009-07-13 19:48:59 -0500 (Mon, 13 Jul 2009) | 11 lines Merged revisions 206284 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r206284 | rmudgett | 2009-07-13 19:17:28 -0500 (Mon, 13 Jul 2009) | 4 lines Fix some memory leaks in chan_misdn. JIRA ABE-1911 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@206373 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-18Merged revisions 201678 via svnmerge from dvossel1-0/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r201678 | dvossel | 2009-06-18 11:37:42 -0500 (Thu, 18 Jun 2009) | 11 lines fixes some memory leaks and redundant conditions (closes issue #15269) Reported by: contactmayankjain Patches: patch.txt uploaded by contactmayankjain (license 740) memory_leak_stuff.trunk.diff uploaded by dvossel (license 671) Tested by: contactmayankjain, dvossel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@201679 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-17Merged revisions 189137 via svnmerge from rmudgett1-2/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r189137 | rmudgett | 2009-04-17 16:48:10 -0500 (Fri, 17 Apr 2009) | 17 lines Merged revisions 188833,189134 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r188833 | rmudgett | 2009-04-16 16:37:58 -0500 (Thu, 16 Apr 2009) | 4 lines Only disable mISDN DSP if Asterisk DSP is enabled. Leave jitter setting alone. JIRA ABE-1835 ........ r189134 | rmudgett | 2009-04-17 16:27:55 -0500 (Fri, 17 Apr 2009) | 4 lines Modifed/added some debug messages. JIRA ABE-1835 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@189140 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-30Merged revisions 185122 via svnmerge from rmudgett1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r185122 | rmudgett | 2009-03-30 15:41:24 -0500 (Mon, 30 Mar 2009) | 26 lines Merged revisions 185120 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r185120 | rmudgett | 2009-03-30 15:38:11 -0500 (Mon, 30 Mar 2009) | 19 lines Make chan_misdn BRI TE side normally defer channel selection to the NT side. Channel allocation collisions are not handled by chan_misdn very well. This patch simply avoids the problem for BRI only. For PRI, allocation collisions are still possible but less likely since there are simply more channels available and each end could use a different allocation strategy. misdn.conf options available: te_choose_channel - Use to force the TE side to allocate channels. method - Specify the channel allocation strategy. (closes issue #13488) Reported by: Christian_Pinedo Patches: isdn_lib.patch.txt uploaded by crich Tested by: crich, siepkes, festr ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@185128 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Merged revisions 168622 via svnmerge from rmudgett1-44/+40
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168622 | rmudgett | 2009-01-14 15:48:22 -0600 (Wed, 14 Jan 2009) | 4 lines * Fixed create_process() allocation of process ID values. The allocated process IDs could overflow their respective NT and TE fields. Affects outgoing calls. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168623 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-29we can now build with -Wformat=2, which found a couple of real bugskpfleming1-2/+2
because SPRINTF() use non-literal format strings (which cannot be checked), move it into its own module so the rest of func_strings can benefit from format string checking git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159774 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Merged revisions 157859 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r157859 | kpfleming | 2008-11-19 15:34:47 -0600 (Wed, 19 Nov 2008) | 7 lines the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems. with this build system change, if (and only if) --enable-dev-mode was used and DONT_OPTIMIZE is turned on, when a source file is compiled it will actually be preprocessed (into a .i or .ii file), then compiled once with optimization (with the result sent to /dev/null) and again without optimization (but only if the first compile succeeded, of course). while making these changes, i did some cleanup work in Makefile.rules to move commonly-used combinations of flag variables into their own variables, to make the file easier to read and maintain ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30fix a few small things found by using sparsekpfleming3-12/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152809 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30* Miscellaneous formatting changes to make v1.4 and trunkrmudgett2-6/+10
more merge compatible in the mISDN area. channels/chan_misdn.c * Eliminated redundant code in cb_events() EVENT_SETUP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-18channels/chan_misdn.crmudgett3-163/+409
* Made bearer2str() use allowed_bearers_array[] * Made use the causes.h defines instead of hardcoded numbers. * Made use Asterisk presentation indicator values if either of the mISDN presentation or screen options are negative. * Updated the misdn_set_opt application option descriptions. * Renamed the awkward Caller ID presentation misdn_set_opt application option value not_screened to restricted. Deprecated the not_screened option value. channels/misdn/isdn_lib.c * Made use the causes.h defines instead of hardcoded numbers. * Fixed some spelling errors and typos. * Added all defined facility code strings to fac2str(). channels/misdn/isdn_lib.h * Added doxygen comments to struct misdn_bchannel. channels/misdn/isdn_lib_intern.h * Added doxygen comments to struct misdn_stack. channels/misdn_config.c configs/misdn.conf.sample * Updated the mISDN presentation and screen parameter descriptions. doc/tex/misdn.tex * Updated the misdn_set_opt application option descriptions. * Fixed some spelling errors and typos. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23use correct function name... please compile with --enable-dev-modekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132966 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Merged revisions 132826 via svnmerge from crichter1-1/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132826 | crichter | 2008-07-23 13:37:50 +0200 (Mi, 23 Jul 2008) | 1 line another Fix because of r119585, this commit has broken high frequented BRI Ports, there was a possibility that a channel, that was marked as in_use would be reused later, the corresponding port could got stuck then. So it is recommended to upgrade for chan_misdn users. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132883 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14Swap "static" and "const", so that "static" appears at the beginning of eachtilghman1-1/+1
declaration (suppresses a warning). (closes issue #13070) Reported by: gknispel_proformatique Patches: asterisk_trunk_const_static.patch uploaded by gknispel (license 261) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130697 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Make this build under dev moderussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122232 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-11Merged revisions 121751 via svnmerge from crichter1-8/+20
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r121751 | crichter | 2008-06-11 11:28:04 +0200 (Mi, 11 Jun 2008) | 1 line fixed issue with previous commit, the find_free_channel test for channels which where inuse was broken. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121770 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02Merged revisions 119636 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119636 | crichter | 2008-06-02 11:29:21 +0200 (Mo, 02 Jun 2008) | 1 line fixed compile issue when dev-mode is enabled ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119637 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02Merged revisions 119585 via svnmerge from crichter2-4/+44
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119585 | crichter | 2008-06-02 10:35:28 +0200 (Mo, 02 Jun 2008) | 1 line Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119586 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18fix up various warnings found via the addition of format string checking... ↵kpfleming2-4/+6
some of these were really, really bad code git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109475 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11Merged revisions 107464 via svnmerge from kpfleming1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r107464 | kpfleming | 2008-03-11 09:53:03 -0500 (Tue, 11 Mar 2008) | 2 lines fix various other problems found by gcc 4.3 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107466 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Fix up some doxygen issues.qwell6-13/+12
(closes issue #11996) Patches: bug_11996_doxygen.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103723 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-11Doxygen updates, formatting. oej6-0/+34
misdn stuff needs a lot of doxygenification (Hello, Qwell :-) ) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92423 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-15Merged revisions 89301 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89301 | tilghman | 2007-11-15 12:23:14 -0600 (Thu, 15 Nov 2007) | 2 lines Fix an uninitialized memory read found by valgrind ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89303 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89172 via svnmerge from crichter3-21/+34
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89172 | crichter | 2007-11-12 12:23:57 +0100 (Mo, 12 Nov 2007) | 1 line added restart all interfaces Restart_Indicator, to automatically send a RESTART after the L2 of a PTP Port comes up. Also fixed some places where we have send a RELEASE without need for it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89178 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89171 via svnmerge from crichter1-30/+43
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89171 | crichter | 2007-11-12 12:13:13 +0100 (Mo, 12 Nov 2007) | 1 line fixed a state/event issue with overlapdial=yes when no extension matched. removed the general sending of a RELEASE_COMPLETE when we receive a RELEASE, this is done by mISDNuser/mISDN. This makes it possible to use asterisk-1.4 with mISDN trunk, but requires users of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6 (when using the NT mode at all) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89170 via svnmerge from crichter1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89170 | crichter | 2007-11-12 10:57:23 +0100 (Mo, 12 Nov 2007) | 1 line fixed the support for CW and therefore for the reject_cause option. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89169 via svnmerge from crichter3-1/+20
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89169 | crichter | 2007-11-12 10:45:36 +0100 (Mo, 12 Nov 2007) | 1 line aded ntkeepcalls option, to avoid droÃpping calls when the L2 goes down on a PTP link. There are some pbx which do turn off the L1 for a very short while and restart it immediately. normally T310 should be started and after 10 seconds or so the calls should be dropped, this is a simple fix wihtout this timer. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89174 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22Merged revisions 86598 via svnmerge from crichter1-11/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r86598 | crichter | 2007-10-22 11:21:15 +0200 (Mo, 22 Okt 2007) | 1 line we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86617 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22started to add some basic support for supplementary services like ↵crichter3-11/+38
CallForwarding and so forth git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86616 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 83023-83024 via svnmerge from crichter1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83023 | crichter | 2007-09-19 11:31:55 +0200 (Mi, 19 Sep 2007) | 1 line added 'astdtmf' option to allow configuring the asterisk dtmf detector instead of the mISDN_dsp ones. also added the patch from irroot #10190, so that dtmf tones detected by the asterisk detector are passed outofband to asterisk, to make any use of dtmf tones at all. ........ r83024 | crichter | 2007-09-19 11:32:42 +0200 (Mi, 19 Sep 2007) | 1 line removed comment which violates the coding guidelines. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83025 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82249 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82249 | crichter | 2007-09-11 18:01:27 +0200 (Di, 11 Sep 2007) | 1 line fixed a hold/retrieve issue. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82254 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30Merged revisions 81367 via svnmerge from crichter1-3/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81367 | crichter | 2007-08-30 10:31:59 +0200 (Do, 30 Aug 2007) | 11 lines Fixed a severe issue where a misdn_read would lock the channel, but read would not return because it blocks. later chan_misdn would try to queue a frame like a AST_CONTROL_ANSWER which could result in a deadlock situation. misdn_read will now not block forever anymore, and we don't queue the ANSWER frame at all when we already was called with misdn_answer -> answer would be called twice. Also we don't explicitly send a RELEASE_COMPLETE on receiption of a RELEASE anymore, because mISDN does that for us, this resulted in a problem on some switches, which would block our port after some calls for a short while. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16Don't reload a configuration file if nothing has changed.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79747 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16Merged revisions 79642 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79642 | crichter | 2007-08-16 10:21:21 +0200 (Do, 16 Aug 2007) | 1 line 0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79660 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-15Merged revisions 78936 via svnmerge from crichter2-1/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r78936 | crichter | 2007-08-10 15:24:03 +0200 (Fr, 10 Aug 2007) | 1 line fixed a bug with the useruser information element. We send them now also in the disconnect message. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79507 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-19Allow chan_misdn to build in dev-modetilghman2-71/+69
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75857 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Merge in ast_strftime branch, which changes timestamps to be accurate to the ↵tilghman1-15/+9
microsecond, instead of only to the second git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75706 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Change header a bit to get rid of a doxygen parse error. (issue #10177 ↵file1-1/+3
reported by snuffy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74519 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05added general Jitterbuffer Implementation. #9960crichter1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73298 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-04Merged revisions 73253 via svnmerge from crichter1-0/+20
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r73253 | crichter | 2007-07-04 16:53:48 +0200 (Mi, 04 Jul 2007) | 9 lines Merged revisions 73252 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73252 | crichter | 2007-07-04 16:50:58 +0200 (Mi, 04 Jul 2007) | 1 line bchannel configurations like echocancel and volume control, need to be setuped on inbound calls too. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73254 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72852 via svnmerge from crichter1-1/+10
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72852 | crichter | 2007-07-02 10:41:08 +0200 (Mo, 02 Jul 2007) | 9 lines Merged revisions 72585 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72585 | crichter | 2007-06-29 15:08:26 +0200 (Fr, 29 Jun 2007) | 1 line check if the bchannel stack id is already used, if so don't use it a second time. Also added a release_chan lock, so that the same chan_list object cannot be freed twice. chan_misdn does not crash anymore on heavy load with these changes. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72851 via svnmerge from crichter3-32/+36
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72851 | crichter | 2007-07-02 10:27:19 +0200 (Mo, 02 Jul 2007) | 9 lines Merged revisions 72099 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72099 | crichter | 2007-06-27 15:22:37 +0200 (Mi, 27 Jun 2007) | 1 line simplified generation for dummy bchannels, also we mark them as dummies, so they are not used later as real-bchannels, optimized the RESTART mechanisms, we block a channel now on cause:44, and send out a RESTART automatically, then on reception of RESTART_ACKNOWLEDGE we unblock the channel again. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72868 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72850 via svnmerge from crichter2-99/+68
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72850 | crichter | 2007-07-02 10:14:43 +0200 (Mo, 02 Jul 2007) | 9 lines Merged revisions 72087 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72087 | crichter | 2007-06-27 11:26:53 +0200 (Mi, 27 Jun 2007) | 1 line simplified channel finding and locking a lot. removed unnecessary #ifdefed areas. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72867 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72042 via svnmerge from crichter1-45/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72042 | crichter | 2007-06-27 09:58:06 +0200 (Mi, 27 Jun 2007) | 13 lines Merged revisions 72040-72041 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72040 | crichter | 2007-06-27 09:49:27 +0200 (Mi, 27 Jun 2007) | 1 line for inbound TE calls, we setup the bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready. removed some #if 0 areas which weren't used anymore. ........ r72041 | crichter | 2007-06-27 09:54:30 +0200 (Mi, 27 Jun 2007) | 1 line isdn_lib.c didn't compile ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72052 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71214 via svnmerge from crichter2-12/+29
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71214 | crichter | 2007-06-23 00:44:42 +0200 (Sa, 23 Jun 2007) | 9 lines Merged revisions 70341 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70341 | crichter | 2007-06-20 17:29:09 +0200 (Mi, 20 Jun 2007) | 1 line fixed a bug that was introduced by copy and paste in the last commit ..bchannels weren't cleaned properly. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71500 f38db490-d61c-443f-a65b-d21fe96a405b