aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-03-18Use autotagged externalsv1.6.0-beta6russell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta6@109549 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Importing files for 1.6.0-beta6 releaserussell3-0/+39062
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta6@109548 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Creating tag for the release of asterisk-1.6.0-beta6russell4-39057/+4
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta6@109547 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109545 via svnmerge from mmichelson1-3/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r109545 | mmichelson | 2008-03-18 12:00:53 -0500 (Tue, 18 Mar 2008) | 3 lines Add format attribute to printf-style functions in astmm.h ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109546 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Use autotagged externalsrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta6@109534 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Importing files for 1.6.0-beta6 releaserussell3-0/+39054
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta6@109532 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Creating tag for the release of asterisk-1.6.0-beta6russell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0-beta6@109524 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109475 via svnmerge from kpfleming3-12/+15
https://origsvn.digium.com/svn/asterisk/trunk ........ r109475 | kpfleming | 2008-03-18 11:23:05 -0500 (Tue, 18 Mar 2008) | 2 lines fix up various warnings found via the addition of format string checking... some of these were really, really bad code ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109487 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109447 via svnmerge from russell31-127/+137
https://origsvn.digium.com/svn/asterisk/trunk ........ r109447 | twilson | 2008-03-18 10:43:34 -0500 (Tue, 18 Mar 2008) | 3 lines Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not actual problems, per se. I also added format attributes to any printf wrapper functions I found that didn't have them. -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109459 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 109394 via svnmergerussell0-0/+0
........ r109394 | qwell | 2008-03-18 10:10:45 -0500 (Tue, 18 Mar 2008) | 1 line Block this here. Already committed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109458 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 109316 via svnmergerussell0-0/+0
........ r109316 | oej | 2008-03-18 02:23:45 -0500 (Tue, 18 Mar 2008) | 7 lines Add manager peerstatus events when peer can't authenticate. (closes issue #11959) Reported by: mostyn Patches: peerstatus3.patch uploaded by mostyn (license 398) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109457 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 109172 via svnmergerussell0-0/+0
........ r109172 | mvanbaak | 2008-03-17 12:58:34 -0500 (Mon, 17 Mar 2008) | 3 lines block rev 109171 that is already here ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109456 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 109169 via svnmergerussell0-0/+0
........ r109169 | murf | 2008-03-17 12:47:36 -0500 (Mon, 17 Mar 2008) | 20 lines (closes issue #12238) Reported by: mvanbaak Tested by: murf, mvanbaak Due to a bug that occurred when merge_contexts_and_delete scanned the "old" or existing contexts, and found a context that doesn't exist in the new set, yet owned by a different registrar. The context is created in the new set, with the old registrar, and and all the priorities and extens that have a different registrar are copied into it. But, not the includes, ignorepats, and switches. I added code to do this immediately after the context is created. This still leaves a logical hole in the code. If you define a context in two places, (eg. in extensions.conf and also in extensions.ael), and they both have includes, but different in composition, no new context will be generated, and therefore the 'old' includes, switches, and ignorepats will not be copied. I'd have added code to simply add any non-duplicates into the 'new' context that had a different registrar, but there is one big complication: includes, and switches are definitely order dependent. (ignorepats I'm not sure about). And we'll have to develop some sort of policy about how we merge order dependent lists, especially if the intersection of the two sets is empty. (in other words, they do not have any elements in common). Do the new go first, or the old? I've elected to punt this issue until a user complains. Hopefully, this is pretty rare thing. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109455 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109111 via svnmerge from russell1-0/+10
https://origsvn.digium.com/svn/asterisk/trunk ........ r109111 | qwell | 2008-03-17 11:37:31 -0500 (Mon, 17 Mar 2008) | 10 lines Add sample events for aastra phones. aastra-check-cfg is the same as the other check-cfg entries, and aastra-xml is to load a pre-configured xml script. (closes issue #12229) Reported by: gowen72 Patches: aastra.patch uploaded by gowen72 (license 432) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109454 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109451 via svnmerge from kpfleming3-9253/+2718
https://origsvn.digium.com/svn/asterisk/trunk ........ r109451 | kpfleming | 2008-03-18 10:50:29 -0500 (Tue, 18 Mar 2008) | 2 lines ensure that dependencies on AST_C_DEFINE_CHECK symbols work properly ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109453 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 109058 via svnmergerussell0-0/+0
................ r109058 | qwell | 2008-03-17 10:16:41 -0500 (Mon, 17 Mar 2008) | 11 lines Blocked revisions 109057 via svnmerge ........ r109057 | qwell | 2008-03-17 10:15:56 -0500 (Mon, 17 Mar 2008) | 4 lines Backport revision 106439 from trunk. I didn't realize this was broken in 1.4 as well. Closes issue #12222. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109452 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 109054 via svnmergerussell0-0/+0
........ r109054 | file | 2008-03-17 09:37:40 -0500 (Mon, 17 Mar 2008) | 4 lines Make sure that the temporary sip_request structure is empty so that copy_request doesn't think it already has an ast_str. (closes issue #12231) Reported by: IgorG ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109450 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 108962 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r108962 | mvanbaak | 2008-03-16 16:50:58 -0500 (Sun, 16 Mar 2008) | 15 lines Merged revisions 108961 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108961 | mvanbaak | 2008-03-16 22:47:10 +0100 (Sun, 16 Mar 2008) | 7 lines add missing break to case AST_CONTROL_SRCUPDATE (closes issue #12228) Reported by: andrew Patches: SRC.patch uploaded by andrew (license 240) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109449 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Blocked revisions 108857 via svnmergerussell0-0/+0
........ r108857 | russell | 2008-03-14 16:20:36 -0500 (Fri, 14 Mar 2008) | 2 lines Doxygenify dnsmgr.h ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109448 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109396 via svnmerge from file2-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r109396 | file | 2008-03-18 12:13:07 -0300 (Tue, 18 Mar 2008) | 3 lines Make sure values are interpreted as character strings and not format strings. (AST-2008-004) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109398 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109357 via svnmerge from murf15-18/+122
https://origsvn.digium.com/svn/asterisk/trunk ................ r109357 | murf | 2008-03-18 08:09:50 -0600 (Tue, 18 Mar 2008) | 25 lines Merged revisions 109309 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109309 | murf | 2008-03-18 00:37:15 -0600 (Tue, 18 Mar 2008) | 17 lines (closes issue #11903) Reported by: atis Many thanks to atis for spotting this problem and reporting it. The fix was to straighten out how items are placed on and removed from the file stack. Regressions as well as the provided test case helped to straighten out all code paths. valgrind was used to make sure all memory allocated was freed. Sorry for not solving this earlier. I got distracted. Added the ntest23 regression test, which is mainly a copy of ntest22, but with a few juicy errors thrown in, to replicate the kind of error that atis spotted. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109397 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109389 via svnmerge from qwell1-2/+0
https://origsvn.digium.com/svn/asterisk/trunk ........ r109389 | qwell | 2008-03-18 10:07:04 -0500 (Tue, 18 Mar 2008) | 3 lines Do not return with a successful authentication if the From header ends up empty. (AST-2008-003) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109395 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109390 via svnmerge from file2-30/+40
https://origsvn.digium.com/svn/asterisk/trunk ................ r109390 | file | 2008-03-18 12:08:09 -0300 (Tue, 18 Mar 2008) | 11 lines Merged revisions 109386 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109386 | file | 2008-03-18 11:58:39 -0300 (Tue, 18 Mar 2008) | 3 lines Put a maximum limit on the number of payloads accepted, and also make sure a given payload does not exceed our maximum value. (AST-2008-002) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109392 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109282 via svnmerge from seanbright2-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r109282 | seanbright | 2008-03-17 20:28:39 -0400 (Mon, 17 Mar 2008) | 1 line Fix a typo ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109283 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Merged revisions 109229 via svnmerge from twilson52-16309/+9611
https://origsvn.digium.com/svn/asterisk/trunk ........ r109229 | twilson | 2008-03-17 17:10:06 -0500 (Mon, 17 Mar 2008) | 5 lines Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory. This does introduce a dependency on the GMime library for handling HTTP POSTs, but it is available in most distros. If the library is present, then the compile flag for ENABLE_UPLOADS is enabled by default in menuselect. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109254 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Merged revisions 109227 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r109227 | mmichelson | 2008-03-17 17:06:44 -0500 (Mon, 17 Mar 2008) | 20 lines Merged revisions 109226 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109226 | mmichelson | 2008-03-17 17:05:49 -0500 (Mon, 17 Mar 2008) | 12 lines Fix a logic flaw in the code that stores lock info which is displayed via the "core show locks" command. The idea behind this section of code was to remove the previous lock from the list if it was a trylock that had failed. Unfortunately, instead of checking the status of the previous lock, we were referencing the index immediately following the previous lock in the lock_info->locks array. The result of this problem, under the right circumstances, was that the lock which we currently in the process of attempting to acquire could "overwrite" the previous lock which was acquired. While this does not in any way affect typical operation, it *could* lead to misleading "core show locks" output. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109228 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Merged revisions 109168 via svnmerge from mvanbaak1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r109168 | mvanbaak | 2008-03-17 18:43:46 +0100 (Mon, 17 Mar 2008) | 11 lines Update the directory of placed calls on skinny phones when dialing a channel that does not provide progress (analog ZAP lines) The phone does handle the double update on calls to channels that do provide progress and wont insert duplicate items (closes issue #12239) Reported by: DEA Patches: chan_skinny-call-log.txt uploaded by DEA (license 3) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109175 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Merged revisions 109166 via svnmerge from kpfleming4-384/+147
https://origsvn.digium.com/svn/asterisk/trunk ........ r109166 | kpfleming | 2008-03-17 12:31:46 -0500 (Mon, 17 Mar 2008) | 3 lines don't define Zaptel features as libraries, they aren't, and we don't want '--with-zaptel-<foo>' configure options for them also some minor cleanups ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109167 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Blocked revisions 109113 via svnmergefile0-0/+0
........ r109113 | file | 2008-03-17 13:47:02 -0300 (Mon, 17 Mar 2008) | 2 lines Remove something that is never ever used. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109114 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Merged revisions 109108 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r109108 | file | 2008-03-17 13:26:36 -0300 (Mon, 17 Mar 2008) | 12 lines Merged revisions 109107 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109107 | file | 2008-03-17 13:24:29 -0300 (Mon, 17 Mar 2008) | 4 lines 200 OKs in response to a reinvite need to be sent reliably. If the remote side does not receive one the dialog will be torn down. (closes issue #12208) Reported by: atrash ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109109 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17Merged revisions 109024 via svnmerge from mmichelson1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r109024 | mmichelson | 2008-03-17 09:21:14 -0500 (Mon, 17 Mar 2008) | 14 lines Merged revisions 109012 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109012 | mmichelson | 2008-03-17 09:18:26 -0500 (Mon, 17 Mar 2008) | 6 lines Make sure that we release the lock on the spyee channel if the spyee or spy has hung up (closes issue #12232) Reported by: atis ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109027 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-16Blocked revisions 108929 via svnmergerussell0-0/+0
........ r108929 | russell | 2008-03-16 12:55:53 -0500 (Sun, 16 Mar 2008) | 2 lines Remove an unnecessary thread attribute instance ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108930 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-16Merged revisions 108927 via svnmerge from russell1-0/+10
https://origsvn.digium.com/svn/asterisk/trunk ........ r108927 | russell | 2008-03-16 12:53:46 -0500 (Sun, 16 Mar 2008) | 7 lines Fix polling for mailbox changes in mailboxes that are not in the default vm context. (closes issue #12223) Reported by: DEA Patches: vm-polled-imap.txt uploaded by DEA (license 3) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108928 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-15Blocked revisions 108894 via svnmergerussell0-0/+0
........ r108894 | russell | 2008-03-15 11:21:04 -0500 (Sat, 15 Mar 2008) | 8 lines Remove a double write lock of the contexts lock in ast_wrlock_contexts(). How did this ever work? (closes issue #12219) Reported by: ys Patches: pbx.c.diff uploaded by ys (license 281) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108895 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108799 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r108799 | russell | 2008-03-14 15:14:06 -0500 (Fri, 14 Mar 2008) | 8 lines Make sure configure is run before menuselect on a clean checkout (closes issue #12197) Reported by: juggie Patches: 12197.diff uploaded by juggie (license 24) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108800 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108797 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r108797 | russell | 2008-03-14 15:09:37 -0500 (Fri, 14 Mar 2008) | 13 lines Merged revisions 108796 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108796 | russell | 2008-03-14 15:09:22 -0500 (Fri, 14 Mar 2008) | 5 lines Fix a channel name issue. chan_oss registers the "Console" channel type, but it created channels with an "OSS" prefix. (closes issue #12194, reported by davidw, patched by me) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108798 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Blocked revisions 108404,108439,108523,108639 via svnmergerussell0-0/+0
........ r108404 | jpeeler | 2008-03-13 13:59:04 -0500 (Thu, 13 Mar 2008) | 6 lines (closes issue #11827) Reported by: ctooley Patches: eivr_tcp_generic.patch uploaded by jpeeler (license 325) This change adds the ability to communicate over a TCP socket instead of forking a child process. ........ r108439 | russell | 2008-03-13 14:54:44 -0500 (Thu, 13 Mar 2008) | 8 lines Merge changes from team/jamesgolovich/chan_sip-ast_str This set of changes removes the hard coded maximum packet size of 4kB from chan_sip. It now starts by allocating 1kB, and growing the buffer as needed to accommodate large packets. (closes issue #8556, reported by mikma, patch by jamesgolovich) ........ r108523 | jpeeler | 2008-03-13 15:38:56 -0500 (Thu, 13 Mar 2008) | 1 line set variable to NULL to prevent uninitialized warning ........ r108639 | jpeeler | 2008-03-13 18:12:59 -0500 (Thu, 13 Mar 2008) | 1 line documenting changes as a result of adding TCP functionality to ExternalIVR ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108793 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r108793 | russell | 2008-03-14 15:04:56 -0500 (Fri, 14 Mar 2008) | 12 lines Merged revisions 108792 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108792 | russell | 2008-03-14 15:04:35 -0500 (Fri, 14 Mar 2008) | 4 lines Update the SuSE init script to start networking before asterisk, as well. (closes issue #12200, reported by and change suggested by reinerotto) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108794 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108740 via svnmerge from russell2-17/+39
https://origsvn.digium.com/svn/asterisk/trunk ........ r108740 | russell | 2008-03-14 12:05:11 -0500 (Fri, 14 Mar 2008) | 5 lines Do a link test in AST_EXT_TOOL_CHECK() to ensure we have all the required libs reported by the tool. (closes issue #12067, reported by Juggie, patched by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108741 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108738 via svnmerge from mmichelson1-7/+27
https://origsvn.digium.com/svn/asterisk/trunk ................ r108738 | mmichelson | 2008-03-14 11:52:51 -0500 (Fri, 14 Mar 2008) | 41 lines Merged revisions 108737 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108737 | mmichelson | 2008-03-14 11:44:08 -0500 (Fri, 14 Mar 2008) | 33 lines Fix a race condition in the SIP packet scheduler which could cause a crash. chan_sip uses the scheduler API in order to schedule retransmission of reliable packets (such as INVITES). If a retransmission of a packet is occurring, then the packet is removed from the scheduler and retrans_pkt is called. Meanwhile, if a response is received from the packet as previously transmitted, then when we ACK the response, we will remove the packet from the scheduler and free the packet. The problem is that both the ACK function and retrans_pkt attempt to acquire the same lock at the beginning of the function call. This means that if the ACK function acquires the lock first, then it will free the packet which retrans_pkt is about to read from and write to. The result is a crash. The solution: 1. If the ACK function fails to remove the packet from the scheduler and the retransmit id of the packet is not -1 (meaning that we have not reached the maximum number of retransmissions) then release the lock and yield so that retrans_pkt may acquire the lock and operate. 2. Make absolutely certain that the ACK function does not recursively lock the lock in question. If it does, then releasing the lock will do no good, since retrans_pkt will still be unable to acquire the lock. (closes issue #12098) Reported by: wegbert (closes issue #12089) Reported by: PTorres Patches: 12098-putnopvutv3.patch uploaded by putnopvut (license 60) Tested by: jvandal ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108739 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108683 via svnmerge from qwell1-12/+15
https://origsvn.digium.com/svn/asterisk/trunk ................ r108683 | qwell | 2008-03-14 09:32:55 -0500 (Fri, 14 Mar 2008) | 12 lines Merged revisions 108682 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108682 | qwell | 2008-03-14 09:29:05 -0500 (Fri, 14 Mar 2008) | 4 lines Fix a potential segfault if chan (or chan->music_state) is NULL. Closes issue #12210, credit to edantie for pointing this out. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108684 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108586 via svnmerge from mmichelson1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r108586 | mmichelson | 2008-03-13 16:47:55 -0500 (Thu, 13 Mar 2008) | 3 lines Make this compile ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108587 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108584 via svnmerge from russell3-1/+32
https://origsvn.digium.com/svn/asterisk/trunk ................ r108584 | russell | 2008-03-13 16:40:43 -0500 (Thu, 13 Mar 2008) | 19 lines Merged revisions 108583 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108583 | russell | 2008-03-13 16:38:16 -0500 (Thu, 13 Mar 2008) | 11 lines Fix another issue that was causing crashes in chanspy. This introduces a new datastore callback, called chan_fixup(). The concept is exactly like the fixup callback that is used in the channel technology interface. This callback gets called when the owning channel changes due to a masquerade. Before this was introduced, if a masquerade happened on a channel being spyed on, the channel pointer in the datastore became invalid. (closes issue #12187) (reported by, and lots of testing from atis) (props to file for the help with ideas) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108585 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108529 via svnmerge from mmichelson1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r108529 | mmichelson | 2008-03-13 15:59:00 -0500 (Thu, 13 Mar 2008) | 11 lines Fixing a potential buffer overflow in the manager command ModuleCheck. Though this overflow is exploitable remotely, we are NOT issuing a security advisory for this since in order to exploit the overflow, the attacker would have to establish an authenticated manager session AND have the system privilege. By gaining this privilege, the attacker already has more powerful weapons at his disposal than overflowing a buffer with a malformed manager header, so the vulnerability in this case really lies with the authentication method that allowed the attacker to gain the system privilege in the first place. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108582 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108531 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r108531 | russell | 2008-03-13 16:06:52 -0500 (Thu, 13 Mar 2008) | 18 lines Merged revisions 108530 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108530 | russell | 2008-03-13 16:06:33 -0500 (Thu, 13 Mar 2008) | 10 lines Make a tweak that gets the LEDs on polycom phones to blink when an extension that has been subscribed to goes on hold. Otherwise, they just stay on like it does when an extension is in use. (closes issue #11263) Reported by: russell Patches: notify_hold.rev1.txt uploaded by russell (license 2) Tested by: russell ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108532 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108508 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r108508 | russell | 2008-03-13 15:35:28 -0500 (Thu, 13 Mar 2008) | 2 lines Fix a place where configuration values could cause an overflow of a buffer. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108510 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108472 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r108472 | russell | 2008-03-13 15:26:59 -0500 (Thu, 13 Mar 2008) | 12 lines Merged revisions 108469 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108469 | russell | 2008-03-13 15:26:28 -0500 (Thu, 13 Mar 2008) | 4 lines Fix a couple uses of sprintf. The second one could actually cause an overflow of a stack buffer. It's not a security issue though, it only depends on your configuration. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108474 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-12Blocked revisions 107721,107787,107790,107928,108034 via svnmergerussell0-0/+0
........ r107721 | tilghman | 2008-03-11 15:58:42 -0500 (Tue, 11 Mar 2008) | 2 lines Add contributed script for separation of database access from Asterisk ........ r107787 | russell | 2008-03-11 17:21:19 -0500 (Tue, 11 Mar 2008) | 6 lines Add a trivial new dialplan function, AST_CONFIG(), which allows you to access a variable from an Asterisk configuration file in the dialplan, or anywhere else where dialplan functions can be used. (Inspired by a discussion with Tilghman and Pari) ........ r107790 | russell | 2008-03-11 17:54:25 -0500 (Tue, 11 Mar 2008) | 2 lines remove documentation of an argument that i did not implement ........ r107928 | tilghman | 2008-03-11 21:53:21 -0500 (Tue, 11 Mar 2008) | 2 lines Cache config files, when possible, for speed ........ r108034 | russell | 2008-03-12 12:06:37 -0500 (Wed, 12 Mar 2008) | 4 lines - Add Tilghman to the copyright info ... he wrote the hard part :) - Remove some magic in unload_module that isn't needed. Module use counts already ensure that the function isn't going to be in use at this point. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108359 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-12Blocked revisions 107719 via svnmergerussell0-0/+0
........ r107719 | russell | 2008-03-11 15:54:32 -0500 (Tue, 11 Mar 2008) | 8 lines This patch adds support for extended help prompts in voicemail. These prompts are in the 1.4.9 sounds release. (closes issue #11705) Reported by: jaroth Patches: helpprompts.patch uploaded by jaroth (license 50) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108358 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-12Blocked revisions 107551 via svnmergerussell0-0/+0
........ r107551 | tilghman | 2008-03-11 11:28:03 -0500 (Tue, 11 Mar 2008) | 2 lines Whitespace changes only ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108357 f38db490-d61c-443f-a65b-d21fe96a405b