<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">I made some changes to
app_voicemail.c and recompiled asterisk. Now my caller is only
presented with the menu-choice I want.<br>
<br>
However, the caller can still give another dtmf-input and be taken to
that specific menu.<br>
<br>
How can I disable dtmf-input 2,3,4 if I only want the menu behind
option 1 available ?<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
<br>
</font><br>
On 06/05/2010 10:39 PM, Glenn O Larsen wrote:
<blockquote
cite="mid:AANLkTilKsovTTcy6_i4KxNtqyACl33zA5NGABm0kLJyY@mail.gmail.com"
type="cite">
<pre wrap="">On Sat, Jun 5, 2010 at 6:26 PM, Jonas Kellens <a class="moz-txt-link-rfc2396E" href="mailto:jonas.kellens@telenet.be"><jonas.kellens@telenet.be></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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]
</pre>
</blockquote>
<pre wrap="">
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...
</pre>
</blockquote>
</body>
</html>