[asterisk-commits] mjordan: branch 11 r384641 - in /branches/11: ./ funcs/func_channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 3 12:10:57 CDT 2013
Author: mjordan
Date: Wed Apr 3 12:10:54 2013
New Revision: 384641
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384641
Log:
Update documentation for CHANNEL function
Document that you can read/write the 'accountcode' and 'amaflags' on a channel.
........
Merged revisions 384640 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/11/ (props changed)
branches/11/funcs/func_channel.c
Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/11/funcs/func_channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/funcs/func_channel.c?view=diff&rev=384641&r1=384640&r2=384641
==============================================================================
--- branches/11/funcs/func_channel.c (original)
+++ branches/11/funcs/func_channel.c Wed Apr 3 12:10:54 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