fix bindaddr for MGCP (bug #2579)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Russell Bryant 21 years ago
parent e16c9c9ecd
commit f9be91101f

@ -2411,7 +2411,7 @@ static void start_rtp(struct mgcp_subchannel *sub)
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)

Loading…
Cancel
Save