summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-09-09 19:54:34 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-09-09 19:54:34 +0000
commit60ffafcc3995a9583994091818beb87461c71096 (patch)
tree639e1b561a4180e86e5cc18dcd6460e031c3398e /include
parenta2b177fcbbbd3523bc762c5b8b770809232d7209 (diff)
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/rtp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 7bea249b2..0f371d839 100755
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -50,7 +50,7 @@ struct ast_rtp_protocol {
/* Get RTP struct, or NULL if unwilling to transfer */
struct ast_rtp *(* const get_vrtp_info)(struct ast_channel *chan);
/* Set RTP peer */
- int (* const set_rtp_peer)(struct ast_channel *chan, struct ast_rtp *peer, struct ast_rtp *vpeer, int codecs);
+ int (* const set_rtp_peer)(struct ast_channel *chan, struct ast_rtp *peer, struct ast_rtp *vpeer, int codecs, int nat_active);
int (* const get_codec)(struct ast_channel *chan);
const char * const type;
struct ast_rtp_protocol *next;