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 --- channels/chan_mgcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_mgcp.c') diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 9cf875409..6e7dd3aaa 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -3928,7 +3928,7 @@ static struct ast_rtp *mgcp_get_rtp_peer(struct ast_channel *chan) return NULL; } -static int mgcp_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs) +static int mgcp_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs, int nat_active) { /* XXX Is there such thing as video support with MGCP? XXX */ struct mgcp_subchannel *sub; -- cgit v1.2.3