]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
authorJoshua Colp <jcolp@digium.com>
Wed, 20 Feb 2008 22:29:47 +0000 (22:29 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 20 Feb 2008 22:29:47 +0000 (22:29 +0000)
(closes issue #11901)
Reported by: pj

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103955 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index bba205e91dd749bb7c6e8d1b6ba7dfe44f4c2f26..e61fa101ad81806f65b38d7530f6323bf88e1283 100644 (file)
@@ -3082,10 +3082,10 @@ static struct ast_cli_entry cli_h323_reload =
 static enum ast_rtp_get_result oh323_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp)
 {
        struct oh323_pvt *pvt;
-       enum ast_rtp_get_result res = AST_RTP_GET_FAILED;
+       enum ast_rtp_get_result res = AST_RTP_TRY_PARTIAL;
 
        if (!(pvt = (struct oh323_pvt *)chan->tech_pvt))
-               return res;
+               return AST_RTP_GET_FAILED;
 
        ast_mutex_lock(&pvt->lock);
        if (pvt->rtp && pvt->options.bridge) {