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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Sep 17 08:47:46 MST 2006


Author: pcadach
Date: Sun Sep 17 10:47:46 2006
New Revision: 43091

URL: http://svn.digium.com/view/asterisk?rev=43091&view=rev
Log:
Don't delay media startup in FastStart mode

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=43091&r1=43090&r2=43091&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Sun Sep 17 10:47:46 2006
@@ -803,7 +803,7 @@
 	}
 	/* The call will be answered later with "AnsweringCall()" function.
 	 */
-	return (pi ? AnswerCallDeferredWithMedia : AnswerCallDeferred);
+	return ((pi || (fastStartState != FastStartDisabled)) ? AnswerCallDeferredWithMedia : AnswerCallDeferred);
 }
 
 BOOL MyH323Connection::OnAlerting(const H323SignalPDU & alertingPDU, const PString & username)



More information about the asterisk-commits mailing list