--- channels/h323/ast_h323.cpp 21 May 2005 16:27:57 -0000 1.78 +++ channels/h323/ast_h323.cpp 24 May 2005 09:05:42 -0000 @@ -556,14 +556,9 @@ } else { options |= H323Connection::H245TunnelingOptionEnable; } -/* Disable until I can figure out the proper way to deal with this */ -#if 0 - if (opts->noSilenceSuppression) { - options |= H323Connection::SilenceSuppresionOptionDisable; - } else { - options |= H323Connection::SilenceSUppressionOptionEnable; - } -#endif + /* This should be done per connection, not globally. */ + if (opts->noSilenceSuppression) + SetSilenceDetectionMode(H323AudioCodec::NoSilenceDetection); return new MyH323Connection(*this, callReference, options); }