Modification of voicemail manu

dear supporters,

i read the following website.my purpose is as described as the question.

however, my question is where or how can i edit this C code?

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

A: (June 2010) In the C code, find:

case ‘2’: /* Change folders */
if (useadsi)
adsi_folders(chan, 0, “Change to folder…”);
cmd = get_folder2(chan, “vm-changeto”, 0);

then add the lines:

  • cmd = 0; /* Go back to root menu /+ break; / don’t continue */
    so it look like this:

case ‘2’: /* Change folders /
cmd = 0; /
Go back to root menu /
break; /
don’t continue */
if (useadsi)
adsi_folders(chan, 0, “Change to folder…”);
cmd = get_folder2(chan, “vm-changeto”, 0);

add the same lines to case 3 and 4…[/quote]