[Asterisk-code-review] func channel: Add help text for undocumented CHANNEL functio... (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Sun Jan 17 13:48:23 CST 2016
Joshua Colp has submitted this change and it was merged.
Change subject: func_channel: Add help text for undocumented CHANNEL function arguments
......................................................................
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
---
M funcs/func_channel.c
1 file changed, 24 insertions(+), 0 deletions(-)
Approvals:
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
George Joseph: Looks good to me, but someone else must approve
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 0f59bb5..deecda6 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -205,6 +205,30 @@
<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>
--
To view, visit https://gerrit.asterisk.org/2031
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib94b00568b0433987df87d5b67ea529b5905754d
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Rusty Newton <rnewton at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list