]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Update documentation for CHANNEL function
authorMatthew Jordan <mjordan@digium.com>
Wed, 3 Apr 2013 17:17:33 +0000 (17:17 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 3 Apr 2013 17:17:33 +0000 (17:17 +0000)
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

funcs/func_channel.c

index 79e2b6f5f0e808a8e21ba731517e26cf9ffd50bb..db9434d834a433cc7c602ee125ea53c84dca225f 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>