[asterisk-app-dev] Voice detection on a channel using ARI

Nitesh Bansal nitesh.bansal at gmail.com
Tue May 10 10:19:08 CDT 2016


Typo correction, I'm using ARI node library, not webrtc node library.

And by not working, I meant, I don't see my log messages indicating that
Asterisk
didn't emit any events.

Nitesh

On Tue, May 10, 2016 at 5:16 PM, Nitesh Bansal <nitesh.bansal at gmail.com>
wrote:

> Hello,
>
> In my ARI application built on webrtc node library, I added the following
> code
> channel.on('ChannelTalkingStarted', function (event, channel) {
>     console.log("Channel is now talking ", channel.id);
>   });
>
>   channel.on('ChannelTalkingFinished', function (event, channel) {
>     console.log("Channel is not talking anymore", channel.id);
>   });
>
> The objective was to detect voice activity on the channel, but it didn't
> seem to
> work.
>
> Is there something wrong with my code? or may be my understanding of these
> events
> is incorrect?
>
> Regards,
> Nitesh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20160510/491cc890/attachment.html>


More information about the asterisk-app-dev mailing list