]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
func_channel: Add help text for undocumented CHANNEL function arguments 09/2009/1
authorRusty Newton <rnewton@digium.com>
Thu, 14 Jan 2016 15:26:15 +0000 (09:26 -0600)
committerRusty Newton <rnewton@digium.com>
Thu, 14 Jan 2016 15:26:15 +0000 (09:26 -0600)
Adding help text documentation for:
* hangupsource
* appname
* appdata
* exten
* context
* channame
* uniqueid
* linkedid

ASTERISK-24097 #close
Reported by: Steven T. Wheeler
Tested by: Rusty Newton

Change-Id: Ib94b00568b0433987df87d5b67ea529b5905754d

funcs/func_channel.c

index afe9796f6d0e3b07f3a56322002ceb9ae6d64fa6..39d7499c78f3f5c950ddff144e3d03410d075a5e 100644 (file)
@@ -208,6 +208,30 @@ ASTERISK_REGISTER_FILE()
                                                <para>R/W whether or not context tracing is enabled, only available
                                                <emphasis>if CHANNEL_TRACE is defined</emphasis>.</para>
                                        </enum>
+                                       <enum name="hangupsource">
+                                               <para>R/W returns the channel responsible for hangup.</para>
+                                       </enum>
+                                       <enum name="appname">
+                                               <para>R/O returns the internal application name.</para>
+                                       </enum>
+                                       <enum name="appdata">
+                                               <para>R/O returns the application data if available.</para>
+                                       </enum>
+                                       <enum name="exten">
+                                               <para>R/O returns the extension for an outbound channel.</para>
+                                       </enum>
+                                       <enum name="context">
+                                               <para>R/O returns the context for an outbound channel.</para>
+                                       </enum>
+                                       <enum name="channame">
+                                               <para>R/O returns the channel name for an outbound channel.</para>
+                                       </enum>
+                                       <enum name="uniqueid">
+                                               <para>R/O returns the channel uniqueid.</para>
+                                       </enum>
+                                       <enum name="linkedid">
+                                               <para>R/O returns the linkedid if available, otherwise returns the uniqueid.</para>
+                                       </enum>
                                </enumlist>
                                <para><emphasis>chan_sip</emphasis> provides the following additional options:</para>
                                <enumlist>