aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-05-30Fixed seg-faults when recording greetings in voicemail with IMAP enabled. ↵mmichelson1-0/+32
(Issue No. 9735, reported by xmarksthespot, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66671 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22List res_smdi as a dependency for app_voicemail and chan_zaprussell1-0/+1
(Thanks to mnicholson for pointing it out) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65501 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-17Merged revisions 64758 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4 lines If we have a negative current message, we shouldn't go back even further... Issue 9727. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64761 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-17Fix authuser support. (issue #9740 reported by xmarksthespot)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64720 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08Merged revisions 63359 via svnmerge from tilghman1-14/+17
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-01Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes ↵tilghman1-2/+9
by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62545 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-20Fix the UpdateConfig manager action to properly treat "variables" and "objects"russell1-3/+3
differently (a=b versus a=>b). (issue #9568, reported by pari, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61690 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-13Eliminate a compiler warning with ODBC_STORAGE enabled so that it will buildrussell1-1/+1
under dev-mode. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61645 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09This is a big improvement over the current CDR fixes. It may still need ↵murf1-6/+6
refinement, but this won't have as many folks bothered. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60989 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-05Merged revisions 60267 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines Just because we can't find the voicemail configuration file, doesn't mean that the module failed to load. The user could be using realtime. Issue #9473 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60268 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-02Merged revisions 59723 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59724 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Merged revisions 59283 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines Oops ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59284 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Merged revisions 59280 via svnmerge from tilghman1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines Fix a few remaining bad mmap(2) return values ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59281 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Somehow the code for building the email for voicemail got out of sync. Thisrussell1-7/+7
change makes a few tweaks to get 1.4 in sync with trunk. (issue #9301) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59217 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Making these documentation changes in the 1.4 branch upset various people, sorussell1-7/+7
these chanes will only be done in the trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merge changes from svn/asterisk/team/russell/LaTeX_docs.russell1-7/+7
* Convert most of the doc directory into a single LaTeX formatted document so that we can generate a PDF, HTML, or other formats from this information. * Add a CLI command to dump the application documentation into LaTeX format which will only be include if the configure script is run with --enable-dev-mode. * The PDF turned out to be close to 1 MB, so it is not included. However, you can simply run "make asterisk.pdf" to generate it yourself. We may include it in release tarballs or have automatically generated ones on the web site, but that has yet to be decided. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-09Fix spelling of unavailable in voicemail documentation. (issue #9248 ↵file1-1/+1
reported by tensai) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58604 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Merged revisions 57869 via svnmerge from file1-8/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57869 | file | 2007-03-05 12:49:18 -0500 (Mon, 05 Mar 2007) | 2 lines Make create_dirpath use our standard for return values. -1 is failure, 0 is success. (issue #9205 reported by ballares) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57870 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-03Merged revisions 57648 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007) | 2 lines Memory leak of a list, if call recording was abandoned ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57649 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-27Fix voicemail email attachments. I missed the conversion of one of the linerussell1-2/+2
endings and there was an extra one where it should not have been. (issue #9128) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56975 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-23The IMAP storage code uses the same code to build the email that is used whenrussell1-41/+47
voicemail is sent via email using something like sendmail. In the patch from bug 8033 to fix various IMAP storage problems, the line endings in the email file were changed in the code from "\n" to "\r\n". However, this breaks sending regular voicemail to email. So, this change conditionally sets line endings to "\r\n" only if IMAP_STORAGE is enabled. (issue #9128, patch by jarjarbinks, modified by me to not break IMAP storage) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56341 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Better handle dropped IMAP connections. (issue #9054 reported by bsmithurst)file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55741 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-19Merged revisions 55434 via svnmerge from tilghman1-9/+16
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007) | 2 lines forcename and forcegreetings options should check to see if the recording already exists ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55435 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09add some inter-module dependencieskpfleming1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53780 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08Merged revisions 53529 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007) | 2 lines Issue 9003 - If fullname is empty, quote() passes back "\"" ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53530 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Use ast_calloc instead of malloc.file1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52572 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29this is for 8778 (pt_BR backport to 1.4). It was committed to trunk via ↵murf1-2/+55
7663. But it wasn't so much an enhancement as a fix for the bad language output for portuguese in Brazil, so, after a lot of prodding from patient Brazilians, here is the same fix for 1.4 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52535 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Set quota information to 0 when creating a vm_state. (issue #8924 reported ↵file1-0/+2
by neutrino88) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52523 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-25By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".russell1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52160 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.qwell1-44/+88
Issue 8832, patch(es) by tgrman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51265 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Build the IMAP remote directory string better and properly. Fix an issue ↵file1-8/+18
with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51213 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-17re-add "password" for realtime voicemailqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51186 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-17a few more coding style cleanups and one bug fix (from AnthonyL)kpfleming1-22/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Fix an issue with IMAP storage and realtime voicemail.qwell1-0/+34
Also update the vmdb sql script for IMAP specific options. Issue 8819, initial patches by bsmithurst (slightly modified by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51167 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Merged revisions 51158 via svnmerge from tilghman1-5/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51159 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16minor things i missed before i get jumped onmogorman1-8/+13
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51150 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Patch allows for changing voicemail password in users.conf from voicemail ↵mogorman1-119/+77
main, written by AnthonyL bug #8436 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51030 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15Merged revisions 50946 via svnmerge from mogorman1-4/+8
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines Solves issue with forwarding voicemails from folders other than inbox. patch by anthonyl. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50957 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-09Merged revisions 50150 via svnmerge from tilghman1-2/+24
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines The advent of realtime has enabled people to use commas in the fullname field. This could cause an issue with sending voicemails, when the field is unquoted. (Issue 8595) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50151 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08Fix an issue with voicemail and users.conf, where it wouldn't ever parse a ↵qwell1-1/+1
password, since it was using "secret" instead of "password" Issue 8761, reported by and patch suggestion from ssokol. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50098 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04Merged revisions 49447 via svnmerge from mogorman1-56/+55
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r49447 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2 lines converted a lot of 256 to PATH_MAX and some white space fixes. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49459 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04Merged revisions 49412 via svnmerge from mogorman1-4/+4
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r49412 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3 lines good catch russell sorry i missed that. fix magic number with proper sizeof ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49413 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-03Merged revisions 49354 via svnmerge from mogorman1-7/+33
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r49354 | mogorman | 2007-01-03 17:22:47 -0600 (Wed, 03 Jan 2007) | 6 lines When using ODBC_STORAGE VoicemailMain doesn't create the subdirectories for a mailbox such as the INBOX directory. this patch solves that problem, was written by anthony be-125 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-20vms doesn't exist on non-IMAP storage builds.file1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48637 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Pass 'vms' pointer to record_and_review so it is then passed to the IMAP ↵file1-13/+12
store file function. (issue #8614 reported by punknow) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48596 f38db490-d61c-443f-a65b-d21fe96a405b