phoneengine/phonemodel/src/cpeclientcommandhandlermonitor.cpp
branchRCL_3
changeset 61 41a7f70b3818
parent 9 8871b09be73b
child 62 5266b1f337bd
--- a/phoneengine/phonemodel/src/cpeclientcommandhandlermonitor.cpp	Thu Aug 19 09:54:27 2010 +0300
+++ b/phoneengine/phonemodel/src/cpeclientcommandhandlermonitor.cpp	Tue Aug 31 15:14:29 2010 +0300
@@ -24,7 +24,7 @@
 #include "mpecallhandling.h"
 #include "mpephonemodelinternal.h"
 #include <mpedatastore.h>
-#include <RPhCltServer.h>
+#include <rphcltserver.h>
 #include <talogger.h>
 #include <telephonyvariant.hrh>
 
@@ -442,10 +442,10 @@
     TEFLOGSTRING2( KTAINT, "CPEClientCommandHandlerMonitor::HangUp aState=%d", aState); 
     TInt ret( ECCPErrorNotFound ); 
   
-    TPEState conferenceState = iModel.DataStore()->ConferenceCallState();
+    TPEState conferenceState = iCallHandling.GetCallState( KPEConferenceCallID ); 
     if ( conferenceState == aState ) 
         { 
-        ret = iCallHandling.ReleaseConference(); 
+        ret = iCallHandling.HangUp( KPEConferenceCallID, ETPEHangUpDefault ); 
         } 
     else 
         {