aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-08 21:02:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-08 21:02:46 +0000
commitaae89d91628f6d3e2191d8578461a826f76fc846 (patch)
tree9980f4b3704ece77e3b9166bc57e0a5e33c971c6 /res/res_agi.c
parent809ba665791d0a64139cdc2b588bac4a039b49ca (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: http://svn.digium.com/svn/asterisk/trunk@68502 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 46a26a4c9..5d58de4b0 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -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);