From f9be91101f350df1b081f3bfe65ded3f61f15bc4 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 6 Oct 2004 22:26:10 +0000 Subject: [PATCH] fix bindaddr for MGCP (bug #2579) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3925 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_mgcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 781fa29e21..1a31c18a5d 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -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) -- 2.47.2