aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-23 15:23:51 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-23 15:23:51 +0000
commit76f0c9271406afa3bd30253352b180e298083b81 (patch)
tree2c6350a7634ac2c4ca50352ae87204bc1a4cacc8 /channels/chan_h323.c
parent2b223638345cc41467494e832e94d0fb46afaed2 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@99860 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r--channels/chan_h323.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index 8761026d0..61dc7c25f 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));