[asterisk-app-dev] ARI play to channel without muting channel
Fridrich Maximilian
M.Fridrich at commend.com
Fri Oct 21 04:46:46 CDT 2022
Hi,
we are developing a standard IVR application with ARI to record audio from a
channel and play audio to it. We are recording the audio from the channel by
creating an externalMedia channel and bridging it with the incoming channel
(this streaming of audio is an external requirement). To play an audio file
back to the user, we call the /channel/{channelId}/play endpoint.
The problem is: When we call the /play endpoint, we no longer receive audio
from that channel while the audio is playing.
Does anyone have any idea how we could play an audio file to the channel while
simultaneously receiving audio from it? Can we call /snoop on the channel and
use the whisper feauture by playing to it? Or something along those lines?
Ideally, we can use Asterisk built-in features without having to create media
streams.
Thanks,
Max
More information about the asterisk-app-dev
mailing list