<div dir="ltr"><div><div>I think what Asmaa is indicating here is that inside app_voicemail (s)he's able to select options that are not relevant to the current menu (s)he is playing.<br><br>That wouldn't be a dialplan problem or a DTMF issue, It would be inside the app_voicemail.c source.<br>
<br></div>It looks like there is a big switch statement starting at line 10180 in my app_voicemail.c source that deals with what option the user is pressing.<br><br></div>It looks like at line 10458 there is logic for if delete is not a valid option at the moment, You could try inserting a playback there stating so.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 2:24 AM, Asmaa Ahmed <span dir="ltr"><<a href="mailto:asabatgirl@hotmail.com" target="_blank">asabatgirl@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello,<div><br></div><div>While connecting to my voicemail, I noticed that Asterisk may perform some tasks isn't included in the options levels that currently played!<br>For ex: I am listening to the main menu which asking me to press 1 for new messages, 2 change folders, 0 mailbox options which is OK for these numbers, but if I pressed 7 by mistake for example it will tell me "Message deleted" which it doesn't make sense!</div>
<div>Is there a way to stop this behavior, let's say to run "invalid option" if any other number was pressed doesn't belong to the current menu level?</div><div><br></div><div><br></div><div>Thanks. </div>
                                          </div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>
---Heinlein
</div>