summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
AgeCommit message (Collapse)Author
2006-06-13fix a place where code returns without unlocking the vm users list and variousRussell Bryant
places where code returns without destroying loaded configuration git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09there is no reason to define our own 'maximum path length' when the POSIX ↵Kevin P. Fleming
headers already define one for us git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵Kevin P. Fleming
again :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07remove the WITH_SMDI defineRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06Merged revisions 32605 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r32605 | tilghman | 2006-06-06 11:55:23 -0500 (Tue, 06 Jun 2006) | 2 lines Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05- Add headers to e-mail with caller ID name and number to simplify automatic ↵Olle Johansson
parsing - Formatting fixes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19let's use the proper variable here, instead of segfaulting (don't know how ↵Kevin P. Fleming
this worked for anyone at all) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19As requested by kpfleming, renaming messagecount to inboxcount and ↵Tilghman Lesher
messagecount2 to messagecount. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Merged revisions 28651 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28651 | file | 2006-05-19 13:03:33 -0300 (Fri, 19 May 2006) | 2 lines When forwarding messages use the context that the active voicemail user was found in. (issue #7010) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk ↵Tilghman Lesher
than for 1.2) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Merged revisions 28212 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28212 | file | 2006-05-18 13:31:16 -0300 (Thu, 18 May 2006) | 2 lines Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Merged revisions 28169 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28169 | file | 2006-05-18 11:27:21 -0300 (Thu, 18 May 2006) | 2 lines Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17Merged revisions 27847 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r27847 | file | 2006-05-17 14:07:52 -0300 (Wed, 17 May 2006) | 2 lines Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17Merged revisions 27636 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r27636 | tilghman | 2006-05-16 21:19:50 -0500 (Tue, 16 May 2006) | 2 lines Bug 7125 - Fix race condition between resequencing and leaving a message ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13Merged revisions 27093 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r27093 | tilghman | 2006-05-12 23:08:29 -0500 (Fri, 12 May 2006) | 2 lines Bug 7134 - File descriptor leak with ODBC storage of voicemail ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().Russell Bryant
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10fix indentation of two large blocksLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10fix a couple of misindented lines;Luigi Rizzo
prepare reduce nesting level in a couple of blocks by inverting an if () statement (indentation change to be committed separately). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10use 'switch' insteaf of multiple 'if'Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09Merged revisions 26050 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r26050 | bweschke | 2006-05-09 08:28:39 -0500 (Tue, 09 May 2006) | 3 lines Correct memory leak in find_user_realtime #7118 (fnordian) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09Bug 7009 - use the actual path, so that a table index can be usedTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08Warn user if the custom format is not one of the optionsTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06add Polish language support to Voicemail, with some minor modifications thatRussell Bryant
include formatting fixes, making it so variables aren't declared in the middle of a block, and various other little code cleanups (issue #6970, supczinskib) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05modify the handling of the new temporary greeting reminder feature so thatRussell Bryant
it works for any language git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05add support for having the user reminded that their temporary greetingRussell Bryant
is still set (issue #6120, khaefner) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie ) BJ Weschke
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03Bug 6989 - updates to the ODBC storage mechanism for compatibility with the ↵Tilghman Lesher
new res_odbc git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01Merged revisions 23988 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r23988 | bweschke | 2006-05-01 14:34:29 -0500 (Mon, 01 May 2006) | 3 lines Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell! ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01Merged revisions 23985 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r23985 | bweschke | 2006-05-01 14:26:43 -0500 (Mon, 01 May 2006) | 3 lines Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29- convert the list of zones to use the list macros, and add locking (issue ↵Russell Bryant
#7027, with mods) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26Merged revisions 22596 via svnmerge from Matt O'Gorman
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r22596 | mogorman | 2006-04-26 14:18:55 -0500 (Wed, 26 Apr 2006) | 3 lines do not allow for users to forward voicemail to themselves, patch from 7001 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24Deprecate prefixed options in voicemailTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21convert to use ast_strem_and_waitLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15Allow the attachment format to be specified differently for different ↵Joshua Colp
mailboxes (issue #6961 reported by the ever fabulous Corydon76) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14use ast_strdup instead of strdupLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14constification and code simplificationsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14This rather large commit changes the way modules are loaded. Luigi Rizzo
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13Merged revisions 19891 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19891 | tilghman | 2006-04-13 15:37:50 -0500 (Thu, 13 Apr 2006) | 2 lines Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19394 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19394 | tilghman | 2006-04-11 17:24:46 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19008 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-09Issue 6919 - clarify error messageOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08since the module API is changing, it's a good time to const-ify the ↵Kevin P. Fleming
description() and key() return values git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08Merged revisions 18494 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r18494 | tilghman | 2006-04-08 14:20:45 -0500 (Sat, 08 Apr 2006) | 2 lines Bug 6914 - .txt file fails to rename on operator out ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵Tilghman Lesher
rand() to threadsafe ast_random() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30as discussed with Mark a few weeks ago, the 'newstack' argumentLuigi Rizzo
in pbx_exec is always 1 so it can be removed. This change also takes away ast_exec_extension(), and lets all switch functions (exists, canmatch, exec, matchmore) all use the same prototype, which makes the code a bit cleaner. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25Merged revisions 14830 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14830 | tilghman | 2006-03-24 23:01:16 -0600 (Fri, 24 Mar 2006) | 2 lines Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25Merged revisions 14821 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14821 | tilghman | 2006-03-24 22:09:04 -0600 (Fri, 24 Mar 2006) | 2 lines Bug 6783 - When context is specified, voicemail should look for mailboxes in that context ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-24Merged revisions 14659 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14659 | bweschke | 2006-03-23 22:53:42 -0600 (Thu, 23 Mar 2006) | 3 lines Fix a typo in the app description ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22Merged revisions 14276 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14276 | file | 2006-03-22 18:18:32 -0400 (Wed, 22 Mar 2006) | 2 lines Fix a minor code issue ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22Merged revisions 14275 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14275 | file | 2006-03-22 18:13:30 -0400 (Wed, 22 Mar 2006) | 2 lines Issue #6781 - Verbose levels not enforced in app_voicemail (Reported by flobi) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14277 65c4cc65-6c06-0410-ace0-fbb531ad65f3