summaryrefslogtreecommitdiff
path: root/funcs/func_channel.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-06-26 23:31:23 +0000
committerJoshua Colp <jcolp@digium.com>2007-06-26 23:31:23 +0000
commit1961b577059ec5b48f71c485193ff93d8930ee84 (patch)
treeb424d8bf966c0b174fd8688785b148ea271b5970 /funcs/func_channel.c
parenta333f7a474636f4e3937173e91486ea67f4742b0 (diff)
Add rtpdest option to SIP CHANNEL() dialplan function to return the IP address and port that RTP (be it audio/video/text) is going to.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_channel.c')
-rw-r--r--funcs/func_channel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index b3f539cc3..2a449532a 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -181,6 +181,11 @@ static struct ast_custom_function channel_function = {
" remote_count Number of transmitted packets\n"
" rtt Round trip time\n"
" all All statistics (in a form suited to logging, but not for parsing)\n"
+ "R/O rtpdest Get remote RTP destination information\n"
+ " This option takes one additional argument:\n"
+ " Argument 1:\n"
+ " audio Get audio destination\n"
+ " video Get video destination\n"
"\n"
"chan_iax2 provides the following additional options:\n"
"R/W osptoken Get or set the OSP token information for a call\n"