Revision: 18731
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=18731&view=rev
Author: csoutheren
Date: 2007-10-22 05:40:09 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
Applied 1800937 - Fix media channel after openLogicalChannel Reject
Thanks to Simon Zwahlen
Modified Paths:
--------------
opal/branches/csoutheren/devel/src/h323/h323.cxx
Modified: opal/branches/csoutheren/devel/src/h323/h323.cxx
===================================================================
--- opal/branches/csoutheren/devel/src/h323/h323.cxx 2007-10-22 12:32:12 UTC (rev 18730)
+++ opal/branches/csoutheren/devel/src/h323/h323.cxx 2007-10-22 12:40:09 UTC (rev 18731)
@@ -4072,6 +4072,15 @@
}
if (!fromRemote) {
+ // close the source media stream so it will be re-established
+ OpalMediaStream* stream = NULL;
+ stream = conflictingChannel.GetMediaStream();
+ if (stream != NULL) {
+ OpalMediaPatch * patch = stream->GetPatch();
+ if (patch != NULL)
+ patch->GetSource().Close();
+ }
+
conflictingChannel.Close();
H323Capability * capability = remoteCapabilities.FindCapability(channel->GetCapability());
if (capability == NULL) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|