videoplayback/videohelix/src/mpxcalldetector.cpp
changeset 66 adb51f74b890
parent 58 d2b028fd1f7d
--- a/videoplayback/videohelix/src/mpxcalldetector.cpp	Mon Sep 20 18:25:37 2010 +0300
+++ b/videoplayback/videohelix/src/mpxcalldetector.cpp	Tue Oct 05 09:26:49 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: 1 %
+// Version : %version: 2 %
 
 // INCLUDE FILES
 #include <ctsydomainpskeys.h>
@@ -101,10 +101,10 @@
     
     if ( status == KErrNone )
     {
-        TInt status;
-        iTsyProperty.Get( status );
+        TInt callStatus;
+        iTsyProperty.Get( callStatus );
         
-        if ( status != EPSCTsyCallStateNone )
+        if ( callStatus != EPSCTsyCallStateNone && callStatus != EPSCTsyCallStateDisconnecting )
         {
             iObserver->CallDetectedL();
         }