[asterisk-users] Can one adjust the voicemail-menu when using VoiceMailMain() ?

Glenn O Larsen glenn at europlan.no
Sat Jun 5 15:39:04 CDT 2010


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



More information about the asterisk-users mailing list