]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Update documentation for CHANNEL function
authorMatthew Jordan <mjordan@digium.com>
Wed, 3 Apr 2013 17:05:55 +0000 (17:05 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 3 Apr 2013 17:05:55 +0000 (17:05 +0000)
Document that you can read/write the 'accountcode' and 'amaflags' on a channel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@384640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_channel.c

index db7d506071490871e587d5b72a9ce2805e97dadd..a5fff75c5cc10664b481f4ebb310eede3293cbbf 100644 (file)
@@ -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>