From 12b6ec4e11f872ba59d8ffe72f479d3fd14bb00f Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 30 Aug 2006 03:16:03 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@41316 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/rtp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/asterisk') 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); -- cgit v1.2.3