aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-09 19:54:34 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-09 19:54:34 +0000
commitb0c5a1fc33941d893d2508c4f61c4b7321443d74 (patch)
tree639e1b561a4180e86e5cc18dcd6460e031c3398e /channels
parent43c1f8970d644f002591812b3ab36400278e5470 (diff)
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
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_mgcp.c2
-rwxr-xr-xchannels/chan_sip.c2
-rwxr-xr-xchannels/chan_skinny.c2
3 files changed, 3 insertions, 3 deletions
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;
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 410eb9a84..769e67ebd 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -11920,7 +11920,7 @@ static struct ast_rtp *sip_get_vrtp_peer(struct ast_channel *chan)
}
/*--- sip_set_rtp_peer: Set the RTP peer for this call ---*/
-static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs)
+static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs, int nat_active)
{
struct sip_pvt *p;
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index 053a7e026..33431c865 100755
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -1327,7 +1327,7 @@ static struct ast_rtp *skinny_get_rtp_peer(struct ast_channel *chan)
return NULL;
}
-static int skinny_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs)
+static int skinny_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs, int nat_active)
{
struct skinny_subchannel *sub;
sub = chan->tech_pvt;