summaryrefslogtreecommitdiff
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-01-23 15:23:51 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-01-23 15:23:51 +0000
commite19b83a0a3d7085e313c1b5715b5ae29869812ef (patch)
tree2c6350a7634ac2c4ca50352ae87204bc1a4cacc8 /channels/chan_h323.c
parent16315ae2f356e4ed46a311f00bd0942de09b3f12 (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: https://origsvn.digium.com/svn/asterisk/trunk@99860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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));