callcontinuity/vcc/src/cvccdirector.cpp
branchRCL_3
changeset 11 6134b5029079
parent 10 ed1e38b404e5
--- a/callcontinuity/vcc/src/cvccdirector.cpp	Wed Mar 31 21:20:05 2010 +0300
+++ b/callcontinuity/vcc/src/cvccdirector.cpp	Wed Apr 14 15:49:55 2010 +0300
@@ -296,11 +296,19 @@
     // Check call type and translate it into domain type
     CVccPerformer* perf;
     TBool csOriginated = EFalse;
+    
     if( aParameters.CallType() == CCPCall::ECallTypeCSVoice )
         {
+        RUBY_DEBUG0("CS Call");
+        iHoTrigger->SetCurrentDomainType( CVccHoTrigger::ECallDomainTypeCS );
         csOriginated = ETrue;
         iHoTrigger->ReadHoAllowedWhenCsOriginatedSettingL();
         }
+    else
+        {
+        RUBY_DEBUG0("PS Call");
+        iHoTrigger->SetCurrentDomainType( CVccHoTrigger::ECallDomainTypePS );
+        }
     
     perf = CVccPerformer::NewL( iProviders, 
                                 iStateInit, 
@@ -601,10 +609,19 @@
     TBool csOriginated = EFalse;
     if( aCall->Parameters().CallType() == CCPCall::ECallTypeCSVoice )
         {
+        RUBY_DEBUG0("incoming CS Call");
+        iHoTrigger->SetCurrentDomainType( CVccHoTrigger::ECallDomainTypeCS );
         csOriginated = ETrue;
         iHoTrigger->ReadHoAllowedWhenCsOriginatedSettingL();
         
         }
+    
+    else
+        {
+        RUBY_DEBUG0("incoming PS Call");
+        iHoTrigger->SetCurrentDomainType( CVccHoTrigger::ECallDomainTypePS );
+        }
+    
     //Create 1 performer for each call
     
     CVccPerformer* perf = CVccPerformer::NewL( iProviders,