cellularsrvapitest/telephonydevsoundhaitest/scripts/multimedia_telephony-validation-manual-outgoingcall_play.script
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 //
       
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 //! @file
       
    17 //! @SYMTestSuiteName multimedia_telephony-validation-manual-outgoingcall_play
       
    18 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
       
    19 // 
       
    20 // Tests all public elements of the RMobileCall, CMMFDevSound, Crepository, CAudioInput
       
    21 // classes as a means of confidence that the APIs work as expected.
       
    22 // 
       
    23 // The purpose is to provide a regression test suite of PublishedAll
       
    24 // APIs for: RMobileCall, CMMFDevSound, Crepository, CAudioInput
       
    25 // Voice Call tests are intended for semi-automatic testing because dialing/ answering calls require user interaction.
       
    26 //
       
    27 
       
    28 
       
    29 
       
    30 LOAD_SUITE t_etelmm_devsound
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 
       
    36 START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001
       
    37 
       
    38 //!@SYMTestCaseID		MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001
       
    39 //!@SYMAPI
       
    40 //!                RLine::Open(RPhone{ref}; const TDesC{ref});
       
    41 //!                RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
       
    42 //!                RCall::OpenExistingCall(RLine{ref}; const TDesC{ref});
       
    43 //!                RCall::GetCaps(TCaps{ref});
       
    44 //!                TCallInfo::AnswerIncomingCall(const TDesC8{ref});
       
    45 //!                RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref});
       
    46 //!                TCallInfo::HangUp(TRequestStatus{ref});
       
    47 //!                RCall::Close( )
       
    48 //!                RLine::Close( )
       
    49 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
    50 //!                CMMFDevSound::Capabilities()
       
    51 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
    52 //!                CMMFDevSound::PlayInitL()
       
    53 //!                CMMFDevSound::Stop()
       
    54 //!@SYMAuthor			JPacho
       
    55 //!@SYMCreationDate		22/9/08
       
    56 //!@SYMTestCaseDesc		 Mobile Originated Voice Call GSM (volume 0 percent)
       
    57 //!@SYMTestActions
       
    58 //!                1. Create first DevSound instance
       
    59 //!                2. Create second DevSound instance
       
    60 //!                3. Create telephony audio routing instance 
       
    61 //!                4. Get available outputs
       
    62 //!                5. Open telephony server
       
    63 //!                6. Open mobile phone (RTelServer = telserver1; Phone = 0)
       
    64 //!                7. Open line (Line = Voice1;RMobilePhone=mobilephone1)
       
    65 //!                8. Open new call (RMobileLine=mobileline1; Call = 1)
       
    66 //!                9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1)
       
    67 //!                10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10)
       
    68 //!                11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3)
       
    69 //!                12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3)
       
    70 //!                13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
    71 //!                14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording)
       
    72 //!                15. Get DS instance 2 capabilities
       
    73 //!                16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
    74 //!                17. Get current output
       
    75 //!                18. Set telephony output (Output=EEarPiece)
       
    76 //!                19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
       
    77 //!                20. Start playing in DevSound instance 2
       
    78 //!                21. Set Volume instance 2 (Volume=0)
       
    79 //!                22. Stop play
       
    80 //!                23. Close file played
       
    81 //!                24. Destroy DevSound instance 1
       
    82 //!                25. Destroy DevSound instance 2
       
    83 //!                26. Get call duration (RMobileLine=mobileline1; Call = 1)
       
    84 //!                27. Hang up (RMobileLine=mobileline1; Call = 1)
       
    85 //!                28. Close call (RMobileLine=mobileline1; Call = 1)
       
    86 //!                29. Close line
       
    87 //!                30. Close mobile phone
       
    88 //!                31. Close telephony server
       
    89 //!                32. Destroy telephony routing instance
       
    90 //!@SYMTestStatus		On Work
       
    91 //!@SYMTestPriority		High
       
    92 //!@SYMTestExpectedResults
       
    93 //!                Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up
       
    94 //!@SYMTestType			CIT
       
    95 
       
    96 	START_TEST_BLOCK	300	t_etelmm_devsound	\mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini
       
    97 		CREATE_OBJECT	CMMFDevSound		devsound1
       
    98 		CREATE_OBJECT	CMMFDevSound		devsound2
       
    99 		CREATE_OBJECT	RTelServer		telserver1
       
   100 		CREATE_OBJECT	RMobilePhone		mobilephone1
       
   101 		CREATE_OBJECT	RMobileLine		mobileline1
       
   102 		CREATE_OBJECT	RMobileCall		mobilecall1
       
   103 		CREATE_OBJECT	CTelephonyAudioRouting		telephonyaudiorouting1
       
   104 		COMMAND		devsound1		NewL
       
   105 		COMMAND		devsound2		NewL
       
   106 		COMMAND		telephonyaudiorouting1		NewL
       
   107 		COMMAND		telephonyaudiorouting1		AvailableOutputs
       
   108 		COMMAND		telserver1		Connect
       
   109 		COMMAND		mobilephone1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Open_command06
       
   110 		COMMAND		mobileline1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Open_command07
       
   111 		COMMAND		mobilecall1		OpenNewCall			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-OpenNewCall_command08
       
   112 		COMMAND		mobilecall1		GetCaps			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-GetCaps_command09
       
   113 		COMMAND		mobilecall1		Dial			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Dial_command10
       
   114 		OUTSTANDING
       
   115 		DELAY  5000000 
       
   116 		COMMAND		devsound2		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-InitializeL_command11
       
   117 		OUTSTANDING
       
   118 		COMMAND		devsound1		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-InitializeL_command12
       
   119 		OUTSTANDING
       
   120 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetPrioritySettings_command13
       
   121 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetPrioritySettings_command14
       
   122 		COMMAND		devsound2		Capabilities
       
   123 		COMMAND		devsound2		SetConfigL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetConfigL_command16
       
   124 		COMMAND		telephonyaudiorouting1		Output
       
   125 		COMMAND		telephonyaudiorouting1		SetOutputL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetOutputL_command18		OUTSTANDING		DELAY  2500000 		
       
   126 		OUTSTANDING
       
   127 		DELAY  2500000 
       
   128 		COMMAND		devsound2		OpenFile			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-OpenFile_command19
       
   129 		COMMAND		devsound2		PlayInitL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-PlayInitL_command20		OUTSTANDING		DELAY  2500000 
       
   130 		OUTSTANDING
       
   131 		DELAY  2500000 
       
   132 		COMMAND		devsound2		SetVolume			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetVolume_command21
       
   133 		DELAY  10000000 
       
   134 		COMMAND		devsound2		Stop
       
   135 		COMMAND		devsound2		CloseFile
       
   136 		COMMAND		devsound1		~
       
   137 		COMMAND		devsound2		~
       
   138 		COMMAND		mobilecall1		GetCallDuration			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-GetCallDuration_command26
       
   139 		COMMAND		mobilecall1		HangUp			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-HangUp_command27
       
   140 		OUTSTANDING
       
   141 		COMMAND		mobilecall1		Close			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Close_command28
       
   142 		COMMAND		mobileline1		Close
       
   143 		COMMAND		mobilephone1		Close
       
   144 		COMMAND		telserver1		Close
       
   145 		COMMAND		telephonyaudiorouting1		~
       
   146 	END_TEST_BLOCK
       
   147 END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001
       
   148 
       
   149 
       
   150 
       
   151 
       
   152 START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002
       
   153 
       
   154 //!@SYMTestCaseID		MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002
       
   155 //!@SYMAPI
       
   156 //!                RLine::Open(RPhone{ref}; const TDesC{ref});
       
   157 //!                RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
       
   158 //!                RCall::OpenExistingCall(RLine{ref}; const TDesC{ref});
       
   159 //!                RCall::GetCaps(TCaps{ref});
       
   160 //!                TCallInfo::AnswerIncomingCall(const TDesC8{ref});
       
   161 //!                RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref});
       
   162 //!                TCallInfo::HangUp(TRequestStatus{ref});
       
   163 //!                RCall::Close( )
       
   164 //!                RLine::Close( )
       
   165 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   166 //!                CMMFDevSound::Capabilities()
       
   167 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   168 //!                CMMFDevSound::PlayInitL()
       
   169 //!                CMMFDevSound::Stop()
       
   170 //!@SYMAuthor			JPacho
       
   171 //!@SYMCreationDate		22/9/08
       
   172 //!@SYMTestCaseDesc		 Mobile Originated Voice Call GSM (volume 10 percent)
       
   173 //!@SYMTestActions
       
   174 //!                1. Create first DevSound instance
       
   175 //!                2. Create second DevSound instance
       
   176 //!                3. Create telephony audio routing instance 
       
   177 //!                4. Get available outputs
       
   178 //!                5. Open telephony server
       
   179 //!                6. Open mobile phone (RTelServer = telserver1; Phone = 0)
       
   180 //!                7. Open line (Line = Voice1;RMobilePhone=mobilephone1)
       
   181 //!                8. Open new call (RMobileLine=mobileline1; Call = 1)
       
   182 //!                9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1)
       
   183 //!                10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10)
       
   184 //!                11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3)
       
   185 //!                12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3)
       
   186 //!                13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
   187 //!                14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording)
       
   188 //!                15. Get DS instance 2 capabilities
       
   189 //!                16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
   190 //!                17. Get current output
       
   191 //!                18. Set telephony output (Output=EEarPiece)
       
   192 //!                19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   193 //!                20. Start playing in DevSound instance 2
       
   194 //!                21. Set Volume instance 2 (Volume=10)
       
   195 //!                22. Stop play
       
   196 //!                23. Close file played
       
   197 //!                24. Destroy DevSound instance 1
       
   198 //!                25. Destroy DevSound instance 2
       
   199 //!                26. Get call duration (RMobileLine=mobileline1; Call = 1)
       
   200 //!                27. Hang up (RMobileLine=mobileline1; Call = 1)
       
   201 //!                28. Close call (RMobileLine=mobileline1; Call = 1)
       
   202 //!                29. Close line
       
   203 //!                30. Close mobile phone
       
   204 //!                31. Close telephony server
       
   205 //!                32. Destroy telephony routing instance
       
   206 //!@SYMTestStatus		On Work
       
   207 //!@SYMTestPriority		High
       
   208 //!@SYMTestExpectedResults
       
   209 //!                Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up
       
   210 //!@SYMTestType			CIT
       
   211 
       
   212 	START_TEST_BLOCK	300	t_etelmm_devsound	\mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini
       
   213 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   214 		CREATE_OBJECT	CMMFDevSound		devsound2
       
   215 		CREATE_OBJECT	RTelServer		telserver1
       
   216 		CREATE_OBJECT	RMobilePhone		mobilephone1
       
   217 		CREATE_OBJECT	RMobileLine		mobileline1
       
   218 		CREATE_OBJECT	RMobileCall		mobilecall1
       
   219 		CREATE_OBJECT	CTelephonyAudioRouting		telephonyaudiorouting1
       
   220 		COMMAND		devsound1		NewL
       
   221 		COMMAND		devsound2		NewL
       
   222 		COMMAND		telephonyaudiorouting1		NewL
       
   223 		COMMAND		telephonyaudiorouting1		AvailableOutputs
       
   224 		COMMAND		telserver1		Connect
       
   225 		COMMAND		mobilephone1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Open_command06
       
   226 		COMMAND		mobileline1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Open_command07
       
   227 		COMMAND		mobilecall1		OpenNewCall			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-OpenNewCall_command08
       
   228 		COMMAND		mobilecall1		GetCaps			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-GetCaps_command09
       
   229 		COMMAND		mobilecall1		Dial			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Dial_command10
       
   230 		OUTSTANDING
       
   231 		DELAY  5000000 
       
   232 		COMMAND		devsound2		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-InitializeL_command11
       
   233 		OUTSTANDING
       
   234 		COMMAND		devsound1		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-InitializeL_command12
       
   235 		OUTSTANDING
       
   236 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetPrioritySettings_command13
       
   237 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetPrioritySettings_command14
       
   238 		COMMAND		devsound2		Capabilities
       
   239 		COMMAND		devsound2		SetConfigL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetConfigL_command16
       
   240 		COMMAND		telephonyaudiorouting1		Output
       
   241 		COMMAND		telephonyaudiorouting1		SetOutputL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetOutputL_command18
       
   242 		OUTSTANDING
       
   243 		DELAY  2500000 
       
   244 		COMMAND		devsound2		OpenFile			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-OpenFile_command19
       
   245 		COMMAND		devsound2		PlayInitL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-PlayInitL_command20
       
   246 		OUTSTANDING
       
   247 		DELAY  2500000 
       
   248 		COMMAND		devsound2		SetVolume			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetVolume_command21
       
   249 		DELAY  10000000 
       
   250 		COMMAND		devsound2		Stop
       
   251 		COMMAND		devsound2		CloseFile
       
   252 		COMMAND		devsound1		~
       
   253 		COMMAND		devsound2		~
       
   254 		COMMAND		mobilecall1		GetCallDuration			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-GetCallDuration_command26
       
   255 		COMMAND		mobilecall1		HangUp			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-HangUp_command27
       
   256 		OUTSTANDING
       
   257 		COMMAND		mobilecall1		Close			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Close_command28
       
   258 		COMMAND		mobileline1		Close
       
   259 		COMMAND		mobilephone1		Close
       
   260 		COMMAND		telserver1		Close
       
   261 		COMMAND		telephonyaudiorouting1		~
       
   262 	END_TEST_BLOCK
       
   263 END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002
       
   264 
       
   265 
       
   266 
       
   267 
       
   268 START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003
       
   269 
       
   270 //!@SYMTestCaseID		MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003
       
   271 //!@SYMAPI
       
   272 //!                RLine::Open(RPhone{ref}; const TDesC{ref});
       
   273 //!                RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
       
   274 //!                RCall::OpenExistingCall(RLine{ref}; const TDesC{ref});
       
   275 //!                RCall::GetCaps(TCaps{ref});
       
   276 //!                TCallInfo::AnswerIncomingCall(const TDesC8{ref});
       
   277 //!                RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref});
       
   278 //!                TCallInfo::HangUp(TRequestStatus{ref});
       
   279 //!                RCall::Close( )
       
   280 //!                RLine::Close( )
       
   281 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   282 //!                CMMFDevSound::Capabilities()
       
   283 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   284 //!                CMMFDevSound::PlayInitL()
       
   285 //!                CMMFDevSound::Stop()
       
   286 //!@SYMAuthor			JPacho
       
   287 //!@SYMCreationDate		22/9/08
       
   288 //!@SYMTestCaseDesc		 Mobile Originated Voice Call GSM (volume 50 percent)
       
   289 //!@SYMTestActions
       
   290 //!                1. Create first DevSound instance
       
   291 //!                2. Create second DevSound instance
       
   292 //!                3. Create telephony audio routing instance 
       
   293 //!                4. Get available outputs
       
   294 //!                5. Open telephony server
       
   295 //!                6. Open mobile phone (RTelServer = telserver1; Phone = 0)
       
   296 //!                7. Open line (Line = Voice1;RMobilePhone=mobilephone1)
       
   297 //!                8. Open new call (RMobileLine=mobileline1; Call = 1)
       
   298 //!                9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1)
       
   299 //!                10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10)
       
   300 //!                11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3)
       
   301 //!                12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3)
       
   302 //!                13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
   303 //!                14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording)
       
   304 //!                15. Get DS instance 2 capabilities
       
   305 //!                16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
   306 //!                17. Get current output
       
   307 //!                18. Set telephony output (Output=EEarPiece)
       
   308 //!                19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   309 //!                20. Start playing in DevSound instance 2
       
   310 //!                21. Set Volume instance 2 (Volume=50)
       
   311 //!                22. Stop play
       
   312 //!                23. Close file played
       
   313 //!                24. Destroy DevSound instance 1
       
   314 //!                25. Destroy DevSound instance 2
       
   315 //!                26. Get call duration (RMobileLine=mobileline1; Call = 1)
       
   316 //!                27. Hang up (RMobileLine=mobileline1; Call = 1)
       
   317 //!                28. Close call (RMobileLine=mobileline1; Call = 1)
       
   318 //!                29. Close line
       
   319 //!                30. Close mobile phone
       
   320 //!                31. Close telephony server
       
   321 //!                32. Destroy telephony routing instance
       
   322 //!@SYMTestStatus		On Work
       
   323 //!@SYMTestPriority		High
       
   324 //!@SYMTestExpectedResults
       
   325 //!                Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up
       
   326 //!@SYMTestType			CIT
       
   327 
       
   328 	START_TEST_BLOCK	300	t_etelmm_devsound	\mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini
       
   329 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   330 		CREATE_OBJECT	CMMFDevSound		devsound2
       
   331 		CREATE_OBJECT	RTelServer		telserver1
       
   332 		CREATE_OBJECT	RMobilePhone		mobilephone1
       
   333 		CREATE_OBJECT	RMobileLine		mobileline1
       
   334 		CREATE_OBJECT	RMobileCall		mobilecall1
       
   335 		CREATE_OBJECT	CTelephonyAudioRouting		telephonyaudiorouting1
       
   336 		COMMAND		devsound1		NewL
       
   337 		COMMAND		devsound2		NewL
       
   338 		COMMAND		telephonyaudiorouting1		NewL
       
   339 		COMMAND		telephonyaudiorouting1		AvailableOutputs
       
   340 		COMMAND		telserver1		Connect
       
   341 		COMMAND		mobilephone1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Open_command06
       
   342 		COMMAND		mobileline1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Open_command07
       
   343 		COMMAND		mobilecall1		OpenNewCall			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-OpenNewCall_command08
       
   344 		COMMAND		mobilecall1		GetCaps			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-GetCaps_command09
       
   345 		COMMAND		mobilecall1		Dial			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Dial_command10
       
   346 		OUTSTANDING
       
   347 		DELAY  5000000 
       
   348 		COMMAND		devsound2		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-InitializeL_command11
       
   349 		OUTSTANDING
       
   350 		COMMAND		devsound1		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-InitializeL_command12
       
   351 		OUTSTANDING
       
   352 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetPrioritySettings_command13
       
   353 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetPrioritySettings_command14
       
   354 		COMMAND		devsound2		Capabilities
       
   355 		COMMAND		devsound2		SetConfigL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetConfigL_command16
       
   356 		COMMAND		telephonyaudiorouting1		Output
       
   357 		COMMAND		telephonyaudiorouting1		SetOutputL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetOutputL_command18
       
   358 		OUTSTANDING
       
   359 		DELAY  2500000 
       
   360 		COMMAND		devsound2		OpenFile			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-OpenFile_command19
       
   361 		COMMAND		devsound2		PlayInitL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-PlayInitL_command20
       
   362 		OUTSTANDING
       
   363 		DELAY  2500000 
       
   364 		COMMAND		devsound2		SetVolume			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetVolume_command21
       
   365 		DELAY  10000000 
       
   366 		COMMAND		devsound2		Stop
       
   367 		COMMAND		devsound2		CloseFile
       
   368 		COMMAND		devsound1		~
       
   369 		COMMAND		devsound2		~
       
   370 		COMMAND		mobilecall1		GetCallDuration			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-GetCallDuration_command26
       
   371 		COMMAND		mobilecall1		HangUp			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-HangUp_command27
       
   372 		OUTSTANDING
       
   373 		COMMAND		mobilecall1		Close			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Close_command28
       
   374 		COMMAND		mobileline1		Close
       
   375 		COMMAND		mobilephone1		Close
       
   376 		COMMAND		telserver1		Close
       
   377 		COMMAND		telephonyaudiorouting1		~
       
   378 	END_TEST_BLOCK
       
   379 END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003
       
   380 
       
   381 
       
   382 
       
   383 
       
   384 START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004
       
   385 
       
   386 //!@SYMTestCaseID		MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004
       
   387 //!@SYMAPI
       
   388 //!                RLine::Open(RPhone{ref}; const TDesC{ref});
       
   389 //!                RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
       
   390 //!                RCall::OpenExistingCall(RLine{ref}; const TDesC{ref});
       
   391 //!                RCall::GetCaps(TCaps{ref});
       
   392 //!                TCallInfo::AnswerIncomingCall(const TDesC8{ref});
       
   393 //!                RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref});
       
   394 //!                TCallInfo::HangUp(TRequestStatus{ref});
       
   395 //!                RCall::Close( )
       
   396 //!                RLine::Close( )
       
   397 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   398 //!                CMMFDevSound::Capabilities()
       
   399 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   400 //!                CMMFDevSound::PlayInitL()
       
   401 //!                CMMFDevSound::Stop()
       
   402 //!@SYMAuthor			JPacho
       
   403 //!@SYMCreationDate		22/9/08
       
   404 //!@SYMTestCaseDesc		 Mobile Originated Voice Call GSM (volume 100 percent)
       
   405 //!@SYMTestActions
       
   406 //!                1. Create first DevSound instance
       
   407 //!                2. Create second DevSound instance
       
   408 //!                3. Create telephony audio routing instance 
       
   409 //!                4. Get available outputs
       
   410 //!                5. Open telephony server
       
   411 //!                6. Open mobile phone (RTelServer = telserver1; Phone = 0)
       
   412 //!                7. Open line (Line = Voice1;RMobilePhone=mobilephone1)
       
   413 //!                8. Open new call (RMobileLine=mobileline1; Call = 1)
       
   414 //!                9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1)
       
   415 //!                10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10)
       
   416 //!                11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3)
       
   417 //!                12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3)
       
   418 //!                13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
   419 //!                14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording)
       
   420 //!                15. Get DS instance 2 capabilities
       
   421 //!                16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
   422 //!                17. Get current output
       
   423 //!                18. Set telephony output (Output=EEarPiece)
       
   424 //!                19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   425 //!                20. Start playing in DevSound instance 2
       
   426 //!                21. Set Volume instance 2 (Volume=100)
       
   427 //!                22. Stop play
       
   428 //!                23. Close file played
       
   429 //!                24. Destroy DevSound instance 1
       
   430 //!                25. Destroy DevSound instance 2
       
   431 //!                26. Get call duration (RMobileLine=mobileline1; Call = 1)
       
   432 //!                27. Hang up (RMobileLine=mobileline1; Call = 1)
       
   433 //!                28. Close call (RMobileLine=mobileline1; Call = 1)
       
   434 //!                29. Close line
       
   435 //!                30. Close mobile phone
       
   436 //!                31. Close telephony server
       
   437 //!                32. Destroy telephony routing instance
       
   438 //!@SYMTestStatus		On Work
       
   439 //!@SYMTestPriority		High
       
   440 //!@SYMTestExpectedResults
       
   441 //!                Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up
       
   442 //!@SYMTestType			CIT
       
   443 
       
   444 	START_TEST_BLOCK	300	t_etelmm_devsound	\mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini
       
   445 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   446 		CREATE_OBJECT	CMMFDevSound		devsound2
       
   447 		CREATE_OBJECT	RTelServer		telserver1
       
   448 		CREATE_OBJECT	RMobilePhone		mobilephone1
       
   449 		CREATE_OBJECT	RMobileLine		mobileline1
       
   450 		CREATE_OBJECT	RMobileCall		mobilecall1
       
   451 		CREATE_OBJECT	CTelephonyAudioRouting		telephonyaudiorouting1
       
   452 		COMMAND		devsound1		NewL
       
   453 		COMMAND		devsound2		NewL
       
   454 		COMMAND		telephonyaudiorouting1		NewL
       
   455 		COMMAND		telephonyaudiorouting1		AvailableOutputs
       
   456 		COMMAND		telserver1		Connect
       
   457 		COMMAND		mobilephone1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Open_command06
       
   458 		COMMAND		mobileline1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Open_command07
       
   459 		COMMAND		mobilecall1		OpenNewCall			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-OpenNewCall_command08
       
   460 		COMMAND		mobilecall1		GetCaps			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-GetCaps_command09
       
   461 		COMMAND		mobilecall1		Dial			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Dial_command10
       
   462 		OUTSTANDING
       
   463 		DELAY  5000000 
       
   464 		COMMAND		devsound2		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-InitializeL_command11
       
   465 		OUTSTANDING
       
   466 		COMMAND		devsound1		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-InitializeL_command12
       
   467 		OUTSTANDING
       
   468 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetPrioritySettings_command13
       
   469 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetPrioritySettings_command14
       
   470 		COMMAND		devsound2		Capabilities
       
   471 		COMMAND		devsound2		SetConfigL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetConfigL_command16
       
   472 		COMMAND		telephonyaudiorouting1		Output
       
   473 		COMMAND		telephonyaudiorouting1		SetOutputL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetOutputL_command18
       
   474 		OUTSTANDING
       
   475 		DELAY  2500000 
       
   476 		COMMAND		devsound2		OpenFile			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-OpenFile_command19
       
   477 		COMMAND		devsound2		PlayInitL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-PlayInitL_command20
       
   478 		OUTSTANDING
       
   479 		DELAY  2500000 
       
   480 		COMMAND		devsound2		SetVolume			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetVolume_command21
       
   481 		DELAY  10000000 
       
   482 		COMMAND		devsound2		Stop
       
   483 		COMMAND		devsound2		CloseFile
       
   484 		COMMAND		devsound1		~
       
   485 		COMMAND		devsound2		~
       
   486 		COMMAND		mobilecall1		GetCallDuration			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-GetCallDuration_command26
       
   487 		COMMAND		mobilecall1		HangUp			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-HangUp_command27
       
   488 		OUTSTANDING
       
   489 		COMMAND		mobilecall1		Close			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Close_command28
       
   490 		COMMAND		mobileline1		Close
       
   491 		COMMAND		mobilephone1		Close
       
   492 		COMMAND		telserver1		Close
       
   493 		COMMAND		telephonyaudiorouting1		~
       
   494 	END_TEST_BLOCK
       
   495 END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004
       
   496 
       
   497 
       
   498 
       
   499 
       
   500 START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005
       
   501 
       
   502 //!@SYMTestCaseID		MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005
       
   503 //!@SYMAPI
       
   504 //!                RLine::Open(RPhone{ref}; const TDesC{ref});
       
   505 //!                RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
       
   506 //!                RCall::OpenExistingCall(RLine{ref}; const TDesC{ref});
       
   507 //!                RCall::GetCaps(TCaps{ref});
       
   508 //!                TCallInfo::AnswerIncomingCall(const TDesC8{ref});
       
   509 //!                RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref});
       
   510 //!                TCallInfo::HangUp(TRequestStatus{ref});
       
   511 //!                RCall::Close( )
       
   512 //!                RLine::Close( )
       
   513 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   514 //!                CMMFDevSound::Capabilities()
       
   515 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   516 //!                CMMFDevSound::PlayInitL()
       
   517 //!                CMMFDevSound::Stop()
       
   518 //!@SYMAuthor			JPacho
       
   519 //!@SYMCreationDate		22/9/08
       
   520 //!@SYMTestCaseDesc		 Mobile Originated Voice Call GSM (audio routed to IHF)
       
   521 //!@SYMTestActions
       
   522 //!                1. Create first DevSound instance
       
   523 //!                2. Create second DevSound instance
       
   524 //!                3. Create telephony audio routing instance 
       
   525 //!                4. Get available outputs
       
   526 //!                5. Open telephony server
       
   527 //!                6. Open mobile phone (RTelServer = telserver1; Phone = 0)
       
   528 //!                7. Open line (Line = Voice1;RMobilePhone=mobilephone1)
       
   529 //!                8. Open new call (RMobileLine=mobileline1; Call = 1)
       
   530 //!                9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1)
       
   531 //!                10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10)
       
   532 //!                11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3)
       
   533 //!                12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC= MP3)
       
   534 //!                13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
   535 //!                14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording)
       
   536 //!                15. Get DS instance 2 capabilities
       
   537 //!                16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
   538 //!                17. Get current output
       
   539 //!                18. Set telephony output (Output=ELoudSpeaker)
       
   540 //!                19. Open file  for playing (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   541 //!                20. Start playing in DevSound instance 2
       
   542 //!                21. Stop play
       
   543 //!                22. Close file played
       
   544 //!                23. Destroy DevSound instance 1
       
   545 //!                24. Destroy DevSound instance 2
       
   546 //!                25. Get call duration (RMobileLine=mobileline1; Call = 1)
       
   547 //!                26. Hang up (RMobileLine=mobileline1; Call = 1)
       
   548 //!                27. Close call (RMobileLine=mobileline1; Call = 1)
       
   549 //!                28. Close line
       
   550 //!                29. Close mobile phone
       
   551 //!                30. Close telephony server
       
   552 //!                31. Destroy telephony routing instance
       
   553 //!@SYMTestStatus		On Work
       
   554 //!@SYMTestPriority		High
       
   555 //!@SYMTestExpectedResults
       
   556 //!                Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up
       
   557 //!@SYMTestType			CIT
       
   558 
       
   559 	START_TEST_BLOCK	300	t_etelmm_devsound	\mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini
       
   560 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   561 		CREATE_OBJECT	CMMFDevSound		devsound2
       
   562 		CREATE_OBJECT	RTelServer		telserver1
       
   563 		CREATE_OBJECT	RMobilePhone		mobilephone1
       
   564 		CREATE_OBJECT	RMobileLine		mobileline1
       
   565 		CREATE_OBJECT	RMobileCall		mobilecall1
       
   566 		CREATE_OBJECT	CTelephonyAudioRouting		telephonyaudiorouting1
       
   567 		COMMAND		devsound1		NewL
       
   568 		COMMAND		devsound2		NewL
       
   569 		COMMAND		telephonyaudiorouting1		NewL
       
   570 		COMMAND		telephonyaudiorouting1		AvailableOutputs
       
   571 		COMMAND		telserver1		Connect
       
   572 		COMMAND		mobilephone1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Open_command06
       
   573 		COMMAND		mobileline1		Open			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Open_command07
       
   574 		COMMAND		mobilecall1		OpenNewCall			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-OpenNewCall_command08
       
   575 		COMMAND		mobilecall1		GetCaps			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-GetCaps_command09
       
   576 		COMMAND		mobilecall1		Dial			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Dial_command10
       
   577 		OUTSTANDING
       
   578 		DELAY  5000000 
       
   579 		COMMAND		devsound2		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-InitializeL_command11
       
   580 		OUTSTANDING
       
   581 		COMMAND		devsound1		InitializeL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-InitializeL_command12
       
   582 		OUTSTANDING
       
   583 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetPrioritySettings_command13
       
   584 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetPrioritySettings_command14
       
   585 		COMMAND		devsound2		Capabilities
       
   586 		COMMAND		devsound2		SetConfigL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetConfigL_command16
       
   587 		COMMAND		telephonyaudiorouting1		Output
       
   588 		COMMAND		telephonyaudiorouting1		SetOutputL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetOutputL_command18
       
   589 		OUTSTANDING
       
   590 		DELAY  5000000 
       
   591 		COMMAND		devsound2		OpenFile			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-OpenFile_command19
       
   592 		COMMAND		devsound2		PlayInitL			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-PlayInitL_command20
       
   593 		OUTSTANDING
       
   594 		DELAY  10000000 
       
   595 		COMMAND		devsound2		Stop
       
   596 		COMMAND		devsound2		CloseFile
       
   597 		COMMAND		devsound1		~
       
   598 		COMMAND		devsound2		~
       
   599 		COMMAND		mobilecall1		GetCallDuration			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-GetCallDuration_command25
       
   600 		COMMAND		mobilecall1		HangUp			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-HangUp_command26
       
   601 		OUTSTANDING
       
   602 		COMMAND		mobilecall1		Close			MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Close_command27
       
   603 		COMMAND		mobileline1		Close
       
   604 		COMMAND		mobilephone1		Close
       
   605 		COMMAND		telserver1		Close
       
   606 		COMMAND		telephonyaudiorouting1		~
       
   607 	END_TEST_BLOCK
       
   608 END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005