diff options
author | Joshua Colp <jcolp@digium.com> | 2006-08-30 03:16:03 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2006-08-30 03:16:03 +0000 |
commit | 12b6ec4e11f872ba59d8ffe72f479d3fd14bb00f (patch) | |
tree | 45b7b58240ee6153fe6044d3ec6d36d6c9013c93 /include/asterisk | |
parent | da7d969ae10e89c3fb2719dbac5099e5d09c56ef (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: https://origsvn.digium.com/svn/asterisk/trunk@41316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/rtp.h | 2 |
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); |