[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.83,1.84

markster at lists.digium.com markster at lists.digium.com
Wed Oct 6 11:50:37 CDT 2004


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

Modified Files:
	chan_mgcp.c 
Log Message:
Merge anth's realtime patch, as well as the bindaddr fix that didn't make it in somehow yesterday. (bug #2588)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- chan_mgcp.c	5 Oct 2004 21:00:54 -0000	1.83
+++ chan_mgcp.c	6 Oct 2004 15:52:01 -0000	1.84
@@ -2404,7 +2404,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