diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-06-08 21:02:46 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-06-08 21:02:46 +0000 |
commit | 68492b239c6a309d0339f02dc82a77e3ec5c9c4b (patch) | |
tree | 9980f4b3704ece77e3b9166bc57e0a5e33c971c6 /apps/app_voicemail.c | |
parent | 334d8d9dc484f1a52d19bd530a6c4d0f98246b5c (diff) |
Add an option for ControlPlayback to be able to start at an offset from
the beginning of the file. Also, add a channel variable that indicates
the location in the file where the Playback was stopped.
(closes issue #7655, patch from sharkey)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 14a99d8ba..01f07d722 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4363,7 +4363,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, "#", "*", "1456789", "0", "2", skipms); + return ast_control_streamfile(chan, file, "#", "*", "1456789", "0", "2", skipms, NULL); } static int play_message_category(struct ast_channel *chan, const char *category) |