From b0c5a1fc33941d893d2508c4f61c4b7321443d74 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 9 Sep 2005 19:54:34 +0000 Subject: allow users of RTP to know when the peer endpoint is (apparently) behind a NAT git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6558 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/rtp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/rtp.h') 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; -- cgit v1.2.3