mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
fix bindaddr for MGCP (bug #2579)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user