[Asterisk-cvs] asterisk/channels chan_mgcp.c, 1.128, 1.129 chan_sip.c, 1.845, 1.846 chan_skinny.c, 1.89, 1.90

kpfleming kpfleming
Fri Sep 9 15:54:27 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv16112/channels

Modified Files:
	chan_mgcp.c chan_sip.c chan_skinny.c 
Log Message:
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- chan_mgcp.c	5 Jul 2005 17:16:16 -0000	1.128
+++ chan_mgcp.c	9 Sep 2005 19:54:34 -0000	1.129
@@ -3928,7 +3928,7 @@
 	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;

Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.845
retrieving revision 1.846
diff -u -d -r1.845 -r1.846
--- chan_sip.c	8 Sep 2005 15:34:38 -0000	1.845
+++ chan_sip.c	9 Sep 2005 19:54:34 -0000	1.846
@@ -11920,7 +11920,7 @@
 }
 
 /*--- 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;
 

Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- chan_skinny.c	30 Jul 2005 19:12:30 -0000	1.89
+++ chan_skinny.c	9 Sep 2005 19:54:34 -0000	1.90
@@ -1327,7 +1327,7 @@
 	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;




More information about the svn-commits mailing list