asterisk/rest-api/api-docs
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
..
applications.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
asterisk.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
bridges.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
channels.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
deviceStates.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
endpoints.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
events.json TALK_DETECT: A channel function that raises events when talking is detected 2014-05-30 12:42:57 +00:00
mailboxes.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
playbacks.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
recordings.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00
sounds.json AMI/ARI: Update version numbers 2014-05-28 17:46:37 +00:00