1

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?

4

2 回答 2

1

管理以启用TALK_DETECT使用/channels/{channelId}/variable端点。但是它的行为并不像预期的那样,这让我怀疑它是在发送端而不是接收端监听。

于 2019-10-29T14:33:15.880 回答
0

我没有太多机会使用 ARI,但是您尝试过记录端点吗?您可以告诉它录制 maxSilenceDuration ,它会返回talk_duration。您可以在执行其他操作时使用它进行循环轮询。

于 2019-11-01T18:44:44.977 回答