mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user