[Asterisk-Users] voicemail
Christian Hecimovic
checimovic at qworks.ca
Fri Apr 2 14:10:01 MST 2004
> How would one hack the voicemail app to play saved vm messages back in a
> 'most recent first' fashion ? What source file is this defined in ?
apps/app_voicemail.c. Check vm_execmain() and the while loop at line 2866 or
thereabouts. The switch in there is the main voicemail menu ("Press one to
listen to your messages," etc.) I believe voicemail messages play in
chronological order. In case '1', vms.curmsg is set to zero. Try setting it
to the most recent message (vms.lastmsg or whatever it is), and count
backwards, and see what happens :) I've never tried it myself.
Christian
More information about the asterisk-users
mailing list