I'm trying to figure out a way to enable TALK_DETECT
for an outgoing channel, but this does not seem possible for channel which his originated via ARI
.
I thought about using a pre-dial handler for this, but it only seems possible when using the dialplan's Dial()
function, not when originating with ARI endpoint.
I can't use a Local channel and direct the flow via a dialplan context, because due to asterisk's stupid architecture it causes all sorts of issues for me, so I'm pretty much locked out of using a dialplan.
Any ideas please?
Managed to enable
TALK_DETECT
using the/channels/{channelId}/variable
endpoint. It does not behave as expected though, which leads me to suspect it is listening on the transmitting side instead of the receiving one.