[asterisk-commits] mjordan: branch 1.8 r384640 - /branches/1.8/funcs/func_channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 3 12:05:59 CDT 2013
Author: mjordan
Date: Wed Apr 3 12:05:55 2013
New Revision: 384640
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384640
Log:
Update documentation for CHANNEL function
Document that you can read/write the 'accountcode' and 'amaflags' on a channel.
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=384640&r1=384639&r2=384640
==============================================================================
--- branches/1.8/funcs/func_channel.c (original)
+++ branches/1.8/funcs/func_channel.c Wed Apr 3 12:05:55 2013
@@ -77,6 +77,20 @@
<parameter name="item" required="true">
<para>Standard items (provided by all channel technologies) are:</para>
<enumlist>
+ <enum name="amaflags">
+ <para>R/W the Automatic Message Accounting (AMA) flags on the channel.
+ When read from a channel, the integer value will always be returned.
+ When written to a channel, both the string format or integer value
+ is accepted.</para>
+ <enumlist>
+ <enum name="1"><para><literal>OMIT</literal></para></enum>
+ <enum name="2"><para><literal>BILLING</literal></para></enum>
+ <enum name="3"><para><literal>DOCUMENTATION</literal></para></enum>
+ </enumlist>
+ </enum>
+ <enum name="accountcode">
+ <para>R/W the channel's account code.</para>
+ </enum>
<enum name="audioreadformat">
<para>R/O format currently being read.</para>
</enum>
More information about the asterisk-commits
mailing list