From e19b83a0a3d7085e313c1b5715b5ae29869812ef Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Wed, 23 Jan 2008 15:23:51 +0000
Subject: [PATCH] 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
---
 channels/chan_h323.c | 2 ++
 1 file changed, 2 insertions(+)

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));
-- 
GitLab