summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorRusty Newton <rnewton@digium.com>2016-01-14 09:26:15 -0600
committerRusty Newton <rnewton@digium.com>2016-01-17 11:49:43 -0600
commit018ccf680b231c5d7124faeeac6ce0bfe6d3da61 (patch)
treef6af523351c057224e0d51276cccbdf0eac7def3 /funcs
parent33af87876895bef22914fc482bc76d913a8173bb (diff)
func_channel: Add help text for undocumented CHANNEL function arguments
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
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_channel.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 0f59bb5f0..deecda61e 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -205,6 +205,30 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<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>