diff options
author | Mark Spencer <markster@digium.com> | 2004-10-06 15:52:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-10-06 15:52:01 +0000 |
commit | 4a6c4d41fcfed70b44a023c53b2d7ddc642641b2 (patch) | |
tree | 03cfd83ea94d4326521c2bff151ab6755e9b3025 /channels/chan_mgcp.c | |
parent | 415d197da18b6cecc1a2b26474054606a512833a (diff) |
Merge anth's realtime patch, as well as the bindaddr fix that didn't make it in somehow yesterday. (bug #2588)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-x | channels/chan_mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 21cfd163e..9e20c5878 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2404,7 +2404,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) |