Progress messages don't work
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 23 Jan 2008 15:23:51 +0000 (15:23 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 23 Jan 2008 15:23:51 +0000 (15:23 +0000)
(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

index 8761026..61dc7c2 100644 (file)
@@ -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));