aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
AgeCommit message (Collapse)AuthorFilesLines
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
2006-12-12Use S_OR in my previous app_voicemail. This is the way it should have been done.file1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48401 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11Return non-existant callerid handling to that which it was before. In 1.4 ↵file1-5/+5
and trunk callerid can be allocated but not have any contents so we have to use ast_strlen_zero before passing it to the relevant functions. (issue #8567 reported by pabelanger) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48391 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Oops, forgot to release the odbc handletilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48254 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Merged revisions 48251 via svnmerge from tilghman1-14/+16
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48251 | tilghman | 2006-12-04 19:26:08 -0600 (Mon, 04 Dec 2006) | 6 lines If the recording in the database is too large, it will fail to retrieve with an mmap error. Not too sure why this doesn't happen when we put it in the database, also, but since that doesn't seem to be broken, I'm not going to fix it (at least until someone reports it). Solution is to ask for the file in smaller chunks. (Bug 8385) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48252 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-04Fix an issue which didn't allow unavail/greet/busy/etc messages from being ↵qwell1-0/+2
saved into ODBC (and probably IMAP). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29Use MAILTMPLEN instead of sizeof in mm_login. (issue #8420 reported by slimey)file1-3/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48115 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29Don't crash if the mailstream was not created.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27Merged revisions 48053 via svnmerge from file1-14/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48054 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Oops, merge missed release of odbc objecttilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47864 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Merged revisions 47862 via svnmerge from tilghman1-2/+7
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47862 | tilghman | 2006-11-20 13:59:07 -0600 (Mon, 20 Nov 2006) | 2 lines Failing to trap -1 error from mmap causes segfault (Issue 8385) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47863 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Fix ODBC_STORAGE for when context is NULLtilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47709 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Merged revisions 47677 via svnmerge from kpfleming1-8/+47
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006) | 4 lines ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me) ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96) remove prototype for API call that does not exist ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Merged revisions 47631 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines Update copyright information in the ADSI logo blob. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47632 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Conversion of res_odbc API to include ast_ prefix did not completely ↵tilghman1-88/+89
transition app_voicemail when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47621 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Do conversion in a more easier to read and working way for \r, \n, and \t. ↵file1-8/+16
(issue #8324 reported by johnlange) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47398 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Work around an issue that caused menuselect to display a bogus description forrussell1-0/+4
app_voicemail and chan_zap. These modules use some preprocessor directives to determine what it will report to Asterisk as its description. However, the way we extract this information from the source files for menuselect is not smart enough to figure this out. (issue #8326, #8328) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47391 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07These mods are to solve the problem in bug 7506. It's a lot of rework to ↵murf1-6/+6
solve a fairly small problem... such is life. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07large overhaul to voicemail imap support. Allows support for more imap servers,mogorman1-497/+619
also a better implementation of several parts of the original work. patch provided by 8033 with major upgrades. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47275 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Reverse change of "show" to "list" and make several other commands more ↵tilghman1-4/+4
consistent with "category verb arguments" git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47051 f38db490-d61c-443f-a65b-d21fe96a405b