aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/rtp.h
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-30 03:16:03 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-30 03:16:03 +0000
commit888a9a8bb147c6805e8b00a71e179e8fefae6a76 (patch)
tree45b7b58240ee6153fe6044d3ec6d36d6c9013c93 /include/asterisk/rtp.h
parent52d9462a7638b509cf5b0fc98df8b7f2c8e16211 (diff)
Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41316 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/rtp.h')
-rw-r--r--include/asterisk/rtp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index cdc81fd77..f99d4dec6 100644
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -120,6 +120,8 @@ int ast_rtp_get_peer(struct ast_rtp *rtp, struct sockaddr_in *them);
void ast_rtp_get_us(struct ast_rtp *rtp, struct sockaddr_in *us);
+struct ast_rtp *ast_rtp_get_bridged(struct ast_rtp *rtp);
+
void ast_rtp_destroy(struct ast_rtp *rtp);
void ast_rtp_reset(struct ast_rtp *rtp);