[asterisk-commits] elguero: branch 1.8 r368092 - /branches/1.8/funcs/func_channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 31 22:25:56 CDT 2012


Author: elguero
Date: Thu May 31 22:25:52 2012
New Revision: 368092

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=368092
Log:
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/

Modified:
    branches/1.8/funcs/func_channel.c

Modified: branches/1.8/funcs/func_channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/funcs/func_channel.c?view=diff&rev=368092&r1=368091&r2=368092
==============================================================================
--- branches/1.8/funcs/func_channel.c (original)
+++ branches/1.8/funcs/func_channel.c Thu May 31 22:25:52 2012
@@ -250,6 +250,26 @@
 						<para>R/O PRI Nonzero if the channel has no B channel.
 						The channel is either on hold or a call waiting call.</para>
 					</enum>
+					<enum name="buffers">
+						<para>W/O Change the channel's buffer policy (for the current call only)</para>
+						<para>This option takes two arguments:</para>
+						<para>	Number of buffers,</para>
+						<para>	Buffer policy being one of:</para>
+						<para>	    <literal>full</literal></para>
+						<para>	    <literal>immediate</literal></para>
+						<para>	    <literal>half</literal></para>
+					</enum>
+					<enum name="echocan_mode">
+						<para>W/O Change the configuration of the active echo
+						canceller on the channel (if any), for the current call
+						only.</para>
+						<para>Possible values are:</para>
+						<para>	<literal>on</literal>	Normal mode (the echo canceller is actually reinitalized)</para>
+						<para>	<literal>off</literal>	Disabled</para>
+						<para>	<literal>fax</literal>	FAX/data mode (NLP disabled if possible, otherwise
+							completely disabled)</para>
+						<para>	<literal>voice</literal>	Voice mode (returns from FAX mode, reverting the changes that were made)</para>
+					</enum>
 				</enumlist>
 			</parameter>
 		</syntax>




More information about the asterisk-commits mailing list