aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-07-17Fixing an error I made earlier. ast_fileexists can return -1 on failure, so ↵mmichelson1-2/+2
I need to be sure that we only enter the if statement if it is successful. Related to my fix to issue #10186 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75405 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-16Restoring functionality from 1.2 wherein Retrydial will not exit if there is ↵mmichelson1-5/+16
no announce file specified. This change makes it so that if there is no announce file specified, the application will continue until finished (or caller hangs up). If a bogus announce file is specified, then a warning message will be printed saying that the file could not be found, but execution will still continue. (closes issue #10186, reported by jon, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75253 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-13Merged revisions 75066 via svnmerge from mmichelson1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75066 | mmichelson | 2007-07-13 15:10:39 -0500 (Fri, 13 Jul 2007) | 5 lines Fixed an issue where chanspy flags were uninitialized if no options were passed. What triggered this investigation was an IRC chat where some people's quiet flags were set while others' weren't even though none of them had specified the q option. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75078 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Forwarding a message with IMAP storage was storing the message in the ↵mmichelson1-1/+14
sender's box instead of the forwarded mailbox. (closes issue #10138, reported and patched by jaroth) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74476 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74427 via svnmerge from qwell1-10/+13
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74427 | qwell | 2007-07-10 14:57:20 -0500 (Tue, 10 Jul 2007) | 6 lines Fix an issue where it was possible to have a service level of over 100% Between the time recalc_holdtime and update_queue was called, it was possible that the call could have been hungup. Move both additions to the same place, so this won't happen. Issue 10158, initial patch by makoto, modified by me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74428 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74316 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74316 | qwell | 2007-07-10 10:37:54 -0500 (Tue, 10 Jul 2007) | 4 lines Fix a small typo in description in of Voicemail() application. Issue 10170, patch by casper. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74317 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Forgot to get rid of an extraneous debug message.mmichelson1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74122 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09The n option for Queue should make the queue exit immediately after failure ↵mmichelson1-12/+14
to reach any members and should not be dependent on the timeout value passed to Queue (closes issue #10127, reported by bcnit, repaired by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74120 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Fixed a logic error in leave_voicemail. Pass the mailbox instead of the ↵mmichelson1-1/+1
context to inbox_count when the context is "default." (closes issue #10135, reported by yannj, repaired by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Fixing a rare case which causes voicemail to crash when compiled with IMAP ↵mmichelson1-2/+19
storage. inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive" vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth. closes issue #10053 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73727 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Correcting a minor CLI bug I found. When issuing the queue show command, if ↵mmichelson1-2/+9
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/branches/1.4@73400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73349 via svnmerge from file1-1/+2
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/branches/1.4@73355 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73315 via svnmerge from file1-2/+1
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/branches/1.4@73316 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Merged revisions 73052 via svnmerge from tilghman1-2/+2
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/branches/1.4@73053 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28cast a time_t so that it does not conflict with the print format.rizzo1-1/+1
This change was already done on trunk so this change needs to be blocked from merging. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72453 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72378 via svnmerge from file1-2/+2
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/branches/1.4@72381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72327 via svnmerge from file1-0/+2
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/branches/1.4@72328 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Fix another problem in voicemail with missing symbols.qwell1-4/+4
Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72182 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Removing a pointless line. This variable was already set earlier and between ↵mmichelson1-1/+0
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/branches/1.4@71953 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26A few changes, the ultimate goal of which is to keep better track of the ↵mmichelson1-23/+26
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/branches/1.4@71877 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Fixing bug where the authuser was mistakenly pulled from the mailbox string ↵mmichelson1-2/+2
instead of the IMAP user. (closes issue 10054, reported and patched by jaroth) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71796 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Merged revisions 71750 via svnmerge from tilghman1-0/+5
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/branches/1.4@71751 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 71065 via svnmerge from qwell1-2/+1
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/branches/1.4@71068 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Merged revisions 70898 via svnmerge from file1-1/+1
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/branches/1.4@70899 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21When volgain is used don't leave a temporary file behind.mmichelson1-12/+16
(Closes Issue 8514, Reported and patched by ulogic, code reviewed by Jason Parker) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@70808 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Remove a couple of duplicate unlocksrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@70726 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)file1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@70677 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Merged revisions 70444 via svnmerge from tilghman1-1/+1
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/branches/1.4@70445 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19Merged revisions 69894 via svnmerge from file1-2/+4
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/branches/1.4@69895 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18To prevent 92138749238754 more reports of "I have unixodbc installed, butrussell1-0/+1
still can't build *_odbc.so!", check for ltdl directly, instead of just listing it as another library to include in the unixodbc check in the configure script. This also makes ltdl show up as a dependency in menuselect so people know what to go install. (related to issue #9989, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69702 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-15Add support for setting the maximum length of acceptable DTMF in ↵file1-1/+9
SpeechBackground. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-15The SLATRUNK_STATUS variable indicated "SUCCESS" for both an answer of therussell1-4/+14
incoming call on the trunk, or if the trunk reached its ring timeout. This patch changes the variable to say "RINGTIMEOUT" in that case. (issue #9973, reported by n00dle, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69518 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14use ast_localtime() in every place localtime_r() was being usedkpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13Contains a patch for fixing an encoding problem when using Outlook to view ↵mmichelson1-4/+4
voicemail emails and attachments. This fix has also been tested on Thunderbird, Evolution, Pine, and Mutt. (Issue 9336, reported by marwick, patched by mutterc) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69181 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13Really ignore NULL frames and check whether the channel hungup or not. ↵file1-0/+4
(issue #9912 reported by junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69144 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-11Issue 9947 - fn2 was unused / incorrectly usedtilghman1-5/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68781 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-08Merged revisions 68526 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68526 | russell | 2007-06-08 17:22:36 -0500 (Fri, 08 Jun 2007) | 4 lines Don't automatically hang up after running Dictate so that callers can exit cleanly using '#' (closes issue #9577, patch from Thomas Andrews) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68527 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Fix incorrect French syntax of "old messages".qwell1-3/+3
Request for feedback was sent to asterisk-dev mailing list, with little response. Issue 9118, patch by junky. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68326 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Fix loading persistent queue members when using realtime configuration for ↵russell1-1/+5
queues. Also, remove an unneeded leading slash for the astdb family. (issue #9911, patch by atis) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68280 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 68204 via svnmerge from qwell1-8/+19
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68204 | qwell | 2007-06-07 15:02:50 -0500 (Thu, 07 Jun 2007) | 4 lines Don't try to save voicemail greetings unless the user presses '1' to accept/save. Issue 9904, patch by me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Submitting a fix for Issue 8016. Added a check to make sure that greetings ↵mmichelson1-2/+5
get stored properly. (Issue 8016, reported by edhorton, patched by alamantia with modification by me. Thanks to Jason Parker for the advice on this). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68198 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 68070 via svnmerge from file1-1/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68070 | file | 2007-06-07 10:19:40 -0400 (Thu, 07 Jun 2007) | 2 lines Allow the 'g' option to work if used with the 'S' option. (issue #9888 reported by gasparz) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Fix for Issue 9810. There was a segfault under a specific set of circumstances:mmichelson1-5/+7
1. VoiceMailMain was configured in the dialplan with an extension as its argument 2. A message was left for this mailbox 3. Tried to call VoiceMailMain but hung up before entering password. This was fixed by checking that a pointer was non-null prior to trying to dereference it. (Issue 9810, reported by xmarksthespot, patched by Corydon76 with modifications by me). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67804 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Include macroexten while searching for a channel to pick up in case they are ↵file1-1/+1
in a macro. (issue #9491 reported by jamesb63) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67626 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05Fix some crashes related to the use of the "meetme" CLI command. The code forrussell1-2/+7
this command was not locking the conference list at all. (issue #9351, reported by and patch submitted by Junk-Y, committed patch is different and by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05Fix for bug number 9786, wherein voicemails saved to IMAP storage using ↵mmichelson1-1/+18
extensions other than gsm were unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me, reviewed by Russell Bryant). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67424 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Initialize cidname variable to nothing since it may be used without having ↵file1-2/+2
been touched. (issue #9661 reported by dimas) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67066 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-01Removing extraneous debugging lines from revision 66897. Sorry :)mmichelson1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66917 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-01Submitting a fix for voicemail with IMAP storage. Attachments with format ↵mmichelson1-12/+6
specified as gsm were duplicated (i.e. two attachments) were left. Thank you very much to xmarksthespot for submitting the patch that fixed this. (Issues 9787 and 8873, Reported by xmarksthespot and jerjer, patched by xmarksthespot) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66897 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-01List app_meetme as a module that app_page depends on.russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66879 f38db490-d61c-443f-a65b-d21fe96a405b