Ok, I’m a noob at AMI.
I’m creating feature that plays live mpeg stream through ffmpeg and I’ve given advice that it’s implemented through Async AGI.
So I’ve encountered exmaple like
[audio-player]
exten => _X.,1,Verbose(entering audio player)
exten => _X.,n,AGI(agi:async,audio-player)
exten => _X.,n,Verbose(exiting audio player)
exten => _X.,n,Hangup()
that dialplan execute script ami+agi_audio_player_async
(Files · master · Lawrence D’Oliveiro / seaskirt_examples · GitLab)
My question is what exactly does AGI(agi:async,audio-player)?
Where do I place my scipt and how do I make that AGI(agi:async,audio-player) executes script?