I made some changes to app_voicemail.c and recompiled asterisk. Now my caller is only presented with the menu-choice I want.

However, the caller can still give another dtmf-input and be taken to that specific menu.

How can I disable dtmf-input 2,3,4 if I only want the menu behind option 1 available ?


Kind regards,

Jonas.


On 06/05/2010 10:39 PM, Glenn O Larsen wrote:
On Sat, Jun 5, 2010 at 6:26 PM, Jonas Kellens<jonas.kell...@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...

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to