summaryrefslogtreecommitdiff
path: root/funcs/func_channel.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-04-03 17:17:33 +0000
committerMatthew Jordan <mjordan@digium.com>2013-04-03 17:17:33 +0000
commit1cafccdf877f623bee5d4eb3c32c7fe4aa605678 (patch)
tree0a5cd991fa2433837c6a8ef58910f6b1e6b3e3d5 /funcs/func_channel.c
parentb9962ee26a47355aed9e4229dfe241b760b95c96 (diff)
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 ........ Merged revisions 384641 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_channel.c')
-rw-r--r--funcs/func_channel.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 79e2b6f5f..db9434d83 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -77,6 +77,20 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<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>