diff options
author | Matt Jordan <mjordan@digium.com> | 2016-08-12 11:15:38 -0500 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2016-08-15 07:39:19 -0500 |
commit | ddab42e296a0c69ab40a2ecbe5cdcc961f6b6602 (patch) | |
tree | 64f52e2649b01500c01dea3d579dc60674573fa7 /channels/chan_iax2.c | |
parent | 8b1e919ae46bdab02010a9d25c1c27670b03e87f (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.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 721da9a04..1b3e287af 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -212,6 +212,25 @@ ASTERISK_REGISTER_FILE() <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. |