[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42890 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Sep 13 12:15:37 MST 2006


Author: pcadach
Date: Wed Sep 13 14:15:36 2006
New Revision: 42890

URL: http://svn.digium.com/view/asterisk?rev=42890&view=rev
Log:
Don't start backward media stream if not required

Modified:
    team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp

Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=42890&r1=42889&r2=42890&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Wed Sep 13 14:15:36 2006
@@ -772,7 +772,7 @@
 	}
 	/* The call will be answered later with "AnsweringCall()" function.
 	 */
-	return H323Connection::AnswerCallDeferredWithMedia;
+	return (pi ? AnswerCallDeferredWithMedia : AnswerCallDeferred);
 }
 
 BOOL MyH323Connection::OnAlerting(const H323SignalPDU & alertingPDU, const PString & username)



More information about the asterisk-commits mailing list