From: Tilghman Lesher Date: Wed, 23 Jan 2008 15:23:51 +0000 (+0000) Subject: Progress messages don't work X-Git-Tag: 1.6.0-beta2~2^2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19b83a0a3d7085e313c1b5715b5ae29869812ef;p=thirdparty%2Fasterisk.git Progress messages don't work (closes issue #10497) Reported by: pj Patches: h323-announces-r99483.diff uploaded by sergee (license 138) Tested by: pj git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99860 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 8761026d04..61dc7c25f6 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -1031,6 +1031,8 @@ static struct ast_channel *__oh323_new(struct oh323_pvt *pvt, int state, const c ch->rawwriteformat = fmt; ch->readformat = fmt; ch->rawreadformat = fmt; + if (!pvt->rtp) + __oh323_rtp_create(pvt); #if 0 ast_channel_set_fd(ch, 0, ast_rtp_fd(pvt->rtp)); ast_channel_set_fd(ch, 1, ast_rtcp_fd(pvt->rtp));