Hi, I’m wondering how I can record a channel while the channel is in bridge?
I saw some topics say that we can use snoop(spy/whisper).
However,
where is the recorded file located?
Is there any way to control the recording? like, I want to record the whole conversation all the time, at the mean time I want to record a specific answer from the caller for review. after I got the answer I want, stop snooping.
Actually I wanted to use /channels/{channelId}/record, however it’s not working while the channel is in bridge.
Also I want to use the parameters of channel record to control the recording, like maxDurationSeconds, maxSilenceSeconds and etc.
You do as you originally stated, you created a snoop channel and then call record on the Snoop channel. The record operation behaves the same way as you see in the API whether it is used on a normal channel or a Snoop channel.
Spy receives audio from the channel you are snooping on.
Whisper injects audio to the channel you are snooping on.
The Record route is documented on the wiki[1]. Those are part of it and mostly work the same way for Snoop channels. The difference is that Snoop channels don’t receive the DTMF, so terminateOn would not work and you’d have to implement it in your ARI application instead.