Summary: | ASTERISK-00287: app_voicemailcheck? | ||
Reporter: | oliver (oliver) | Labels: | |
Date Opened: | 2003-09-18 21:52:11 | Date Closed: | 2008-01-15 14:34:53.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_hasnewvoicemail.c ( 1) app_hasnewvoicemail.c | |
Description: | Something which could come in handy in some situations would be an app to check if a voicemail-user has any new messages. The app could return the amount of new messages in a specific VMB in a variable, given to it as an argument. Something like: VoicemailCheck(1234[@context],foo) would set ${foo} to the amount of new messages in mailbox "1234", in the optional voicemail-context. | ||
Comments: | By: Brian West (bkw918) 2003-09-19 00:43:22 I fail to see how exactly this could be useful. They can just call voicemail and do that. Can you provide a real world example of how this could be used? bkw By: oliver (oliver) 2003-09-19 06:20:04 Hey bkw, I came to think of it during the discussion in ticket "0000191", about the dialtone-patch and that it could be used to generate a stutter-dialtone in case a certain VMB has new mail, in combination with "PlayDialtone". I'm pretty sure it would have more uses to be able to branch differently in the extension-logic, based on (the number of) new voicemails in a VMB. That the user can call voicemail to check is not the point. The point is that the extension-logic has a way of checking as well. By: Tilghman Lesher (tilghman) 2003-09-22 18:13:03 I wrote this application a while back, for the original Voicemail app. Shouldn't be too difficult to modify it for use with Voicemail2. I'll see what I can work up in the next day or so. BTW, if you want to find it in the list archives, it's called HasNewVoicemail. By: Mark Spencer (markster) 2003-09-25 22:39:04 Merged with changes By: Digium Subversion (svnbot) 2008-01-15 14:34:53.000-0600 Repository: asterisk Revision: 1546 U trunk/apps/Makefile A trunk/apps/app_hasnewvoicemail.c ------------------------------------------------------------------------ r1546 | markster | 2008-01-15 14:34:53 -0600 (Tue, 15 Jan 2008) | 2 lines Merge app_hasnewvoicemail (bug ASTERISK-287) with some mods ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=1546 |