[Asterisk-Users] how can an AGI terminate a "STREAM file command"

Steven Critchfield critch at basesys.com
Fri Oct 15 21:50:54 MST 2004


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 at basesys.com>




More information about the asterisk-users mailing list