mmshplugins/mmshaoplugin/src/muscallconferenceeventmonitor.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
--- a/mmshplugins/mmshaoplugin/src/muscallconferenceeventmonitor.cpp	Tue Aug 31 15:12:07 2010 +0300
+++ b/mmshplugins/mmshaoplugin/src/muscallconferenceeventmonitor.cpp	Wed Sep 01 12:31:01 2010 +0100
@@ -113,6 +113,7 @@
                  SetStateL( NMusSessionInformationApi::EConferenceCall ); 
                  break;
             case RMobileConferenceCall::EConferenceTerminated:
+                 SetStateL( NMusSessionInformationApi::EConferenceTerminated );
                  MonitorCallL();
                  break;
             case RMobileConferenceCall::EConferenceSwapped:
@@ -179,6 +180,14 @@
     else
         {
          // No point of reporting it .
+         //EConferenceTerminated must be set every time to notify avaeventmonitor
+        if ( aVal == NMusSessionInformationApi::EConferenceTerminated )
+        	{
+			User::LeaveIfError(RProperty::Set( NMusSessionInformationApi::KCategoryUid,
+						 NMusSessionInformationApi::KMusCallEvent,
+						 aVal ));  
+        	}
+    
         }    
     MUS_LOG( "mus: [MUSAO]  <- CMusCallConferenceEventMonitor::SetStateL" )    
     }