[Asterisk-cvs] asterisk/channels chan_sip.c,1.441,1.442

markster at lists.digium.com markster at lists.digium.com
Thu Jul 8 10:20:35 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Use real bind address 


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -d -r1.441 -r1.442
--- chan_sip.c	8 Jul 2004 13:04:42 -0000	1.441
+++ chan_sip.c	8 Jul 2004 14:06:22 -0000	1.442
@@ -2229,9 +2229,9 @@
 	} else {
 		memcpy(&p->ourip, &__ourip, sizeof(p->ourip));
 	}
-	p->rtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, __ourip);
+	p->rtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, bindaddr.sin_addr);
 	if (videosupport)
-		p->vrtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, __ourip);
+		p->vrtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, bindaddr.sin_addr);
 	p->branch = rand();	
 	p->tag = rand();
 	




More information about the svn-commits mailing list