Jonas Kellens
2010-Jun-05 16:26 UTC
[asterisk-users] Can one adjust the voicemail-menu when using VoiceMailMain() ?
Hello list.
The VoiceMailMain()-application has an advanced menu. Can I get a
Voicemail-application that has less functionality ?
I only want the user to listen to new voicemail-messages (and delete
them), not the functionality with the folders and redirecting messages
to other mailboxes...
I've looked at the code in /usr/src/asterisk-1.4.30/apps/app_voicemail.c
but it seems complicated to disable some functionality.
Can I extract just these options :
* *1* Read voicemail messages
o *3* Advanced options
+ *1* Reply
+ *2* Call back(1)
+ *3* Envelope
+ *4* Outgoing call(1)
+ *5* Send Message
o *4* Play previous message
o *5* Repeat current message
o *6* Play next message
o *7* Delete current message
o *8* Forward message to another mailbox
+ *1* Use Voicemailnumber
+ *2* Use Voicemail Directory
o *9* Save message in a folder
+ *0* Save in new Messages
+ *1* Save in old Messages
+ *2* Save in Work Messages
+ *3* Save in Family Messages
+ *4* Save in Friends Messages
o *** Help; during msg playback: Rewind
o *#* Exit; during msg playback: Skip forward
* *2* Change folders
o *0* Switch to new Messages
o *1* Switch to old Messages
o *2* Switch to Work Messages
o *3* Switch to Family Messages
o *4* Switch to Friends Messages
* *3* Advanced Options
o *5* Send Message
+ *1* Use Voicemailnumber
+ *2* Use Voicemail Directory
* *0* Mailbox options
o *1* Record your unavailable message
o *2* Record your busy message
o *3* Record your name
o *4* Record your temporary message
+ *1* Record your temporary message
+ *2* Erase your temporary message (going back to the
standard message)
o *5* Change your password
o *** Return to the main menu
* *** Help
* *#* Exit
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100605/29042a42/attachment.htm
Glenn O Larsen
2010-Jun-05 20:39 UTC
[asterisk-users] Can one adjust the voicemail-menu when using VoiceMailMain() ?
On Sat, Jun 5, 2010 at 6:26 PM, Jonas Kellens <jonas.kellens at telenet.be> wrote:> Hello list. > > The VoiceMailMain()-application has an advanced menu. Can I get a > Voicemail-application that has less functionality ? > > I only want the user to listen to new voicemail-messages (and delete them), > not the functionality with the folders and redirecting messages to other > mailboxes... > > I've looked at the code in /usr/src/asterisk-1.4.30/apps/app_voicemail.c but > it seems complicated to disable some functionality. > > Can I extract just these options : > > [SNIP]This shouldn't be that hard... What you can try is to comment out the if (!res && !skipadvanced) res = ast_play_and_wait(chan, "vm-advopts"); and add cmd = 0; break; after the all the "case"'s you would like to skip... -- Best regards, Glenn Larsen