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:
Russell Bryant
2007-06-08 21:02:46 +00:00
parent 334d8d9dc4
commit 68492b239c
5 changed files with 75 additions and 18 deletions

View File

@@ -551,7 +551,7 @@ static int handle_controlstreamfile(struct ast_channel *chan, AGI *agi, int argc
else
pause = NULL;
res = ast_control_streamfile(chan, argv[3], fwd, rev, stop, pause, NULL, skipms);
res = ast_control_streamfile(chan, argv[3], fwd, rev, stop, pause, NULL, skipms, NULL);
fdprintf(agi->fd, "200 result=%d\n", res);