1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
3776 CompleteRequest( ret ); |
3776 CompleteRequest( ret ); |
3777 #if ( NCP_COMMON_S60_VERSION_SUPPORT >= S60_VERSION_50 ) |
3777 #if ( NCP_COMMON_S60_VERSION_SUPPORT >= S60_VERSION_50 ) |
3778 // Notify NokiaTSY that next SS request is SAT originated |
3778 // Notify NokiaTSY that next SS request is SAT originated |
3779 if ( KErrNone == ret ) |
3779 if ( KErrNone == ret ) |
3780 { |
3780 { |
3781 TFLOGSTRING("TSY: Inform NokiaTSY SS request being SAT originated"); |
3781 TFLOGSTRING("TSY: Inform NokiaTSY SS request being SAT originated, resource control needed"); |
3782 OstTrace0( TRACE_NORMAL, DUP1_CSATNOTIFYSENDSS_MESSAGERECEIVED, "Inform NokiaTSY SS request being SAT originated" ); |
3782 OstTrace0( TRACE_NORMAL, DUP1_CSATNOTIFYSENDSS_MESSAGERECEIVED, "Inform NokiaTSY SS request being SAT originated, resource control needed" ); |
|
3783 |
|
3784 TBool resourceControlSuppress( EFalse ); |
|
3785 CMmDataPackage dataPackage; |
|
3786 dataPackage.PackData( &resourceControlSuppress ); |
|
3787 |
3783 iSatMessaging->GetMessageRouter()->ExtFuncL( |
3788 iSatMessaging->GetMessageRouter()->ExtFuncL( |
3784 ESatNotifySendSsPCmd, |
3789 ESatNotifySendSsPCmd, |
3785 NULL ); |
3790 &dataPackage ); |
3786 } |
3791 } |
3787 #endif |
3792 #endif |
3788 } |
3793 } |
3789 } |
3794 } |
3790 |
3795 |
5760 TFLOGSTRING("CSatNotifyCallControlRequest::CompleteNotificationL \ |
5765 TFLOGSTRING("CSatNotifyCallControlRequest::CompleteNotificationL \ |
5761 SetSendSsDetails"); |
5766 SetSendSsDetails"); |
5762 OstTrace0( TRACE_NORMAL, DUP3_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "CSatNotifyCallControlRequest::CompleteNotificationL SetSendSsDetails" ); |
5767 OstTrace0( TRACE_NORMAL, DUP3_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "CSatNotifyCallControlRequest::CompleteNotificationL SetSendSsDetails" ); |
5763 // Set SS string to struct |
5768 // Set SS string to struct |
5764 callControl.SetSendSsDetails( tempSs ); |
5769 callControl.SetSendSsDetails( tempSs ); |
5765 // Notify NokiaTSY that next SS request is SAT originated |
5770 if ( ATK_CHANGED == aCcResult ) |
5766 TFLOGSTRING("TSY: Inform NokiaTSY SS request being Call Control originated"); |
5771 { |
5767 OstTrace0( TRACE_NORMAL, DUP4_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "Inform NokiaTSY SS request being Call Control originated" ); |
5772 // Notify NokiaTSY that next SS request is SAT originated, because this is changed action made by SAT server |
5768 iSatMessaging->GetMessageRouter()->ExtFuncL( |
5773 TFLOGSTRING("TSY: Inform NokiaTSY SS request being Call Control originated, no further call control actions needed"); |
5769 ESatNotifyCallControlRequest, |
5774 OstTrace0( TRACE_NORMAL, DUP4_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "Inform NokiaTSY SS request being Call Control originated, no further call control actions needed" ); |
5770 NULL ); |
5775 |
|
5776 TBool resourceControlSuppress( ETrue ); |
|
5777 CMmDataPackage dataPackage; |
|
5778 dataPackage.PackData( &resourceControlSuppress ); |
|
5779 |
|
5780 iSatMessaging->GetMessageRouter()->ExtFuncL( |
|
5781 ESatNotifySendSsPCmd, |
|
5782 &dataPackage ); |
|
5783 } |
5771 } |
5784 } |
5772 else |
5785 else |
5773 { |
5786 { |
5774 // SS string is too long |
5787 // SS string is too long |
5775 ret = KErrCorrupt; |
5788 ret = KErrCorrupt; |
5936 // set call parameters |
5949 // set call parameters |
5937 TFLOGSTRING("CSatNotifyCallControlRequest::CompleteNotificationL \ |
5950 TFLOGSTRING("CSatNotifyCallControlRequest::CompleteNotificationL \ |
5938 SetCallSetUpDetails"); |
5951 SetCallSetUpDetails"); |
5939 OstTrace0( TRACE_NORMAL, DUP12_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "CSatNotifyCallControlRequest::CompleteNotificationL SetCallSetUpDetails" ); |
5952 OstTrace0( TRACE_NORMAL, DUP12_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "CSatNotifyCallControlRequest::CompleteNotificationL SetCallSetUpDetails" ); |
5940 callControl.SetCallSetUpDetails( tempCallParams ); |
5953 callControl.SetCallSetUpDetails( tempCallParams ); |
|
5954 if ( ATK_CHANGED == aCcResult ) |
|
5955 { |
|
5956 // Notify NokiaTSY that next dial request is SAT originated, because this is changed action made by SAT server |
|
5957 TFLOGSTRING("TSY: CSatNotifyCallControlRequest::CompleteNotificationL: Notify NTSY next dial request is SAT-originated"); |
|
5958 OstTrace0( TRACE_NORMAL, DUP16_CSATNOTIFYCALLCONTROLREQUEST_COMPLETENOTIFICATIONL, "CSatNotifyCallControlRequest::CompleteNotificationL: Notify NTSY next dial request is SAT-originated" ); |
|
5959 TBool resourceControlSuppress( ETrue ); |
|
5960 CMmDataPackage dataPackage; |
|
5961 dataPackage.PackData( &resourceControlSuppress ); |
|
5962 iSatMessaging->GetMessageRouter()->ExtFuncL( |
|
5963 ESatNotifySetUpCallPCmd, |
|
5964 &dataPackage ); |
|
5965 } |
|
5966 // No else |
5941 } |
5967 } |
5942 // Check if alpha id present |
5968 // Check if alpha id present |
5943 TPtrC8 sourceString; // Used with conversions |
5969 TPtrC8 sourceString; // Used with conversions |
5944 RSat::TAlphaId tempAlphaId; |
5970 RSat::TAlphaId tempAlphaId; |
5945 RSat::TAlphaIdValidity tempValidity( RSat::EAlphaIdValidityNotSet ); |
5971 RSat::TAlphaIdValidity tempValidity( RSat::EAlphaIdValidityNotSet ); |