enhance control_playback to have an app (app_controlplayback) and to allow pause (inherited by app_voicemail)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Anthony Minessale II
2004-05-26 23:56:41 +00:00
parent ec14976ac3
commit 54780434a6
4 changed files with 116 additions and 41 deletions

View File

@@ -2549,7 +2549,7 @@ static int wait_file2(struct ast_channel *chan, struct vm_state *vms, char *file
static int wait_file(struct ast_channel *chan, struct vm_state *vms, char *file)
{
return ast_control_streamfile(chan, file, "#", "*", skipms);
return ast_control_streamfile(chan, file, "#", "*","1","0", skipms);
}
static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *vmu, char *origtime, char *filename)