diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-15 15:21:16 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-15 15:21:16 +0000 |
commit | 86f9034a9fca696b8efaab1d5e297f29b8b3f0d5 (patch) | |
tree | 4d29faf212e6bde95b0e34afa1676f9dd01e15b2 /funcs/func_channel.c | |
parent | 3fe169d130010e34cfd4b76ec210aa271b97cad3 (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: http://svn.digium.com/svn/asterisk/trunk@122802 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_channel.c')
-rw-r--r-- | funcs/func_channel.c | 9 |
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" |