mmshplugins/mmshaoplugin/src/muscallmonitorbase.cpp
branchRCL_3
changeset 31 33a5d2bbf6fc
parent 18 0da2e08216b6
child 32 73a1feb507fb
--- a/mmshplugins/mmshaoplugin/src/muscallmonitorbase.cpp	Thu Jul 15 18:35:08 2010 +0300
+++ b/mmshplugins/mmshaoplugin/src/muscallmonitorbase.cpp	Thu Aug 19 09:51:39 2010 +0300
@@ -80,6 +80,16 @@
         User::LeaveIfError(RProperty::Get( NMusSessionInformationApi::KCategoryUid,
                             NMusSessionInformationApi::KMusCallEvent,currentVal));
         MUS_LOG1( "mus: [MUSAO]  - Remote State = %d",iRemoteCallEvent )
+        
+        
+        /*
+         If Call is Connected then set the Call info.
+         */
+        if( aVal==NMusSessionInformationApi::ECallConnected ) 
+            {
+            SetCallInfoL();
+            }
+        
         /* If current event is callconnected and remote is not in hold set the
            property value to CallConnected.Else set it to CallHold.
            Note : We can be sure about Local is connected when it goes to
@@ -125,14 +135,7 @@
                                              ( TInt ) NMusSessionInformationApi::ENoCall ));
                     }
             }
-        /*
-         If Call is Connected then set the Call info.
-         */
-        if( aVal==NMusSessionInformationApi::ECallConnected ) 
-            {
-            SetCallInfoL();
-            }
-        
+
         }   
  
     MUS_LOG( "mus: [MUSAO]  <- CMusCallMonitorBase::SetStateL" )