aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-02Merged revisions 160208 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r160208 | tilghman | 2008-12-01 18:37:21 -0600 (Mon, 01 Dec 2008) | 10 lines Merged revisions 160207 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r160207 | tilghman | 2008-12-01 18:25:16 -0600 (Mon, 01 Dec 2008) | 3 lines Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc and glibc. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@160228 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-14Merged revisions 156817 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r156817 | mmichelson | 2008-11-14 09:20:03 -0600 (Fri, 14 Nov 2008) | 18 lines Merged revisions 156816 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r156816 | mmichelson | 2008-11-14 09:18:59 -0600 (Fri, 14 Nov 2008) | 10 lines If the prompt to reenter a voicemail password timed out, it resulted in the password not being saved, even if the input matched what you gave when first prompted to enter a new password. This is because the return value of ast_readstring was checked, but not checked properly. This bug was discovered by Jared Smith during an Asterisk training course. Thanks for reporting it! ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@156818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-03port gcc 4.3.x warning fixes from trunk to this branchkpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@153743 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10Merged revisions 148200 via svnmerge from seanbright1-8/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r148200 | seanbright | 2008-10-09 20:42:13 -0400 (Thu, 09 Oct 2008) | 12 lines Don't include logger.h in asterisk.h by default as it is causing problems building app_voicemail. Instead, include it where it is needed. This turned out to be a relatively minor issue because other headers include logger.h as well. Need to test -addons before merging this back to 1.6.0. (closes issue #13605) Reported by: tomo1657 Patches: 13605_seanbright.diff uploaded by seanbright (license 71) Tested by: mmichelson ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@148204 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09Merged revisions 148144 via svnmerge from mmichelson1-2/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r148144 | mmichelson | 2008-10-09 18:30:47 -0500 (Thu, 09 Oct 2008) | 10 lines Read the callerid in the correct order and make sure to read the Urgent flag value from the IMAP headers. (closes issue #13652) Reported by: jaroth Patches: imapheaders.patch uploaded by jaroth (license 50) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@148147 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07Merged revisions 147194 via svnmerge from seanbright1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r147194 | seanbright | 2008-10-07 12:52:02 -0400 (Tue, 07 Oct 2008) | 10 lines Merged revisions 147193 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r147193 | seanbright | 2008-10-07 12:48:30 -0400 (Tue, 07 Oct 2008) | 2 lines Make 'imapsecret' an alias to 'imappassword' in voicemail.conf. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@147195 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-17Merged revisions 143405 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r143405 | tilghman | 2008-09-17 15:57:58 -0500 (Wed, 17 Sep 2008) | 13 lines Merged revisions 143404 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r143404 | tilghman | 2008-09-17 15:55:47 -0500 (Wed, 17 Sep 2008) | 6 lines When callerid is blank, we want to use "unknown caller" in those cases, too. (closes issue #13486) Reported by: tomo1657 Patches: 20080917__bug13486.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@143406 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-12Merged revisions 142745 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r142745 | tilghman | 2008-09-12 11:38:55 -0500 (Fri, 12 Sep 2008) | 12 lines Merged revisions 142744 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r142744 | tilghman | 2008-09-12 11:38:02 -0500 (Fri, 12 Sep 2008) | 4 lines Missing merge from 1.2 fixes errant exit on DTMF, only when language is Italian (cf commit 34242) (Closes issue #7353) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@142746 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08Merged revisions 136784 via svnmerge from mmichelson1-29/+28
https://origsvn.digium.com/svn/asterisk/trunk ........ r136784 | mmichelson | 2008-08-08 10:31:31 -0500 (Fri, 08 Aug 2008) | 3 lines Fix compilation for ODBC voicemail ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@136785 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07This is weird. Either SVN or vim tabbedmmichelson1-566/+566
a bunch of functions over one level during a merge. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@136724 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merged revisions 136722 via svnmerge from mmichelson1-1/+0
https://origsvn.digium.com/svn/asterisk/trunk ........ r136722 | mmichelson | 2008-08-07 18:39:50 -0500 (Thu, 07 Aug 2008) | 3 lines Remove one last batch of debug messages ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@136723 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merged revisions 136715 via svnmerge from mmichelson1-3611/+3498
https://origsvn.digium.com/svn/asterisk/trunk ........ r136715 | mmichelson | 2008-08-07 17:25:50 -0500 (Thu, 07 Aug 2008) | 18 lines Merging the imap_consistency_trunk branch to trunk. For an explanation of what "imap_consistency" is, please see svn revision 134223 to the 1.4 branch. Coincidentally, this also fixes a recent bug report regarding the inability to save messages to the new folder when using IMAP storage since they will would be flagged as "seen" and not be recognized as new messages. (closes issue #13234) Reported by: jaroth ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@136719 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-04Merged revisions 135480 via svnmerge from tilghman1-11/+32
https://origsvn.digium.com/svn/asterisk/trunk ................ r135480 | tilghman | 2008-08-04 11:58:29 -0500 (Mon, 04 Aug 2008) | 14 lines Merged revisions 135479 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r135479 | tilghman | 2008-08-04 11:56:19 -0500 (Mon, 04 Aug 2008) | 6 lines Memory leak on unload (closes issue #13231) Reported by: eliel Patches: app_voicemail.leak.patch uploaded by eliel (license 64) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@135481 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-01Merged revisions 135067-135068 via svnmerge from mmichelson1-3/+14
https://origsvn.digium.com/svn/asterisk/trunk ........ r135067 | mmichelson | 2008-08-01 09:29:48 -0500 (Fri, 01 Aug 2008) | 13 lines IMAP storage functioned under the assumption that folders such as "Work" and "Family" would be subfolders of the INBOX. This is an invalid assumption to make, but it could be desirable to set up folders in this manner, so a new option for voicemail.conf, "imapparentfolder" has been added to allow for this. (closes issue #13142) Reported by: jaroth Patches: parentfolder.patch uploaded by jaroth (license 50) ........ r135068 | mmichelson | 2008-08-01 09:42:24 -0500 (Fri, 01 Aug 2008) | 3 lines IMAP-specific items must go in IMAP_STORAGE defines... ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@135070 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-28Merged revisions 134163 via svnmerge from tilghman1-3/+9
https://origsvn.digium.com/svn/asterisk/trunk ................ r134163 | tilghman | 2008-07-28 17:07:12 -0500 (Mon, 28 Jul 2008) | 15 lines Merged revisions 134161 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r134161 | tilghman | 2008-07-28 16:50:50 -0500 (Mon, 28 Jul 2008) | 7 lines Detect when sox fails to raise the volume, because sox can't read the file. (closes issue #12939) Reported by: rickbradley Patches: 20080728__bug12939.diff.txt uploaded by Corydon76 (license 14) Tested by: rickbradley ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@134164 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Merged revisions 129270 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r129270 | mmichelson | 2008-07-08 17:56:12 -0500 (Tue, 08 Jul 2008) | 3 lines Fix compilation error when IMAP storage is enabled ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@129271 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07Merged revisions 128830 via svnmerge from tilghman1-55/+98
https://origsvn.digium.com/svn/asterisk/trunk ................ r128830 | tilghman | 2008-07-07 18:25:39 -0500 (Mon, 07 Jul 2008) | 10 lines Merged revisions 128812 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r128812 | tilghman | 2008-07-07 18:21:52 -0500 (Mon, 07 Jul 2008) | 2 lines Stop using deprecated method, as requested by Kevin. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@128855 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07Merged revisions 128733 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r128733 | mmichelson | 2008-07-07 15:30:46 -0500 (Mon, 07 Jul 2008) | 3 lines Crap ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@128735 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07Merged revisions 128731 via svnmerge from mmichelson1-2/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r128731 | mmichelson | 2008-07-07 15:28:33 -0500 (Mon, 07 Jul 2008) | 7 lines If imapfolder=foo were set in voicemail.conf, then when calling VoiceMailMain, app_voicemail would attempt to play a file called vm-foo instead of playing vm-INBOX to play the "new" sound file. This commit fixes that issue. This may fix one of the problems reported in issue #12987 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@128732 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 127245 via svnmerge from mmichelson1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r127245 | mmichelson | 2008-07-01 18:38:12 -0500 (Tue, 01 Jul 2008) | 13 lines Merged revisions 127244 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127244 | mmichelson | 2008-07-01 18:36:40 -0500 (Tue, 01 Jul 2008) | 5 lines Add error message to failed open(2) calls inside the copy() function of app_voicemail. This idea came as part of my work in helping to resolve issue #12764. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@127246 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-24Merged revisions 124912 via svnmerge from tilghman1-14/+40
https://origsvn.digium.com/svn/asterisk/trunk ................ r124912 | tilghman | 2008-06-24 16:18:52 -0500 (Tue, 24 Jun 2008) | 16 lines Merged revisions 124910 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r124910 | tilghman | 2008-06-24 16:08:52 -0500 (Tue, 24 Jun 2008) | 8 lines Occasionally control characters find their way into CallerID. These need to be stripped prior to placing CallerID in the headers of an email. (closes issue #12759) Reported by: RobH Patches: 20080602__bug12759__2.diff.txt uploaded by Corydon76 (license 14) Tested by: RobH ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124964 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Merged revisions 124121 via svnmerge from mmichelson1-0/+25
https://origsvn.digium.com/svn/asterisk/trunk ................ r124121 | mmichelson | 2008-06-19 15:30:23 -0500 (Thu, 19 Jun 2008) | 16 lines Merged revisions 124112 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r124112 | mmichelson | 2008-06-19 15:28:41 -0500 (Thu, 19 Jun 2008) | 8 lines Fix IMAP forwarding so that messages are sent to the proper mailbox. (closes issue #12897) Reported by: jaroth Patches: destination_forward.patch uploaded by jaroth (license 50) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118464 ↵mvanbaak1-1/+1
f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27small update to the g() option of app_voicemail tomvanbaak1-0/+1
note that gain changes only work on zap channels right now. issue #12578 shows it's not clear right now. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118418 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14Merged revisions 116407 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r116407 | qwell | 2008-05-14 15:36:55 -0500 (Wed, 14 May 2008) | 9 lines Voicemail "* exit" should not require an exitcontext to be specified. The behavior in 1.4 was that it would use the current context if an exitcontext existed. (closes issue #12605) Reported by: kenjreno Patches: 12605-starexit.diff uploaded by qwell (license 4) Tested by: file ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@116408 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-25Merged revisions 114651 via svnmerge from mmichelson1-6/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r114651 | mmichelson | 2008-04-25 11:25:17 -0500 (Fri, 25 Apr 2008) | 4 lines Fix a memory leak and protect against potential dereferences of a NULL pointer. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114652 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-23Merged revisions 114575 via svnmerge from mmichelson1-0/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r114575 | mmichelson | 2008-04-22 19:40:30 -0500 (Tue, 22 Apr 2008) | 10 lines Round 1 of IMAP_STORAGE-related app_voicemail changes This makes IMAP_STORAGE include the proper headers if you have specified the "system" option for --with-imap when running the configure script and your IMAP-related headers exist in /usr/include/c-client. This change is due to a hasty merge of a 1.4 change I made. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114576 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-10Merged revisions 114027 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r114027 | file | 2008-04-10 11:53:19 -0300 (Thu, 10 Apr 2008) | 6 lines Don't hardcode ru into the digits filename so that languageprefix can work. (closes issue #12404) Reported by: IgorG Patches: voicemail_ru_hardcoded-v1.patch uploaded by IgorG (license 20) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-31Merged revisions 112069 via svnmerge from qwell1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r112069 | qwell | 2008-03-31 16:48:30 -0500 (Mon, 31 Mar 2008) | 13 lines Merged revisions 112068 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r112068 | qwell | 2008-03-31 16:48:05 -0500 (Mon, 31 Mar 2008) | 5 lines Fix a silly infinite loop when choosing an invalid option. (closes issue #12315) Reported by: jmls ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@112070 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26Merged revisions 111123 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r111123 | mmichelson | 2008-03-26 14:39:23 -0500 (Wed, 26 Mar 2008) | 12 lines Merged revisions 111121 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111121 | mmichelson | 2008-03-26 14:37:36 -0500 (Wed, 26 Mar 2008) | 4 lines This code change is made just for clarification. It does exactly the same thing as before. It just doesn't look as wrong. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@111124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26Merged revisions 111067 via svnmerge from mmichelson1-2/+10
https://origsvn.digium.com/svn/asterisk/trunk ................ r111067 | mmichelson | 2008-03-26 14:26:23 -0500 (Wed, 26 Mar 2008) | 17 lines Merged revisions 111049 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111049 | mmichelson | 2008-03-26 14:22:16 -0500 (Wed, 26 Mar 2008) | 9 lines Add a lock to the vm_state structure and use the lock around mail_open calls to prevent concurrent access of the same mailstream. This, along with trunk's ability to configure TCP timeouts for IMAP storage will help to prevent crashes and hangs when using voicemail with IMAP storage. (closes issue #10487) Reported by: ewilhelmsen ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@111072 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109447 via svnmerge from russell1-16/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r109447 | twilson | 2008-03-18 10:43:34 -0500 (Tue, 18 Mar 2008) | 3 lines Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not actual problems, per se. I also added format attributes to any printf wrapper functions I found that didn't have them. -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109459 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-16Merged revisions 108927 via svnmerge from russell1-0/+10
https://origsvn.digium.com/svn/asterisk/trunk ........ r108927 | russell | 2008-03-16 12:53:46 -0500 (Sun, 16 Mar 2008) | 7 lines Fix polling for mailbox changes in mailboxes that are not in the default vm context. (closes issue #12223) Reported by: DEA Patches: vm-polled-imap.txt uploaded by DEA (license 3) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108928 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Merged revisions 108508 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r108508 | russell | 2008-03-13 15:35:28 -0500 (Thu, 13 Mar 2008) | 2 lines Fix a place where configuration values could cause an overflow of a buffer. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108510 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07Merged revisions 106654 via svnmerge from tilghman1-4/+13
https://origsvn.digium.com/svn/asterisk/trunk ................ r106654 | tilghman | 2008-03-07 10:26:07 -0600 (Fri, 07 Mar 2008) | 11 lines Merged revisions 106635 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r106635 | tilghman | 2008-03-07 10:22:11 -0600 (Fri, 07 Mar 2008) | 3 lines Warn the user when a temporary greeting exists (Closes issue #11409) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106662 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07Merged revisions 106553 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r106553 | tilghman | 2008-03-07 00:54:47 -0600 (Fri, 07 Mar 2008) | 14 lines Merged revisions 106552 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r106552 | tilghman | 2008-03-07 00:36:33 -0600 (Fri, 07 Mar 2008) | 6 lines Safely use the strncat() function. (closes issue #11958) Reported by: norman Patches: 20080209__bug11958.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106554 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-29Merged revisions 105261 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r105261 | file | 2008-02-29 09:48:13 -0400 (Fri, 29 Feb 2008) | 4 lines Bump up the size of the uniqueid variable. (closes issue #12107) Reported by: asgaroth ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105262 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27Remove useless 's' and 'key' variables, in favor of 'val', which serves the ↵qwell1-55/+53
exact same purpose. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104756 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27Whitespace changes onlytilghman1-227/+207
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104388 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26Merged revisions 104119 via svnmerge from russell1-5/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r104119 | russell | 2008-02-25 18:25:29 -0600 (Mon, 25 Feb 2008) | 33 lines Merge changes from team/russell/smdi-1.4 This commit brings in a significant set of changes to the SMDI support in Asterisk. There were a number of bugs in the current implementation, most notably being that it was very likely on busy systems to pop off the wrong message from the SMDI message queue. So, this set of changes fixes the issues discovered as well as introducing some new ways to use the SMDI support which are required to avoid the bugs with grabbing the wrong message off of the queue. This code introduces a new interface to SMDI, with two dialplan functions. First, you get an SMDI message in the dialplan using SMDI_MSG_RETRIEVE() and then you access details in the message using the SMDI_MSG() function. A side benefit of this is that it now supports more than just chan_zap. For example, with this implementation, you can have some FXO lines being terminated on a SIP gateway, but the SMDI link in Asterisk. Another issue with the current implementation is that it is quite common that the station ID that comes in on the SMDI link is not necessarily the same as the Asterisk voicemail box. There are now additional directives in the smdi.conf configuration file which let you map SMDI station IDs to Asterisk voicemail boxes. Yet another issue with the current SMDI support was related to MWI reporting over the SMDI link. The current code could only report a MWI change when the change was made by someone calling into voicemail. If the change was made by some other entity (such as with IMAP storage, or with a web interface of some kind), then the MWI change would never be sent. The SMDI module can now poll for MWI changes if configured to do so. This work was inspired by and primarily done for the University of Pennsylvania. (also related to issue #9260) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104120 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-25Merged revisions 104094 via svnmerge from tilghman1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r104094 | tilghman | 2008-02-25 15:31:47 -0600 (Mon, 25 Feb 2008) | 5 lines If the destination folder is full, don't delete a message when exiting. (closes issue #12065) Reported by: selsky Patch by: (myself) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104097 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20Fix a crash due to the wrong variable being used when building a directory ↵mmichelson1-1/+1
string. (closes issue #12027) Reported by: jaroth Patches: forward.patch uploaded by jaroth (license 50) Tested by: jaroth git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103902 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20When using IMAP storage, if the folder you attempt to save to does not exist,mmichelson1-0/+10
create it first. (closes issue #12032) Reported by: jaroth Patches: createfolder.patch uploaded by jaroth (license 50) Tested by: jaroth git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103833 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Fix redeclaration of variables when using IMAP storagemmichelson1-7/+2
(closes issue #11988) Reported by: jaroth Patches: variable_cleanup.patch uploaded by jaroth (license 50) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103737 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Merged revisions 103690 via svnmerge from mmichelson1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103690 | mmichelson | 2008-02-14 15:03:02 -0600 (Thu, 14 Feb 2008) | 3 lines Fix build for non-IMAP builds ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103691 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Merged revisions 103688 via svnmerge from mmichelson1-8/+12
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103688 | mmichelson | 2008-02-14 14:55:48 -0600 (Thu, 14 Feb 2008) | 9 lines Fix the new message count if delete=yes when using IMAP storage. (closes issue #11406) Reported by: jaroth Patches: deleteflag_v2.patch uploaded by jaroth (license 50) Tested by: jaroth ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103689 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-09Merged revisions 103197 via svnmerge from tilghman1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103197 | tilghman | 2008-02-09 00:23:49 -0600 (Sat, 09 Feb 2008) | 4 lines Commit fix for being unable to send voicemail from VoiceMailMain Reported by: William F Acker (via the -users mailing list) Patch by: Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103198 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Merge changes from team/mvanbaak/cli-command-auditrussell1-2/+2
(closes issue #8925) About a year ago, as Leif Madsen and Jim van Meggelen were going over the CLI commands in Asterisk 1.4 for the next version of their book, they documented a lot of inconsistencies. This set of changes addresses all of these issues and has been reviewed by Leif. While this does introduce even more changes to the CLI command structure, it makes everything consistent, which is the most important thing. Thanks to all that helped with this one! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103171 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06Merged revisions 102576 via svnmerge from tilghman1-37/+36
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102576 | tilghman | 2008-02-05 18:26:02 -0600 (Tue, 05 Feb 2008) | 4 lines Move around some defines to unbreak ODBC storage. (closes issue #11932) Reported by: snuffy ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102602 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Change verbose messages to use the ast_verb macro.mmichelson1-6/+3
(closes issue #11931) Reported by: snuffy Patches: bug-11931.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102501 f38db490-d61c-443f-a65b-d21fe96a405b