Re: Voice detection on a channel using ARI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux