Steve Edwards
2009-Jul-08 01:09 UTC
[asterisk-users] [asterisk-user] AGI control stream file
Trying to redirect to -user... On Tue, 7 Jul 2009, Bryant Zimmerman wrote:> Hey guys I posted this earlier and did not get any responses.You posted what appear[s|ed] to be a user question to the dev list. I did reply (on June 3), but I may have mis-understood.> I am working on some AGI development that requires control of audio file > playback. The control stream file is working for the most part, but to > meet one of the project requirements I need to be able to let the user > enter stream playback in either, rewind, fastforward or pause states > with a single key press. To this point I have not figured out a way to > enter into the control stream file command in anything other than a play > state. This requires that the user must hit the, rw, ffwd or pause key..You want to add code to "control stream file" so that you can specify an option so that playback is already rewinding, fastforwarding or paused when the application is entered? I can see how paused would work, but how do you see rewinding or fastforwarding working? These are not "states" where the user hears the audio at double speed (for fastforwarding). I think these would better be described as "skip-forward skipms (the third parameter to "control stream file") ms" or "skip-backward skipms ms" -- kind of like a properly programmed Tivo remote. Or, are you thinking if your AGI specified "skip-forward," "control stream file" would skip forward skipms ms before starting playback at normal speed? Can you explain the "experience" from the user's perspective? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000