summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-06-15 15:21:16 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-06-15 15:21:16 +0000
commitb2ef18dab4b73bb9f37576354dbffd0c7efe2a69 (patch)
tree4d29faf212e6bde95b0e34afa1676f9dd01e15b2 /funcs
parent043a15afa7a38113e7a2b0b7931d0c5150882526 (diff)
Add some more IAX2-specific information about the channel to the CHANNEL()
function and begin the transition from SIPCHANINFO() to just using CHANNEL(). (closes issue #12856) Reported by: mostyn Patches: iax_and_sip_channel_info.patch uploaded by mostyn (license 398) (with some additional cleanup by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_channel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 506cb2867..c13c668a3 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -190,6 +190,13 @@ static struct ast_custom_function channel_function = {
#endif
"\n"
"chan_sip provides the following additional options:\n"
+ "R/O peerip Get the IP address of the peer\n"
+ "R/O recvip Get the source IP address of the peer\n"
+ "R/O from Get the URI from the From: header\n"
+ "R/O uri Get the URI from the Contact: header\n"
+ "R/O useragent Get the useragent\n"
+ "R/O peername Get the name of the peer\n"
+ "R/O t38passthrough 1 if T38 is offered or enabled in this channel, otherwise 0\n"
"R/O rtpqos Get QOS information about the RTP stream\n"
" This option takes two additional arguments:\n"
" Argument 1:\n"
@@ -227,6 +234,8 @@ static struct ast_custom_function channel_function = {
"\n"
"chan_iax2 provides the following additional options:\n"
"R/W osptoken Get or set the OSP token information for a call\n"
+ "R/O peerip Get the peer's ip address\n"
+ "R/O peername Get the peer's username\n"
"\n"
"Additional items may be available from the channel driver providing\n"
"the channel; see its documentation for details.\n"