asterisk/res/ari
Matthew Jordan 53968c00b3 TALK_DETECT: A channel function that raises events when talking is detected
This patch adds a new channel function TALK_DETECT that, when set on a
channel, causes events indicating the start/stop of talking on a channel to be
emitted to both AMI and ARI clients. 

The function allows setting both the silence threshold (the length of silence
after which we decide no one is talking) as well as the talking threshold (the
amount of energy that counts as talking). Parameters can be updated on a channel
after talk detection has been enabled, and talk detection can be removed at
any time.

The events raised by the function use a nomenclature similar to existing AMI/ARI
events.
For AMI: ChannelTalkingStart/ChannelTalkingStop
For ARI: ChannelTalkingStarted/ChannelTalkingFinished

Review: https://reviewboard.asterisk.org/r/3563/

#ASTERISK-23786 #close
Reported by: Matt Jordan
........

Merged revisions 414934 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-05-30 12:42:57 +00:00
..
ari_model_validators.c TALK_DETECT: A channel function that raises events when talking is detected 2014-05-30 12:42:57 +00:00
ari_model_validators.h TALK_DETECT: A channel function that raises events when talking is detected 2014-05-30 12:42:57 +00:00
ari_websockets.c ARI: Add debug logging for events and responses 2014-04-18 14:25:47 +00:00
cli.c Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
config.c ARI: Don't complain about missing ARI users when we aren't enabled 2014-03-25 18:44:57 +00:00
internal.h optional_api: Fix linking problems between modules that export global symbols 2013-08-30 13:40:27 +00:00
resource_applications.c res_ari: Fix various memory leaks. 2014-01-12 22:24:27 +00:00
resource_applications.h ARI: Support channel variables in originate 2014-01-21 14:27:21 +00:00
resource_asterisk.c ari: User better nicknames for ARI operations 2013-11-07 21:10:31 +00:00
resource_asterisk.h ARI: Support channel variables in originate 2014-01-21 14:27:21 +00:00
resource_bridges.c ARI: Make bridges/{bridgeID}/play queue sound files 2014-04-18 20:09:24 +00:00
resource_bridges.h ARI: Make bridges/{bridgeID}/play queue sound files 2014-04-18 20:09:24 +00:00
resource_channels.c ARI: Make bridges/{bridgeID}/play queue sound files 2014-04-18 20:09:24 +00:00
resource_channels.h ARI: Add tones playback resource 2014-04-17 21:57:36 +00:00
resource_device_states.c res_ari: Fix various memory leaks. 2014-01-12 22:24:27 +00:00
resource_device_states.h ARI: Support channel variables in originate 2014-01-21 14:27:21 +00:00
resource_endpoints.c json: Fix off-nominal json ref counting issues. 2014-02-21 18:04:54 +00:00
resource_endpoints.h ari: User better nicknames for ARI operations 2013-11-07 21:10:31 +00:00
resource_events.c ARI: Add ability to raise arbitrary User Events 2014-05-22 16:09:51 +00:00
resource_events.h ARI: Add ability to raise arbitrary User Events 2014-05-22 16:09:51 +00:00
resource_mailboxes.c ARI: Add mailboxes resource for controlling and polling external MWI 2014-01-14 23:44:57 +00:00
resource_mailboxes.h ARI: Support channel variables in originate 2014-01-21 14:27:21 +00:00
resource_playbacks.c res_ari: Fix various memory leaks. 2014-01-12 22:24:27 +00:00
resource_playbacks.h ARI: Support channel variables in originate 2014-01-21 14:27:21 +00:00
resource_recordings.c Remove unused RAII_VAR() declarations. 2014-04-15 18:01:47 +00:00
resource_recordings.h ari: User better nicknames for ARI operations 2013-11-07 21:10:31 +00:00
resource_sounds.c ari: User better nicknames for ARI operations 2013-11-07 21:10:31 +00:00
resource_sounds.h ARI: Support channel variables in originate 2014-01-21 14:27:21 +00:00