Re: Voice detection on a channel using ARI

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


Looking at my code, it’s  ‘TALK_DETECT’ not ‘TALKDETECT’




From: asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx [mailto:asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Nitesh Bansal
Sent: 11 May 2016 09:51
To: Asterisk Application Development discussion <asterisk-app-dev@xxxxxxxxxxxxxxxx>
Subject: Re: [asterisk-app-dev] Voice detection on a channel using ARI


Hi, I tried the following code to enable TALKDETECT channel variable, but seems it didn't work,

I couldn't see any HTTP post request going through to set the channel variable.

ari.channels.setChannelVar({channelId:, variable : {'TALKDETECT(set)' : ''}},
                             function(err) {
                                 if(err) {
                                   console.error(' failed to set channel var ', err);

And interestingly, it didn't hit the error condition either, any ideas what could be wrong with it?





On Tue, May 10, 2016 at 5:28 PM, Joshua Colp <jcolp@xxxxxxxxxx> wrote:

Nitesh Bansal wrote:

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
didn't emit any events.

These events are only generated if the TALK_DETECT dialplan function[1] is executed on the channel, which can be done using the set variable interface provided by ARI.


Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: &

asterisk-app-dev mailing list


No virus found in this message.
Checked by AVG -
Version: 2016.0.7596 / Virus Database: 4565/12194 - Release Date: 05/08/16

asterisk-app-dev mailing list

[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