aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-07-05Add the ability to play an announcement to queue caller just before bridgingqwell1-0/+11
Issue 7479, patch by tristan_mahe. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73549 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Remove directory creation of directories we've never used.tilghman1-12/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73432 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73400 via svnmerge from mmichelson1-1/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r73400 | mmichelson | 2007-07-05 10:59:41 -0500 (Thu, 05 Jul 2007) | 5 lines Correcting a minor CLI bug I found. When issuing the queue show command, if you type queue show and then press tab, you can continue pressing tab and it will keep auto-completing queue names even though only 1 queue can be used as an argument. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73402 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73355 via svnmerge from file1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r73355 | file | 2007-07-05 11:21:44 -0300 (Thu, 05 Jul 2007) | 10 lines Merged revisions 73349 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73349 | file | 2007-07-05 11:19:14 -0300 (Thu, 05 Jul 2007) | 2 lines Tweak spy locking. (issue #9951 reported by welles) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73316 via svnmerge from file1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r73316 | file | 2007-07-05 10:22:13 -0300 (Thu, 05 Jul 2007) | 10 lines Merged revisions 73315 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73315 | file | 2007-07-05 10:19:17 -0300 (Thu, 05 Jul 2007) | 2 lines Reset ServicelevelPerf variable back to 0 if we are unable to calculate it each time... otherwise we will get previous values. (issue #10117 reported by noriyuki) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73317 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03mkstemp doesn't specify a file mode, so we should chmod it to ↵qwell1-0/+5
VOICEMAIL_FILE_MODE Taken from a larger patch by ltd - the rest of which is no longer necessary in trunk. Closes issue #9231 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Fix a build warning, and potential issue if option p is not set at all.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73174 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Add support for changing the exit key from # to any DTMF.qwell1-7/+27
This does not break existing configs - the arguments to p are optional. Issue 8827, initial patch by junky, mostly rewritten by fw to re-use option p, further modified by me. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73144 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Fix up the device state processing thread in app_queue so that it's notrussell1-2/+4
possible for there to be entries in the queue and the thread is just sleeping (Thanks to mmichelson for bringing the problem to my attention) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73127 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Merged revisions 73053 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r73053 | tilghman | 2007-07-03 07:38:53 -0500 (Tue, 03 Jul 2007) | 10 lines Merged revisions 73052 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73052 | tilghman | 2007-07-03 07:34:14 -0500 (Tue, 03 Jul 2007) | 2 lines RetryDial should accept a 0 argument, but it does not, because atoi does not distinguish between 0 and error (closes issue #10106) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73054 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Typo (closes issue 10105)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73003 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29Found a grievous logical error in get_vm_state_by_imapuser.mmichelson1-11/+9
The imapuser being passed in was never getting compared to imapusers of any of the vm_states in the vmstates list. I also found some places in the code where I used my typical brace style and changed it to match the typical Asterisk brace style. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72670 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28move variable declarations to the beginning of a block.rizzo1-2/+4
Not applicable to previous branches. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72457 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28move variable declarations to the beginning of a block.rizzo1-3/+3
Not applicable to previous branches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72455 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72381 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72381 | file | 2007-06-27 19:25:12 -0400 (Wed, 27 Jun 2007) | 10 lines Merged revisions 72378 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun 2007) | 2 lines Update documentation to clarify variable usage with MixMonitor. (issue #9494 reported by netoguy) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72382 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72328 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72328 | file | 2007-06-27 18:45:49 -0400 (Wed, 27 Jun 2007) | 10 lines Merged revisions 72327 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72330 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Added ability to customize which buttons control forward, reverse, pause, ↵mmichelson1-1/+53
and stop during message playback. (closes issue 9474, reported and patched by jaroth with modifications by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Adding feature to support the storage and retrieval of voicemail greetings ↵mmichelson1-33/+222
using IMAP storage. This feature may be turned on by adding imapgreetings=yes to the general section of voicemail.conf voicemail.conf.sample has details on the options added. As a result, IMAP storage now has RETRIEVE and DISPOSE macros defined. In addition to the IMAP greeting changes, I also have added an enum for the voicemail folders and so now the code should be easier to understand and maintain when it comes to this area. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72232 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72182 via svnmerge from qwell1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72182 | qwell | 2007-06-27 13:36:56 -0500 (Wed, 27 Jun 2007) | 4 lines Fix another problem in voicemail with missing symbols. Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72183 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Merged revisions 71953 via svnmerge from mmichelson1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71953 | mmichelson | 2007-06-26 18:02:09 -0500 (Tue, 26 Jun 2007) | 4 lines Removing a pointless line. This variable was already set earlier and between then and this line, there is no way that the values on the right side of the assignment could have changed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71954 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26The variable msgnum was being overwritten if IMAP storage was enabled.mmichelson1-0/+2
Put necessary #ifndef's around the line which would overwrite. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71952 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Create directory if it does not exist.mmichelson1-2/+8
(Closes issue 10061, Reported and patched by eliel) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71914 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Merged revisions 71877 via svnmerge from mmichelson1-21/+25
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71877 | mmichelson | 2007-06-26 14:00:05 -0500 (Tue, 26 Jun 2007) | 11 lines A few changes, the ultimate goal of which is to keep better track of the number of messages that a mailbox currently has. A description of the changes: 1. Changed the "updated" field of the vm_state struct to act more as a binary semaphore than a counting semaphore, since its current implementation made the inboxcount function not work properly. This change falls in line with a change made by UPenn with their IMAP setup and helps to sync our changes with theirs. 2. Eliminated some redundant calls to get_vm_state_by_mailbox inside leave_voicemail 3. Use the play_folder variable to keep track of the number of old and new messages in a mailbox as the messages are deleted 4. Added an increment to the number of new messages that was not there previously in the leave_voicemail function ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71883 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Merged revisions 71796 via svnmerge from mmichelson1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71796 | mmichelson | 2007-06-26 10:47:31 -0500 (Tue, 26 Jun 2007) | 5 lines Fixing bug where the authuser was mistakenly pulled from the mailbox string instead of the IMAP user. (closes issue 10054, reported and patched by jaroth) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71797 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Merged revisions 71751 via svnmerge from tilghman1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71751 | tilghman | 2007-06-26 07:27:47 -0500 (Tue, 26 Jun 2007) | 10 lines Merged revisions 71750 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007) | 2 lines Issue 10062 - Trying to move a message without selecting one first results in memory corruption ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71752 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25In my commit earlier today, I accidentally left a prototype that isn't defined.mmichelson1-1/+0
This gets rid of that prototype. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71721 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Allow compilation off app_voicemail with IMAP_STORAE against a system installedrussell1-1/+11
version of the c-client library. (issue #10047, jcollie) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71688 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Using inboxcount instead of countmessages.mmichelson1-2/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71630 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Conversions to ast_debug()russell5-8/+10
(issue #9984, patches from eliel and dimas) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71338 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Issue 9970 - Ensure directory exists before trying to write an output filetilghman1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71268 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Code cleanupstilghman1-344/+345
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71190 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 71068 via svnmerge from qwell1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71068 | qwell | 2007-06-22 10:00:30 -0500 (Fri, 22 Jun 2007) | 12 lines Merged revisions 71065 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines Fix a few silly usages of ast_playstream() - it only ever returns 0... Issue 10035 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Issue 9990 - New API ast_mkdir, which creates parent directories as ↵tilghman6-59/+24
necessary (and is faster than an outcall to mkdir -p) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71040 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Merged revisions 70899 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r70899 | file | 2007-06-21 17:40:19 -0400 (Thu, 21 Jun 2007) | 10 lines Merged revisions 70898 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2 lines Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70900 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Merged revisions 70808 via svnmerge from mmichelson1-11/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r70808 | mmichelson | 2007-06-21 14:49:44 -0500 (Thu, 21 Jun 2007) | 4 lines When volgain is used don't leave a temporary file behind. (Closes Issue 8514, Reported and patched by ulogic, code reviewed by Jason Parker) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70809 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Merge changes from team/russell/sla_reloadrussell1-9/+103
* Add support for the reload of sla.conf (closes issue #9481, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Merged revisions 70726 via svnmerge from russell1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r70726 | russell | 2007-06-21 10:21:16 -0500 (Thu, 21 Jun 2007) | 2 lines Remove a couple of duplicate unlocks ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Merged revisions 70677 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r70677 | file | 2007-06-21 09:58:36 -0400 (Thu, 21 Jun 2007) | 2 lines Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Removed an extraneous debug message I'd left in my previous commitmmichelson1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70611 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Fix trunk brokenness; also, optimize application registrationtilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70610 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Cleaning up a small disaster I created earliermurf2-24/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70607 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20As per 9228, now app_queue should have the proper machinery to do gosubs.murf2-9/+50
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70531 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Main fix: Fixing a bug which caused VoiceMailMain to always report that mmichelson1-15/+34
you had 0 messages when using IMAP storage. Secondary fixes: adding locks to list access in several places Big thanks to Russell Bryant for helping out with this. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70530 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Merged revisions 70445 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r70445 | tilghman | 2007-06-20 14:29:23 -0500 (Wed, 20 Jun 2007) | 10 lines Merged revisions 70444 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70444 | tilghman | 2007-06-20 14:25:54 -0500 (Wed, 20 Jun 2007) | 2 lines Issue 9997 - Timelimit times out the wrong channel ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70446 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Merge work to make U(...) option work for Dialtilghman1-7/+56
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70358 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Oops, shouldn't have taken that last shortcut (also add some checks)tilghman1-27/+37
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Another method of doing local variables, hopefully a little closer to what ↵tilghman1-15/+20
codefreeze had in mind git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70272 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Local variables for codefreezetilghman1-2/+88
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70253 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19Via bug9228, no way to create macros via AEL, and some of the apps allow you ↵murf3-11/+254
to call macros..., I modded the apps that allow macro calls to allow gosubs calls also, to make them AEL compliant. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70161 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19Merged revisions 69895 via svnmerge from file1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r69895 | file | 2007-06-19 09:55:25 -0400 (Tue, 19 Jun 2007) | 10 lines Merged revisions 69894 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r69894 | file | 2007-06-19 09:54:03 -0400 (Tue, 19 Jun 2007) | 2 lines Perform an extra hangup check just in case. (issue #9589 reported by bcnit) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69896 f38db490-d61c-443f-a65b-d21fe96a405b