phoneengine/phonemodel/src/cpeparservoipnumberhandler.cpp
branchRCL_3
changeset 24 41a7f70b3818
parent 7 544e34b3255a
child 25 5266b1f337bd
--- a/phoneengine/phonemodel/src/cpeparservoipnumberhandler.cpp	Thu Aug 19 09:54:27 2010 +0300
+++ b/phoneengine/phonemodel/src/cpeparservoipnumberhandler.cpp	Tue Aug 31 15:14:29 2010 +0300
@@ -98,6 +98,9 @@
           &aDtmfPostfix );
 
     TPEPhoneNumber phoneNumber;
+    
+    // Check if phone is locked
+    iOwner.CheckIfPhoneIsLockedL();
   
     if ( aNumber.Length() == 0 )
         {
@@ -108,7 +111,7 @@
     
     TPECallType processType = iDataStore.CallTypeCommand();
  
-    // Remove possible + or w chartes.		
+    // Remove possible + or w chartes.      
     TPEPhoneNumber postfix = FilterPostfix( aDtmfPostfix );
     if( postfix.Length() )
         {
@@ -123,8 +126,11 @@
   
     // Temporary hack for enabling client calls with service id 3
     // Proper solution to be done to CallUi and AIW dial data
+        
+
     TUint32 serviceId = iDataStore.ServiceIdCommand();
     iServiceHandling.EnableServiceL( serviceId );
+
     }
 
 // -----------------------------------------------------------------------------
@@ -175,12 +181,6 @@
     // DialCall method will set call origin as unknow
     TInt errorCode = iCallHandling.DialCall( phoneNumber, callId );
     
-    if ( iDataStore.IsTransferDial() )
-        {
-        iDataStore.SetDoCallBackRequest( ETrue, callId );   
-        iDataStore.SetIsTransferDial( EFalse );
-        }
-    
     // Set dtmf string to dataStore
     iDataStore.SetDtmfPostFix( iDtmfString, callId );