aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-10-11Make sure we propogate ANI2 to the outbound channelmattf1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85499 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)russell3-182/+207
(closes issue #10724) Reported by: eliel Patches: chan_skinny.c.patch uploaded by eliel (license 64) chan_oss.c.patch uploaded by eliel (license 64) chan_mgcp.c.patch2 uploaded by eliel (license 64) pbx_config.c.patch uploaded by seanbright (license 71) iax2-provision.c.patch uploaded by eliel (license 64) chan_gtalk.c.patch uploaded by eliel (license 64) pbx_ael.c.patch uploaded by seanbright (license 71) file.c.patch uploaded by seanbright (license 71) image.c.patch uploaded by seanbright (license 71) cli.c.patch uploaded by moy (license 222) astobj2.c.patch uploaded by moy (license 222) asterisk.c.patch uploaded by moy (license 222) res_limit.c.patch uploaded by seanbright (license 71) res_convert.c.patch uploaded by seanbright (license 71) res_crypto.c.patch uploaded by seanbright (license 71) app_osplookup.c.patch uploaded by seanbright (license 71) app_rpt.c.patch uploaded by seanbright (license 71) app_mixmonitor.c.patch uploaded by seanbright (license 71) channel.c.patch uploaded by seanbright (license 71) translate.c.patch uploaded by seanbright (license 71) udptl.c.patch uploaded by seanbright (license 71) threadstorage.c.patch uploaded by seanbright (license 71) db.c.patch uploaded by seanbright (license 71) cdr.c.patch uploaded by moy (license 222) pbd_dundi.c.patch uploaded by moy (license 222) app_osplookup-rev83558.patch uploaded by moy (license 222) res_clioriginate.c.patch uploaded by moy (license 222) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85460 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-10Merged revisions 85276 via svnmerge from mmichelson1-194/+23
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85276 | mmichelson | 2007-10-10 09:26:31 -0500 (Wed, 10 Oct 2007) | 5 lines A bunch of changes from sprintf to snprintf. See security advisory AST-2002-022 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85279 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-10Merged revisions 85242 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85242 | file | 2007-10-10 11:14:56 -0300 (Wed, 10 Oct 2007) | 6 lines Close voicemail message description file if duration did not meet the minimum, or else we will eventually run out of file descriptors. (closes issue #10918) Reported by: brak2718 Patches: vm1.4.12.1.patch uploaded by brak2718 (license 279) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85254 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09Patch to add one-touch parking for queues.mmichelson1-0/+10
(closes issue #10869, reported and patched by bluecrow76) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85177 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09Remove redundant includes (patch by snuffy) (Closes issue #10922)tilghman5-7/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85140 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04A two-in-one patch from the bugtrackermmichelson1-1/+12
1) Fix some bad logic in the counting of statistics for QueueSummary manager event. Variables were not being reset for each additional queue, so cumulative totals were reported on each successive queue. 2) Add a longest hold time stat to QueueSummary manager event. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84726 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04Merged revisions 84692 via svnmerge from mmichelson1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84692 | mmichelson | 2007-10-04 16:57:03 -0500 (Thu, 04 Oct 2007) | 5 lines Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good. closes issue (#10879, reported by dazza76, patched by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84693 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04Merged revisions 84637 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84637 | file | 2007-10-04 11:51:57 -0300 (Thu, 04 Oct 2007) | 4 lines Create a duplicate of the channel's member name as the tab completion stuff will free it. (closes issue #10884) Reported by: adamg ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84638 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Corydon posted this janitor project to the bug tracker and mvanbaak providedrussell2-2/+2
a patch for it. It replaces a bunch of simple calls to snprintf with ast_copy_string (closes issue #10843) Reported by: Corydon76 Patches: 2007092900_10843.diff uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84173 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Merged revisions 84166 via svnmerge from russell1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84166 | russell | 2007-10-01 09:24:49 -0500 (Mon, 01 Oct 2007) | 2 lines Simplify the CAN_EARLY_BRIDGE macro a bit. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84167 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Merged revisions 84158 via svnmerge from file1-5/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84158 | file | 2007-10-01 10:49:36 -0300 (Mon, 01 Oct 2007) | 4 lines Only attempt early bridging if the options given to Dial() permit it. (closes issue #10861) Reported by: peekyb ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84159 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24interface_exists_global was never returning 1. Most likely an error from my ↵mmichelson1-0/+1
merge on Friday. (closes issue #10817, reported and patched by snar, patch simplified by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-22Add the MeetmeList and Reload manager commands, which supplement the need to ↵tilghman1-0/+78
have Command privilege. (closes issue #10736) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83532 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21Fix some areas where we were still using '|' for an argument delimiter ↵tilghman1-28/+42
(closes issue #10793) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83484 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21Update app_queue to use commas as application argument separators.russell1-2/+2
(closes issue #10793, snar) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83483 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20More NEW_CLI conversions.qwell2-168/+188
(issue #10724) Patches: app_playback.c.patch uploaded by moy (license 222) app_minivm.c.patch uploaded by eliel (license 64) astmm.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20Merging changes from queue_refcount_trunk into trunk. Refcounted queues now ↵mmichelson1-249/+261
in place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83350 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20Merged revisions 83246 via svnmerge from qwell1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83246 | qwell | 2007-09-20 12:09:14 -0500 (Thu, 20 Sep 2007) | 8 lines If # is pressed after dialing an extension in DISA, stop trying to collect more digits. (closes issue #10754) Reported by: atis Patches: app_disa.c.branch.patch uploaded by atis (license 242) app_disa.c.trunk.patch uploaded by atis (license 242) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83251 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19More conversions to NEW_CLIqwell3-331/+364
(issue #10724) Patches: chan_zap.c.patch uploaded by moy (license 222) app_queue.c.patch uploaded by eliel (license 64) app_voicemail.c.patch uploaded by eliel (license 64) app_meetme.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83213 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 83179 via svnmerge from russell1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83179 | russell | 2007-09-19 14:50:48 -0500 (Wed, 19 Sep 2007) | 5 lines The System() and TrySystem() applications can take a substantial amount of time to execute while not servicing the channel. So, put the channel in autoservice while the command is being executed. (closes issue #10726, reported by mnicholson) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83180 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Fix indentation in app_db.file1-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83157 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Clean up code in app_authenticate.file1-54/+44
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83156 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Clean up code in app_adsiprog.file1-182/+195
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83155 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19DISA only needs to know about the end of DTMF, not the beginning/duration.file1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83114 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Clean up app_disa code a bit.file1-55/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83105 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 83074 via svnmerge from file1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83074 | file | 2007-09-19 10:47:59 -0300 (Wed, 19 Sep 2007) | 6 lines Protect the CDR record from modification by pbx_exec so that the application data contains the Queue data. (closes issue #10761) Reported by: snar Patches: app-queue-mixmonitor.patch uploaded by snar (license 245) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83075 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 82992 via svnmerge from russell1-3/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82992 | russell | 2007-09-18 19:19:49 -0500 (Tue, 18 Sep 2007) | 4 lines Change the description of app_flash to note how it can be a useful tool instead of just saying that it is generally a worthless feature. (Thanks to Jim Van Meggelen for pointing it out and providing the proposed text) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82993 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18Merged revisions 82961 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82961 | file | 2007-09-18 20:41:02 -0300 (Tue, 18 Sep 2007) | 2 lines Initialize a variable to NULL to make the world happy. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82962 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18(closes issue #10739)qwell1-2/+11
Reported by: ruffle Patches: app_voicemail.c.diff uploaded by ruffle (license 201) 10739-moveheard.diff uploaded by qwell (license 4) Tested by: callguy, ruffle Add an option to disable the automatic moving of "heard" messages to the Old folder. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82871 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18Merged revisions 82865 via svnmerge from mmichelson1-15/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82865 | mmichelson | 2007-09-18 15:09:02 -0500 (Tue, 18 Sep 2007) | 4 lines Moving the logic for handling an empty membername to the create_member function so that there is a common place where this occurs instead of being spread out to several different places. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18Merged revisions 82834 via svnmerge from kpfleming1-6/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82834 | kpfleming | 2007-09-18 13:59:52 -0500 (Tue, 18 Sep 2007) | 2 lines there is no need for conditional logic to select ->interface or ->membername, snince ->membername will always be populated ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82835 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18(closes issue #10755)qwell1-1/+10
Reported by: snar Patches: app-queue-cdr-trunk.patch uploaded by snar (license 245) queues.conf.patch uploaded by snar (license 245) Add an updatecdr option to queues.conf, so that if a "member name" is specified, the cdr record will be updated with that, rather than the channel. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82800 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17convert various places that access the channel lock directly to use the ↵russell1-1/+1
channel lock wrappers git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Merged revisions 82676 via svnmerge from russell1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82676 | russell | 2007-09-17 15:16:25 -0500 (Mon, 17 Sep 2007) | 4 lines Put a memset in ast_localtime() instead of a couple places in app_voicemail to prevent the problem everywhere instead of just a couple of places. (related to issue #10746) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Merged revisions 82644 via svnmerge from russell1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82644 | russell | 2007-09-17 15:00:32 -0500 (Mon, 17 Sep 2007) | 6 lines Initialize some memory to fix crashes when leaving voicemail. This problem was fixed by running Asterisk under valgrind. (closes issue #10746, reported by arcivanov, patched by me) *** IMPORTANT NOTE: We need to check to see if this same bug exists elsewhere. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82660 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Make the MALLOC_DEBUG output for free() useful again. After changing calls torussell3-5/+5
free to be ast_free, astmm said all calls to free were coming from utils.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82628 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Merged revisions 82590,82592 via svnmerge from kpfleming1-4/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82590 | kpfleming | 2007-09-17 11:33:30 -0500 (Mon, 17 Sep 2007) | 2 lines fix a couple of places where a logical member name (if specified) was not used, but instead the direct interface was listed ........ r82592 | kpfleming | 2007-09-17 11:40:12 -0500 (Mon, 17 Sep 2007) | 2 lines revert a change that wasn't supposed to be committed... doh! ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82593 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-16Option maxmessage should be maxsecs per-folder, too (closes issue #10729)tilghman1-4/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82496 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Merged revisions 82396 via svnmerge from mmichelson1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82396 | mmichelson | 2007-09-14 13:28:36 -0500 (Fri, 14 Sep 2007) | 5 lines Adding member name field to manager events where they were missing before (closes issue #10721, reported by snar) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Changed "in" to "queue" in "queue {pause|unpause} member" command to be more ↵mmichelson1-5/+7
clear. Also added check to be sure that sixth argument is the word "reason" if full command is given git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82352 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Added the ability to pause and unpause members via the CLImmichelson1-0/+76
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82349 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Merged revisions 82346 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82346 | mmichelson | 2007-09-13 15:16:37 -0500 (Thu, 13 Sep 2007) | 4 lines Preemptively fixing a possible segfault. It is possible that queuename is NULL (meaning pause ALL queues), so use q->name instead. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82347 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Merged revisions 82326 via svnmerge from mmichelson1-1/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82326 | mmichelson | 2007-09-13 11:25:59 -0500 (Thu, 13 Sep 2007) | 7 lines Added logic to handle the unlikely case that someone has two queues with the same name. Asterisk will log a warning message letting the user know that one was already defined with that name and is it skipping all further instances. This also will work for realtime queues but in order for that to happen, the user would have to trigger a perfectly timed reload as a realtime queue is being looked up, which is highly unlikely (but taken care of nonetheless). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Fix a missing unref of a member struct. This was pointed out by Marta. Thanks!russell1-6/+2
This function in 1.4 didn't have the problem. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82311 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12Merged revisions 82285 via svnmerge from tilghman1-15/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82285 | tilghman | 2007-09-12 15:12:06 -0500 (Wed, 12 Sep 2007) | 4 lines Working on issue #10531 exposed a rather nasty 64-bit issue on ast_mktime, so we updated the localtime.c file from source. Next we'll have to write ast_strptime to match. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82290 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12Removed an unneeded ao2_ref. This was a problem because unless ↵mmichelson1-1/+0
get_member_status returned QUEUE_NORMAL, a NULL member would be unreferenced. While this didn't cause any crashes or anything terrible, it still is incorrect git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82289 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12Merged revisions 82286 via svnmerge from dhubbard1-2/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82286 | dhubbard | 2007-09-12 15:24:24 -0500 (Wed, 12 Sep 2007) | 1 line remove a race condition for the creation of recordthread's, and fix a small memory leak. This closes issue# 10636 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82287 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12Merged revisions 82274 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82274 | mmichelson | 2007-09-12 09:24:53 -0500 (Wed, 12 Sep 2007) | 6 lines We should only initialize a realtime queue when it is allocated, not every time we access it. This prevents the members ao2_container from being reallocated every time the queue is accessed. I also removed a debug message I had accidentally left in on a previous commit. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82275 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82267 via svnmerge from russell1-8/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82267 | russell | 2007-09-11 17:37:17 -0500 (Tue, 11 Sep 2007) | 3 lines Fix incorrect uses of ao2_find(). Every one of these calls was reading bogus memory ... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82269 f38db490-d61c-443f-a65b-d21fe96a405b