I’m trying to use TALK_DETECT on a dialer (using ARI) where there’s just one outgoing originated channel and then a script would decide what to do based on AMD, but it doesn’t work (ChannelTalkingStarted and ChannelTalkingFinished events are not firing). I confirmed there’s audio on the channel.
Doing some research I’ve found a forum post that states “ TALK_DETECT works on the stream of media from the remote party ”, so I confirmed it works when there are two channels connected on a bridge.
So my question is: Is it possible somehow to make TALK_DETECT work on a single outgoing originated channel and detect when the remote party answers? The dialer is not supposed to connect the outgoing channel to an agent until AMD is completed.
Asterisk 17.3 and PJSIP.