summaryrefslogtreecommitdiff
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2016-08-12 11:15:38 -0500
committerMatt Jordan <mjordan@digium.com>2016-08-12 11:15:38 -0500
commitcfd6852d3929f77bd045dc59952a2c3b4ec6d9dc (patch)
tree400d0fa177203b0158021f2940ca0ee3f26ea3c2 /channels/chan_iax2.c
parent1a3cc843718a35eb69168304c54ec9e7caec6ffd (diff)
func_channel: Reorganize documentation
* Following the example of the PJSIP channel driver, the channel technology specific documentation has been moved to the respective channel drivers that provide that functionality. This has the benefit of locating the documentation of items with those modules that provide it. * Examples of using the CHANNEL function for both standard items as well as for PJSIP have been added. * The 'max_forwards' standard item has been documented. Change-Id: Ifaa79a232c8ac99cf8da6ef6cc7815d398b1b79b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r--channels/chan_iax2.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 8d5018d2c..bd773fc84 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -213,6 +213,25 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<para>Gets or sets a variable that is sent to a remote IAX2 peer during call setup.</para>
</description>
</function>
+ <info name="IAXCHANNEL" language="en_US" tech="IAX">
+ <enumlist>
+ <enum name="osptoken">
+ <para>R/O Get the peer's osptoken.</para>
+ </enum>
+ <enum name="peerip">
+ <para>R/O Get the peer's ip address.</para>
+ </enum>
+ <enum name="peername">
+ <para>R/O Get the peer's username.</para>
+ </enum>
+ <enum name="secure_signaling">
+ <para>R/O Get the if the IAX channel is secured.</para>
+ </enum>
+ <enum name="secure_media">
+ <para>R/O Get the if the IAX channel is secured.</para>
+ </enum>
+ </enumlist>
+ </info>
<manager name="IAXpeers" language="en_US">
<synopsis>
List IAX peers.