Jerry Geis
2004-Oct-15 21:44 UTC
[Asterisk-Users] how can an AGI terminate a "STREAM file command"
I am running an agi and I am using the command "STREAM FILE" to play some recording. I know the user can terminate the playing but what if the AGI neeeds to terminate the playing? How can that be done? Thanks, Jerry
Steven Critchfield
2004-Oct-15 21:50 UTC
[Asterisk-Users] how can an AGI terminate a "STREAM file command"
On Fri, 2004-10-15 at 23:44 -0500, Jerry Geis wrote:> I am running an agi and I am using the command "STREAM FILE" > to play some recording. I know the user can terminate the playing > but what if the AGI neeeds to terminate the playing? > > How can that be done?Nope. You have to wait for the user to terminate it or you have to let it finish. The problem is that AGI is command response then command again. You can't issue a command while another command is being executed. -- Steven Critchfield <critch@basesys.com>