aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_channel.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-26 23:31:23 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-26 23:31:23 +0000
commitb401a5b5e5dd7f761519b17828ffef1ab467fabb (patch)
treeb424d8bf966c0b174fd8688785b148ea271b5970 /funcs/func_channel.c
parentd806540826f462e0cb32a71f06544f4415f8818e (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: http://svn.digium.com/svn/asterisk/trunk@71988 f38db490-d61c-443f-a65b-d21fe96a405b
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"