aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
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
2007-09-11Merged revisions 82263 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82263 | russell | 2007-09-11 15:49:34 -0500 (Tue, 11 Sep 2007) | 5 lines Fix another missing unref of member objects. This one was pointed out by Marta. When building the outgoing list in try_calling(), a member reference is stored in each outgoing entry. However, when this list got destroyed, the reference was not released. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82264 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82252 via svnmerge from mmichelson1-53/+53
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82252 | mmichelson | 2007-09-11 11:05:56 -0500 (Tue, 11 Sep 2007) | 6 lines All instances of ao2_iterators which were just named 'i' have been renamed to 'mem_iter' so that when refcounted queues are merged into trunk, there will be little confusion regarding iterator names, especially when a queue and member iterator are used in the same function. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82253 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11(closes issue #10560)file1-4/+4
Reported by: ruffle Patches: rb uploaded by ruffle (license 201) Show whether the conference is locked or not on the CLI. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82242 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82240 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82240 | russell | 2007-09-11 09:34:12 -0500 (Tue, 11 Sep 2007) | 2 lines Add a couple more missing unrefs of queue member objects ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82241 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82238 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82238 | russell | 2007-09-11 09:21:17 -0500 (Tue, 11 Sep 2007) | 2 lines Add a missing unref of a queue member in an error handling block ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82239 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82236 via svnmerge from russell1-1/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82236 | russell | 2007-09-11 09:09:43 -0500 (Tue, 11 Sep 2007) | 2 lines Document why membercount can not simply be replaced by ao2_container_count() ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82237 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-10Fixing a problem where NULL channels would cause a crash when calling ↵mmichelson1-4/+8
indisposed queue members (i.e. paused, wrapup time not completed, etc.) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82185 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-10Merged revisions 82155 via svnmerge from tilghman1-161/+183
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82155 | tilghman | 2007-09-10 13:02:02 -0500 (Mon, 10 Sep 2007) | 2 lines Convert struct member to use refcounts (closes issue #10199) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82178 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-10(closes issue #10686)file1-1/+1
Reported by: junky Patches: meet.diff uploaded by junky (license 177) Change NOTICE message to DEBUG. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82062 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-08Make Callerid more consistent in IMAP mail headersmmichelson1-10/+19
(closes issue #10056, reported and patched by jaroth, with small modification by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81984 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-07Merged revisions 81923 via svnmerge from qwell1-21/+21
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #10671) ........ r81923 | qwell | 2007-09-07 14:48:00 -0500 (Fri, 07 Sep 2007) | 5 lines Allow the MEMBERINTERFACE variable to be used as the mixmonitor filename. This moves the setting of the MEMBERINTERFACE variable to before mixmonitor. Issue 10671, patch by sim. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81924 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-07Add an optional reason parameter to PauseQueueMember/UnpauseQueueMember ↵qwell1-22/+39
applications and manager events. Issue 8738, patch by rgollent git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81910 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Merged revisions 81776 via svnmerge from file1-7/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81776 | file | 2007-09-06 16:40:37 -0300 (Thu, 06 Sep 2007) | 7 lines (closes issue #10122) Reported by: stevefeinstein Patches: meetme-unmute-manager.diff uploaded by qwell (license 4) Tested by: stevefeinstein After looking over the code I agree with Qwell. Setting the file descriptor to conference each time just causes a fight back and forth. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81777 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Merged revisions 81713 via svnmerge from mmichelson1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81713 | mmichelson | 2007-09-06 11:25:40 -0500 (Thu, 06 Sep 2007) | 6 lines Fixes an issue where valid DTMF had to be pressed twice to exit a queue if a member's phone was ringing. (closes issue #10655, reported by strider2k, patched by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81730 f38db490-d61c-443f-a65b-d21fe96a405b