aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2008-07-08Merged revisions 129045 via svnmerge from bbryant8-29/+29
https://origsvn.digium.com/svn/asterisk/trunk ........ r129045 | bbryant | 2008-07-08 11:40:28 -0500 (Tue, 08 Jul 2008) | 7 lines Janitor project to convert sizeof to ARRAY_LEN macro. (closes issue #13002) Reported by: caio1982 Patches: janitor_arraylen5.diff uploaded by caio1982 (license 22) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@129046 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-04Merged revisions 128027 via svnmerge from tilghman1-61/+54
https://origsvn.digium.com/svn/asterisk/trunk ................ r128027 | tilghman | 2008-07-04 11:06:34 -0500 (Fri, 04 Jul 2008) | 16 lines Merged revisions 127973 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127973 | tilghman | 2008-07-03 22:30:30 -0500 (Thu, 03 Jul 2008) | 8 lines Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch, and b) completes contexts correctly when the extension is ambiguous. (closes issue #12980) Reported by: licedey Patches: 20080703__bug12980.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@128028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Merged revisions 127903 via svnmerge from kpfleming1-2/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r127903 | kpfleming | 2008-07-03 17:23:04 -0500 (Thu, 03 Jul 2008) | 20 lines Merged revisions 127892,127895 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines a couple of small Solaris-related fixes (closes issue #11885) Reported by: snuffy, asgaroth ........ r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines remove this, it has been moved to the main Makefile ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127905 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Merged revisions 127793 via svnmerge from murf4-173/+95
https://origsvn.digium.com/svn/asterisk/trunk ................ r127793 | murf | 2008-07-03 11:16:44 -0600 (Thu, 03 Jul 2008) | 38 lines Merged revisions 127663 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines The CDRfix4/5/6 omnibus cdr fixes. (closes issue #10927) Reported by: murf Tested by: murf, deeperror (closes issue #12907) Reported by: falves11 Tested by: murf, falves11 (closes issue #11849) Reported by: greyvoip As to 11849, I think these changes fix the core problems brought up in that bug, but perhaps not the more global problems created by the limitations of CDR's themselves not being oriented around transfers. Reopen if necc, but bug reports are not the best medium for enhancement discussions. We need to start a second-generation CDR standardization effort to cover transfers. (closes issue #11093) Reported by: rossbeer Tested by: greyvoip, murf ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127830 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Merged revisions 127466 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r127466 | tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines Solaris fix (closes issue #12949) Reported by: snuffy Patches: bug_12949.diff uploaded by snuffy (license 35) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127467 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 127157 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r127157 | mmichelson | 2008-07-01 16:16:00 -0500 (Tue, 01 Jul 2008) | 8 lines Place the delay in __ast_answer prior to the channel-specific answer callback. This change differs from commit 127113 in that now the channel is not set to AST_STATE_UP until after the answer callback. (closes issue #12924) Reported by: snyfer ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127158 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merging Revision 127113 from trunkmmichelson1-7/+23
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127156 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-27Make sure to only include dahdi/user.h if we havemmichelson2-0/+4
installed DAHDI. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125852 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-27Merged revisions 125794 via svnmerge from tilghman1-4/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r125794 | tilghman | 2008-06-27 08:54:13 -0500 (Fri, 27 Jun 2008) | 10 lines Merged revisions 125793 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125793 | tilghman | 2008-06-27 08:45:03 -0500 (Fri, 27 Jun 2008) | 2 lines In this debugging function, copy to a buffer instead of using potentially unsafe pointers. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-26Merged revisions 125589 via svnmerge from qwell1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r125589 | qwell | 2008-06-26 18:04:18 -0500 (Thu, 26 Jun 2008) | 9 lines Merged revisions 125587 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125587 | qwell | 2008-06-26 18:03:15 -0500 (Thu, 26 Jun 2008) | 1 line Make sure to unlock the lock_info lock (huh?). Possible deadlock? ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125590 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-26Merged revisions 125277 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r125277 | tilghman | 2008-06-26 06:02:11 -0500 (Thu, 26 Jun 2008) | 15 lines Merged revisions 125276 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125276 | tilghman | 2008-06-26 06:01:21 -0500 (Thu, 26 Jun 2008) | 7 lines Check for rtcp structure before trying to delete schedule. (closes issue #12872) Reported by: destiny6628 Patches: 20080621__bug12872.diff.txt uploaded by Corydon76 (license 14) Tested by: destiny6628 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125278 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-25Merged revisions 125138 via svnmerge from kpfleming3-4/+6
https://origsvn.digium.com/svn/asterisk/trunk ................ r125138 | kpfleming | 2008-06-25 18:05:28 -0500 (Wed, 25 Jun 2008) | 18 lines Merged revisions 125132 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it get app_rpt building again after the DAHDI changes (closes issue #12911) Reported by: tzafrir ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125146 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-20Merged revisions 124396 via svnmerge from tilghman1-2/+6
https://origsvn.digium.com/svn/asterisk/trunk ................ r124396 | tilghman | 2008-06-20 17:04:37 -0500 (Fri, 20 Jun 2008) | 11 lines Merged revisions 124395 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r124395 | tilghman | 2008-06-20 17:02:55 -0500 (Fri, 20 Jun 2008) | 3 lines If the last character in a string to be parsed is the delimiter, then we should count that final empty string as an additional argument. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124397 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-20Merged revisions 124278 via svnmerge from mmichelson2-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r124278 | mmichelson | 2008-06-20 11:30:18 -0500 (Fri, 20 Jun 2008) | 6 lines Change references to doc/channelvariables.txt to doc/tex/channelvariables.tex. This issue came up on the asterisk-dev mailing list. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124279 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Merged revisions 124064 via svnmerge from bbryant1-0/+14
https://origsvn.digium.com/svn/asterisk/trunk ........ r124064 | bbryant | 2008-06-19 14:48:26 -0500 (Thu, 19 Jun 2008) | 2 lines Add errors that report any locks held by threads when they are being closed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124065 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Merged revisions 123931 via svnmerge from tilghman1-5/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r123931 | tilghman | 2008-06-19 12:02:54 -0500 (Thu, 19 Jun 2008) | 13 lines Merged revisions 123930 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123930 | tilghman | 2008-06-19 11:58:19 -0500 (Thu, 19 Jun 2008) | 5 lines Change informative messages to use the _multiple variant when multiple formats are possible. (Closes issue #12848) Reported by klaus3000 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123932 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Merged revisions 123870 via svnmerge from tilghman1-1/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r123870 | tilghman | 2008-06-19 11:08:29 -0500 (Thu, 19 Jun 2008) | 14 lines Merged revisions 123869 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123869 | tilghman | 2008-06-19 11:07:23 -0500 (Thu, 19 Jun 2008) | 6 lines The RDTSC instruction was introduced on the Pentium line of microprocessors, and is not compatible with certain 586 clones, like Cyrix. Hence, asking for i386 compatibility was always incorrect. See http://en.wikipedia.org/wiki/RDTSC (Closes issue #12886) Reported by tecnoxarxa ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123871 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-18Merged revisions 123770 via svnmerge from tilghman1-143/+429
https://origsvn.digium.com/svn/asterisk/trunk ................ r123770 | tilghman | 2008-06-18 17:17:17 -0500 (Wed, 18 Jun 2008) | 16 lines Merged revisions 123769 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123769 | tilghman | 2008-06-18 17:08:30 -0500 (Wed, 18 Jun 2008) | 8 lines Add support for saying numbers in Hebrew. (closes issue #11662) Reported by: greenfieldtech Patches: say.c.patch-12042008 uploaded by greenfieldtech (license 369) Hebrew-Sounds.ods uploaded by greenfieldtech (with signficant changes to the spreadsheet by me) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123772 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-18Merged revisions 123692 via svnmerge from bbryant1-1/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r123692 | bbryant | 2008-06-18 15:07:56 -0500 (Wed, 18 Jun 2008) | 2 lines Fix a crash in tcp and tls connections related to reference counts. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123693 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-17Merged revisions 123546 via svnmerge from bbryant3-11/+31
https://origsvn.digium.com/svn/asterisk/trunk ........ r123546 | bbryant | 2008-06-17 16:46:57 -0500 (Tue, 17 Jun 2008) | 5 lines Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using them, and memory does not get free'd causing strange issues with SIP. This code was originally written by russellb in the team/group/issue_11972/ branch. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123547 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-17Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. ↵jpeeler4-37/+70
Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123332 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-17Merged revisions 123272 via svnmerge from russell1-0/+9
https://origsvn.digium.com/svn/asterisk/trunk ................ r123272 | russell | 2008-06-17 10:52:13 -0500 (Tue, 17 Jun 2008) | 12 lines Merged revisions 123271 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123271 | russell | 2008-06-17 10:48:31 -0500 (Tue, 17 Jun 2008) | 4 lines Fix a memory leak in astobj2 that was pointed out by seanbright. When a container got destroyed, the underlying bucket list entry for each object that was in the container at that time did not get free'd. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123273 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-16Merged revisions 123165 via svnmerge from murf2-10/+14
https://origsvn.digium.com/svn/asterisk/trunk ........ r123165 | murf | 2008-06-16 14:43:46 -0600 (Mon, 16 Jun 2008) | 19 lines (closes issue #12689) Reported by: ys Many thanks to ys for doing the research on this problem. I didn't think it would be best to unlock the contexts and then relock them after the remove_extension2() call, so I added an extra arg to remove_extension2() and set it appropriately in each call. There were not that many. I considered forcing the code to lock the contexts before the call to remove_extension2(), but that would require a slightly greater degree of changes, especially since the find_context_locked is local to pbx.c I did a simple sanity test to make sure the code doesn't mess things up in general. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123173 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-13Merged revisions 122714 via svnmerge from mmichelson1-0/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r122714 | mmichelson | 2008-06-13 16:45:21 -0500 (Fri, 13 Jun 2008) | 17 lines Merged revisions 122713 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r122713 | mmichelson | 2008-06-13 16:44:53 -0500 (Fri, 13 Jun 2008) | 9 lines Short circuit the loop in autoservice_run if there are no channels to poll. If we continued, then the result would be calling poll() with a NULL pollfd array. While this is fine with POSIX's poll(2) system call, those who use Asterisk's internal poll mechanism (Darwin systems) would have a failed assertion occur when poll is called. (related to issue #10342) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@122715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-13Merged revisions 122557 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r122557 | tilghman | 2008-06-13 09:15:07 -0500 (Fri, 13 Jun 2008) | 7 lines Convert one more delimiter to use comma. (closes issue #12850) Reported by: bcnit Patches: 20080613__bug12850.diff.txt uploaded by Corydon76 (license 14) Tested by: bcnit ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@122558 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-13Merged revisions 122433 via svnmerge from jpeeler1-7/+24
https://origsvn.digium.com/svn/asterisk/trunk ........ r122433 | jpeeler | 2008-06-12 18:08:37 -0500 (Thu, 12 Jun 2008) | 4 lines (closes issue 0012193) Reported by: davidw Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@122467 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Merged revisions 122131 via svnmerge from tilghman1-3/+26
https://origsvn.digium.com/svn/asterisk/trunk ................ r122131 | tilghman | 2008-06-12 10:14:37 -0500 (Thu, 12 Jun 2008) | 12 lines Merged revisions 122130 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r122130 | tilghman | 2008-06-12 10:11:30 -0500 (Thu, 12 Jun 2008) | 4 lines Occasionally, the alertpipe loses its nonblocking status, so detect and correct that situation before it causes a deadlock. (Reported and tested by ctooley via #asterisk-dev) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@122132 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Merged revisions 122128 via svnmerge from murf1-12/+0
https://origsvn.digium.com/svn/asterisk/trunk ................ r122128 | murf | 2008-06-12 08:56:26 -0600 (Thu, 12 Jun 2008) | 9 lines Merged revisions 122127 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r122127 | murf | 2008-06-12 08:51:44 -0600 (Thu, 12 Jun 2008) | 1 line Arkadia tried to warn me, but the code added to ast_cdr_busy, _failed, and _noanswer was redundant. Didn't spot it until I was resolving conflicts in trunk. Ugh. Redundant code removed. It wasn't harmful. Just dumb. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@122129 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Merged revisions 122091 via svnmerge from murf1-0/+21
https://origsvn.digium.com/svn/asterisk/trunk ................ r122091 | murf | 2008-06-12 08:28:01 -0600 (Thu, 12 Jun 2008) | 45 lines Merged revisions 122046 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r122046 | murf | 2008-06-12 07:47:34 -0600 (Thu, 12 Jun 2008) | 37 lines (closes issue #10668) Reported by: arkadia Tested by: murf, arkadia Options added to forkCDR() app and the CDR() func to remove some roadblocks for CDR applications. The "show application ForkCDR" output was upgraded to more fully explain the inner workings of forkCDR. The A option was added to forkCDR to force the CDR system to NOT change the disposition on the original CDR, after the fork. This involves ast_cdr_answer, _busy, _failed, and so on. The T option was added to forkCDR to force obedience of the cdr LOCKED flag in the ast_cdr_end, all the disposition changing funcs (ast_cdr_answer, etc), and in the ast_cdr_setvar func. The CHANGES file was updated to explain ALL the new options added to satisfy this bug report (and some requests made verbally and via email, irc, etc, over the past months/year) The 's' option was added to the CDR() func, to force it to skip LOCKED cdr's in the chain. Again, the new options should be totally transparent to existing apps! Current behavior of CDR, forkCDR, and the rest of the CDR system should not change one little bit. Until you add the new options, at least! ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@122126 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-11Merged revisions 121867 via svnmerge from tilghman3-8/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r121867 | tilghman | 2008-06-11 13:19:24 -0500 (Wed, 11 Jun 2008) | 11 lines Merged revisions 121861 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r121861 | tilghman | 2008-06-11 13:18:16 -0500 (Wed, 11 Jun 2008) | 3 lines Make calls to ast_assert() actually test something, so that the error message printed is not nonsensical (reported by mvanbaak via #asterisk-bugs). ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@121872 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10Merged revisions 121444 via svnmerge from file1-0/+6
https://origsvn.digium.com/svn/asterisk/trunk ................ r121444 | file | 2008-06-10 09:54:39 -0300 (Tue, 10 Jun 2008) | 12 lines Merged revisions 121442 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r121442 | file | 2008-06-10 09:52:06 -0300 (Tue, 10 Jun 2008) | 4 lines Update BRIDGEPEER variable before we do a generic bridge in case we just broke out of a native bridge and fell through to generic. (closes issue #12815) Reported by: ramonpeek ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@121445 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-09Merged revisions 121282 via svnmerge from russell1-1/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r121282 | russell | 2008-06-09 11:37:08 -0500 (Mon, 09 Jun 2008) | 18 lines Merged revisions 121280 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r121280 | russell | 2008-06-09 11:35:40 -0500 (Mon, 09 Jun 2008) | 10 lines Do not attempt to do emulation if an END digit is received and the length is less than the defined minimum digit length, and the other end only wants END digits (SIP INFO, for example). (closes issue #12778) Reported by: tsearle Patches: 12778.rev1.txt uploaded by russell (license 2) Tested by: tsearle ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@121283 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-09Merged revisions 121279 via svnmerge from tilghman1-11/+20
https://origsvn.digium.com/svn/asterisk/trunk ........ r121279 | tilghman | 2008-06-09 11:35:06 -0500 (Mon, 09 Jun 2008) | 6 lines Implement FINDLABEL matching for the new extension matching engine. (closes issue #12800) Reported by: chris-mac Patches: 20080608__bug12800.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@121281 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-06Merged revisions 121010 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r121010 | tilghman | 2008-06-06 14:55:08 -0500 (Fri, 06 Jun 2008) | 6 lines Make extension match characters case-insensitive. (closes issue #12777) Reported by: jsmith Patches: lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@121011 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-05Merged revisions 120828 via svnmerge from murf1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r120828 | murf | 2008-06-05 15:34:42 -0600 (Thu, 05 Jun 2008) | 1 line a small fix for a crash that occurs when compiling AEL with global vars ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120829 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-05Merged revisions 120602 via svnmerge from tilghman1-2/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r120602 | tilghman | 2008-06-05 10:58:11 -0500 (Thu, 05 Jun 2008) | 4 lines Conditionally load the AGI command gosub, depending on whether or not res_agi has been loaded, fix a return value in the loader, and ensure that the help workhorse header does not print on load. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120603 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-04Merged revisions 120477 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r120477 | tilghman | 2008-06-04 15:34:52 -0500 (Wed, 04 Jun 2008) | 2 lines MSet doesn't necessarily need chan to be set ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120478 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03Merged revisions 120174 via svnmerge from jpeeler1-0/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r120174 | jpeeler | 2008-06-03 17:17:07 -0500 (Tue, 03 Jun 2008) | 14 lines Merged revisions 120173 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r120173 | jpeeler | 2008-06-03 17:15:33 -0500 (Tue, 03 Jun 2008) | 6 lines (closes issue #11594) Reported by: yem Tested by: yem This change decreases the buffer size allocated on the stack substantially in config_text_file_load when LOW_MEMORY is turned on. This change combined with the fix from revision 117462 (making mkintf not copy the zt_chan_conf structure) was enough to prevent the crash. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120178 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03Merged revisions 120171 via svnmerge from tilghman2-0/+19
https://origsvn.digium.com/svn/asterisk/trunk ........ r120171 | tilghman | 2008-06-03 17:05:16 -0500 (Tue, 03 Jun 2008) | 5 lines Move compatibility options into asterisk.conf, default them to on for upgrades, and off for new installations. This includes the translation from pipes to commas for pbx_realtime and the EXEC command for AGI, as well as the change to the Set application not to support multiple variables at once. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120172 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03Merged revisions 119892 via svnmerge from russell1-5/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r119892 | russell | 2008-06-03 08:29:16 -0500 (Tue, 03 Jun 2008) | 9 lines Do a deep copy of file and function strings to avoid a potential crash when modules are unloaded. (closes issue #12780) Reported by: ys Patches: logger.diff uploaded by ys (license 281) -- modified by me for coding guidelines ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@119893 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02Merged revisions 119744 via svnmerge from russell1-9/+50
https://origsvn.digium.com/svn/asterisk/trunk ................ r119744 | russell | 2008-06-02 09:41:55 -0500 (Mon, 02 Jun 2008) | 13 lines Merged revisions 119742 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119742 | russell | 2008-06-02 09:39:45 -0500 (Mon, 02 Jun 2008) | 5 lines Improve CLI command blacklist checking for the command manager action. Previously, it did not handle case or whitespace properly. This made it possible for blacklisted commands to get executed anyway. (closes issue #12765) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@119745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-30Merged revisions 119355 via svnmerge from file1-14/+13
https://origsvn.digium.com/svn/asterisk/trunk ................ r119355 | file | 2008-05-30 16:47:30 -0300 (Fri, 30 May 2008) | 10 lines Merged revisions 119354 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119354 | file | 2008-05-30 16:46:37 -0300 (Fri, 30 May 2008) | 2 lines Fix a bug I found while testing for another issue. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@119356 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-29Merged revisions 119157 via svnmerge from russell1-62/+85
https://origsvn.digium.com/svn/asterisk/trunk ................ r119157 | russell | 2008-05-29 17:28:50 -0500 (Thu, 29 May 2008) | 18 lines Merged revisions 119156 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119156 | russell | 2008-05-29 17:24:29 -0500 (Thu, 29 May 2008) | 10 lines Fix a race condition in channel autoservice. There was still a small window of opportunity for a DTMF frame, or some other deferred frame type, to come in and get dropped. (closes issue #12656) (closes issue #12656) Reported by: dimas Patches: v3-12656.patch uploaded by dimas (license 88) -- with some modifications by me ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@119158 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-29Merged revisions 118955,118957 via svnmerge from tilghman1-0/+28
https://origsvn.digium.com/svn/asterisk/trunk ................ r118955 | tilghman | 2008-05-29 12:35:19 -0500 (Thu, 29 May 2008) | 11 lines Merged revisions 118953 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118953 | tilghman | 2008-05-29 12:20:16 -0500 (Thu, 29 May 2008) | 3 lines Add some debugging code that ensures that when we do deadlock avoidance, we don't lose the information about how a lock was originally acquired. ........ ................ r118957 | tilghman | 2008-05-29 12:39:50 -0500 (Thu, 29 May 2008) | 10 lines Merged revisions 118954 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118954 | tilghman | 2008-05-29 12:33:01 -0500 (Thu, 29 May 2008) | 2 lines Define also when not DEBUG_THREADS ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118958 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-29Merged revisions 118880 via svnmerge from murf1-33/+40
https://origsvn.digium.com/svn/asterisk/trunk ................ r118880 | murf | 2008-05-28 19:29:09 -0600 (Wed, 28 May 2008) | 54 lines Merged revisions 118858 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118858 | murf | 2008-05-28 18:25:28 -0600 (Wed, 28 May 2008) | 46 lines (closes issue #10668) (closes issue #11721) (closes issue #12726) Reported by: arkadia Tested by: murf These changes: 1. revert the changes made via bug 10668; I should have known that such changes, even tho they made sense at the time, seemed like an omission, etc, were actually integral to the CDR system via forkCDR. It makes sense to me now that forkCDR didn't natively end any CDR's, but rather depended on natively closing them all at hangup time via traversing and closing them all, whether locked or not. I still don't completely understand the benefits of setvar and answer operating on locked cdrs, but I've seen enough to revert those changes also, and stop messing up users who depended on that behavior. bug 12726 found reverting the changes fixed his changes, and after a long review and working on forkCDR, I can see why. 2. Apply the suggested enhancements proposed in 10668, but in a completely compatible way. ForkCDR will behave exactly as before, but now has new options that will allow some actions to be taken that will slightly modify the outcome and side-effects of forkCDR. Based on conversations I've had with various people, these small tweaks will allow some users to get the behavior they need. For instance, users executing forkCDR in an AGI script will find the answer time set, and DISPOSITION set, a situation not covered when the routines were first written. 3. A small problem in the cdr serializer would output answer and end times even when they were not set. This is now fixed. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118909 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27Merged revisions 118554 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r118554 | tilghman | 2008-05-27 14:21:03 -0500 (Tue, 27 May 2008) | 14 lines Merged revisions 118551 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118551 | tilghman | 2008-05-27 14:15:27 -0500 (Tue, 27 May 2008) | 6 lines When showing an error message for a command, don't shorten the command output, as it tends to confuse the user (it's fine for suggesting other commands, however). Reported by: seanbright (on #asterisk-dev) Fixed by: me ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118555 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27Merged revisions 118466 via svnmerge from tilghman1-7/+14
https://origsvn.digium.com/svn/asterisk/trunk ................ r118466 | tilghman | 2008-05-27 13:59:06 -0500 (Tue, 27 May 2008) | 16 lines Merged revisions 118465 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118465 | tilghman | 2008-05-27 13:58:09 -0500 (Tue, 27 May 2008) | 8 lines NULL character should terminate only commands back to the core, not log messages to the console. (closes issue #12731) Reported by: seanbright Patches: 20080527__bug12731.diff.txt uploaded by Corydon76 (license 14) Tested by: seanbright ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118471 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23Merged revisions 118161 via svnmerge from bbryant2-3/+34
https://origsvn.digium.com/svn/asterisk/trunk ........ r118161 | bbryant | 2008-05-23 16:19:42 -0500 (Fri, 23 May 2008) | 3 lines Add new functionality to http server that requires manager authentication for any path that includes a directory named 'private'. This patch also requires manager authentication for any POST's being sent to the server as well to help secure uploads. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118168 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23Merged revisions 118049 via svnmerge from russell1-0/+16
https://origsvn.digium.com/svn/asterisk/trunk ................ r118049 | russell | 2008-05-23 07:37:31 -0500 (Fri, 23 May 2008) | 17 lines Merged revisions 118048 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118048 | russell | 2008-05-23 07:30:53 -0500 (Fri, 23 May 2008) | 9 lines Don't declare a function that takes variable arguments as inline, because it's not valid, and on some compilers, will emit a warning. http://gcc.gnu.org/onlinedocs/gcc/Inline.html#Inline (closes issue #12289) Reported by: francesco_r Patches by Tilghman, final patch by me ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118050 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-22Merged revisions 117900 via svnmerge from tilghman1-0/+9
https://origsvn.digium.com/svn/asterisk/trunk ................ r117900 | tilghman | 2008-05-22 13:54:41 -0500 (Thu, 22 May 2008) | 10 lines Merged revisions 117899 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r117899 | tilghman | 2008-05-22 13:53:53 -0500 (Thu, 22 May 2008) | 2 lines Also remove preamble from asynchronous events (reported by jsmith on #asterisk-dev) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@117901 f38db490-d61c-443f-a65b-d21fe96a405b