[asterisk-commits] file: trunk r103955 - /trunk/channels/chan_h323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 20 16:29:47 CST 2008


Author: file
Date: Wed Feb 20 16:29:47 2008
New Revision: 103955

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103955
Log:
Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
(closes issue #11901)
Reported by: pj

Modified:
    trunk/channels/chan_h323.c

Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?view=diff&rev=103955&r1=103954&r2=103955
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Wed Feb 20 16:29:47 2008
@@ -3082,10 +3082,10 @@
 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) {




More information about the asterisk-commits mailing list