Talk detection when playback in process


I am using ARI for call flow automation. I wanted to know if it’s possible to detect voice activity when a playback is ongoing so that I can stop/pause the playback?

What can I look for to achieve this? I saw TALK_DETECT but, will it help me to detect voice during a playback?


TALK_DETECT doesn’t care what is going on with the channel so it would work with a Playback too.