HI dear asterisk users,
sorry i am not very good at c coding, not know the system very well.
i made the following modification to my app_voicemail.c.
purpose is to disable the “record busy message” input 2.
however it is still there, i want some help at this point? why is it still there when modifying this .c file? is it asking for further compiling ? or more steps?
[quote]case ‘2’: /* Record your busy message */
cmd = 0; i add this two line
break;
snprintf(prefile, sizeof(prefile), “%s%s/%s/busy”, VM_SPOOL_DIR, vmu->context, vms->username);
cmd = play_record_review(chan, “vm-rec-busy”, prefile, maxgreet, fmtc, 0, vmu, &duration, NULL, NULL, record_gain, vms, NULL, NULL);
break;[/quote]
i do it refer to the following:
[quote]Modifications
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);[/quote]