[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.79.2.1,1.79.2.2

russell at lists.digium.com russell at lists.digium.com
Wed Oct 6 18:24:47 CDT 2004


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

Modified Files:
      Tag: v1-0
	chan_mgcp.c 
Log Message:
fix bindaddr for MGCP (bug #2579)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.79.2.1
retrieving revision 1.79.2.2
diff -u -d -r1.79.2.1 -r1.79.2.2
--- chan_mgcp.c	5 Oct 2004 21:39:00 -0000	1.79.2.1
+++ chan_mgcp.c	6 Oct 2004 22:26:10 -0000	1.79.2.2
@@ -2411,7 +2411,7 @@
             sub->rtp = NULL;
         }
 		/* Allocate the RTP now */
-		sub->rtp = ast_rtp_new(sched, io, 1, 0);
+		sub->rtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, bindaddr.sin_addr);
 		if (sub->rtp && sub->owner)
 			sub->owner->fds[0] = ast_rtp_fd(sub->rtp);
 		if (sub->rtp)




More information about the svn-commits mailing list