diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-09 19:54:34 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-09 19:54:34 +0000 |
commit | 60ffafcc3995a9583994091818beb87461c71096 (patch) | |
tree | 639e1b561a4180e86e5cc18dcd6460e031c3398e /channels/chan_sip.c | |
parent | a2b177fcbbbd3523bc762c5b8b770809232d7209 (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 'channels/chan_sip.c')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |