From a7a3050de9b98aea0516e570c93f19da5f00fa61 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" Date: Fri, 1 Jun 2012 03:30:01 +0000 Subject: [PATCH] Add documentation to function CHANNEL for options echocan_mode and buffers The ability to set "echocan_mode" and "buffers" through the dialplan was added to chan_dahdi some time ago. This patch adds some documentation to func_channel. (Closes issue ASTERISK-19911) Reported by: Dale Noll Tested by: Michael L. Young Patches: asterisk-19911-branch18.diff uploaded by Michael L. Young (license 5026) Review: https://reviewboard.asterisk.org/r/1949/ ........ Merged revisions 368092 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 368093 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368094 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_channel.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/funcs/func_channel.c b/funcs/func_channel.c index 37b34d738a..14ece0cfd5 100644 --- a/funcs/func_channel.c +++ b/funcs/func_channel.c @@ -253,6 +253,26 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") R/O PRI Nonzero if the channel has no B channel. The channel is either on hold or a call waiting call. + + W/O Change the channel's buffer policy (for the current call only) + This option takes two arguments: + Number of buffers, + Buffer policy being one of: + full + immediate + half + + + W/O Change the configuration of the active echo + canceller on the channel (if any), for the current call + only. + Possible values are: + on Normal mode (the echo canceller is actually reinitalized) + off Disabled + fax FAX/data mode (NLP disabled if possible, otherwise + completely disabled) + voice Voice mode (returns from FAX mode, reverting the changes that were made) + chan_ooh323 provides the following additional options: