adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/voice/group/voice.cfg
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
equal deleted inserted replaced
3:1972d8c2e329 4:510c70acdbf6
     1 //* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 //* All rights reserved.
       
     3 //* This component and the accompanying materials are made available
       
     4 //* under the terms of the License "Eclipse Public License v1.0"
       
     5 //* which accompanies this distribution, and is available
       
     6 //* at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //*
       
     8 //* Initial Contributors:
       
     9 //* Nokia Corporation - initial contribution.
       
    10 //*
       
    11 //* Contributors:
       
    12 //*
       
    13 //* Description:  
       
    14 //*
       
    15 
       
    16 
       
    17 //-----------------------------------------------------
       
    18 //MonitorSpeakerControl values:
       
    19 // 0=EMonitorSpeakerControlAlwaysOff
       
    20 // 1=EMonitorSpeakerControlOnUntilCarrier
       
    21 // 2=EMonitorSpeakerControlAlwaysOn
       
    22 // 3=EMonitorSpeakerControlOnExceptDuringDialling
       
    23 // 4=EMonitorSpeakerControlUnknown
       
    24 
       
    25 //MonitorSpeakerVolume values:
       
    26 // 0=EMonitorSpeakerVolumeOff
       
    27 // 1=EMonitorSpeakerVolumeLow
       
    28 // 2=EMonitorSpeakerVolumeMedium
       
    29 // 3=EMonitorSpeakerVolumeHigh
       
    30 // 4=EMonitorSpeakerVolumeUnknown
       
    31 
       
    32 //DialTone values:
       
    33 // 0=EDialToneWait
       
    34 // 1=EDialToneNoWait
       
    35 
       
    36 //IdRestrict values:
       
    37 // 0=EIdRestrictDefault
       
    38 // 1=ESendMyId
       
    39 // 2=EDontSendMyId
       
    40 //------------------------------------------------------
       
    41 
       
    42 
       
    43 // MOD_0003_001_1_NokiaTSY_[HW MO call connects - terminated by local user with valid values]
       
    44 //
       
    45 // Precondition:
       
    46 // - n/a
       
    47 //
       
    48 // Script description:
       
    49 // - Parameters for the case:
       
    50 // 1. 1=CallID
       
    51 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
    52 // 3. 0=EMonitorSpeakerVolumeOff
       
    53 // 4. 1=0x01(interval)
       
    54 // 5. 0=EDialToneWait
       
    55 // 6. 0=EIdRestrictDefault
       
    56 // 7. 1=true(ExplicitInvoke)
       
    57 // 8. 0000=0x0000(CugIndex)
       
    58 // 9. 0=false(SuppressOA)
       
    59 // 10. 1=true(SuppressPrefCug)
       
    60 // 11. 1=true(AutoRedial)
       
    61 // 12. 0501122334=TelNum
       
    62 //
       
    63 [Test]
       
    64 title MOD_0003_001_1_NokiaTSY_[HW MO call connects - terminated by local user with valid values]
       
    65 create NTT_Voice test
       
    66 
       
    67 test HandleSpecifiedRequests YES
       
    68 test InitializeIPCRequestTable
       
    69 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
    70 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
    71 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
    72 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
    73 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
    74 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo release
       
    75 
       
    76 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0501122334
       
    77 
       
    78 //EMobileCallNotifyMobileCallStatusChange
       
    79 allownextresult 0
       
    80 waittestclass test
       
    81 
       
    82 //EMobileCallNotifyMobileCallStatusChange
       
    83 allownextresult 0
       
    84 waittestclass test
       
    85 
       
    86 print Answer the call --->
       
    87 
       
    88 //ECustomGetRemoteAlertingToneStatusIPC
       
    89 allownextresult 0
       
    90 waittestclass test
       
    91 
       
    92 //EMobileCallNotifyMobileCallStatusChange
       
    93 allownextresult 0
       
    94 waittestclass test
       
    95 
       
    96 test RunIscTestCase 124
       
    97 test SyncIscTestCase
       
    98 
       
    99 test CallHangUp 1 //CallId
       
   100 
       
   101 //ECustomGetRemoteAlertingToneStatusIPC
       
   102 allownextresult 0
       
   103 waittestclass test
       
   104 
       
   105 //EMobileCallNotifyMobileCallStatusChange
       
   106 allownextresult -8071 //KErrGsmReleaseByUser
       
   107 waittestclass test
       
   108 
       
   109 test HandleSpecifiedRequests NO
       
   110 delete test
       
   111 [Endtest]
       
   112 
       
   113 
       
   114 // MOD_0003_002_1_NokiaTSY_[HW MO call connects (EDontSendMyId) - terminated by local user with valid values]
       
   115 //
       
   116 // Precondition:
       
   117 // - n/a
       
   118 //
       
   119 // Script description:
       
   120 // - Parameters for the case:
       
   121 // 1. 1=CallID
       
   122 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   123 // 3. 0=EMonitorSpeakerVolumeOff
       
   124 // 4. 1=0x01(interval)
       
   125 // 5. 0=EDialToneWait
       
   126 // 6. 2=EDontSendMyId
       
   127 // 7. 1=true(ExplicitInvoke)
       
   128 // 8. 0000=0x0000(CugIndex)
       
   129 // 9. 0=false(SuppressOA)
       
   130 // 10. 1=true(SuppressPrefCug)
       
   131 // 11. 1=true(AutoRedial)
       
   132 // 12. 0501122334=TelNum
       
   133 //
       
   134 [Test]
       
   135 title MOD_0003_002_1_NokiaTSY_[HW MO call connects (EDontSendMyId) - terminated by local user with valid values]
       
   136 create NTT_Voice test
       
   137 
       
   138 test HandleSpecifiedRequests YES
       
   139 test InitializeIPCRequestTable
       
   140 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange
       
   141 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange
       
   142 test SetExpectedCompleteIPC ECustomTerminateCallIPC
       
   143 
       
   144 test CallDial 1 0 0 1 0 2 1 0000 0 1 1 0504860645
       
   145 
       
   146 //EMobileCallNotifyMobileCallStatusChange create
       
   147 allownextresult 0
       
   148 waittestclass test
       
   149 
       
   150 //EMobileCallNotifyMobileCallStatusChange mo alerting
       
   151 allownextresult 0
       
   152 waittestclass test
       
   153 
       
   154 print Answer the call --->
       
   155 
       
   156 test CallHangUp 1 //CallId
       
   157 
       
   158 //ECustomTerminateCallIPC
       
   159 allownextresult -8071 //KErrGsmReleaseByUser
       
   160 waittestclass test
       
   161 
       
   162 test HandleSpecifiedRequests NO
       
   163 delete test
       
   164 [Endtest]
       
   165 
       
   166 
       
   167 // MOD_0003_003_1_NokiaTSY_[HW MO call connects - remote party rejects call]
       
   168 //
       
   169 // Precondition:
       
   170 // - n/a
       
   171 //
       
   172 // Script description:
       
   173 // - Parameters for the case:
       
   174 // 1. 1=CallID
       
   175 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   176 // 3. 0=EMonitorSpeakerVolumeOff
       
   177 // 4. 1=0x01(interval)
       
   178 // 5. 0=EDialToneWait
       
   179 // 6. 0=EIdRestrictDefault
       
   180 // 7. 1=true(ExplicitInvoke)
       
   181 // 8. 0000=0x0000(CugIndex)
       
   182 // 9. 0=false(SuppressOA)
       
   183 // 10. 1=true(SuppressPrefCug)
       
   184 // 11. 1=true(AutoRedial)
       
   185 // 12. 0501122334=TelNum
       
   186 //
       
   187 [Test]
       
   188 title MOD_0003_003_1_NokiaTSY_[HW MO call connects - remote party rejects call]
       
   189 create NTT_Voice test
       
   190 
       
   191 test HandleSpecifiedRequests YES
       
   192 test InitializeIPCRequestTable
       
   193 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   194 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   195 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   196 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   197 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt release
       
   198 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //idle
       
   199 
       
   200 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0501122334
       
   201 
       
   202 //EMobileCallNotifyMobileCallStatusChange create
       
   203 allownextresult 0
       
   204 waittestclass test
       
   205 
       
   206 //EMobileCallNotifyMobileCallStatusChange mo alerting
       
   207 allownextresult 0
       
   208 waittestclass test
       
   209 
       
   210 //ECustomGetRemoteAlertingToneStatusIPC
       
   211 allownextresult 0
       
   212 waittestclass test
       
   213 
       
   214 print Answer the call --->
       
   215 
       
   216 //EMobileCallNotifyMobileCallStatusChange active
       
   217 allownextresult 0
       
   218 waittestclass test
       
   219 
       
   220 print Reject the call
       
   221 
       
   222 test RemotePartyHangUp
       
   223 
       
   224 //EMobileCallNotifyMobileCallStatusChange mt release
       
   225 allownextresult -280887298 //Symbian OS error
       
   226 waittestclass test
       
   227 
       
   228 //EMobileCallNotifyMobileCallStatusChange idle
       
   229 allownextresult -280887298 //Symbian OS error
       
   230 waittestclass test
       
   231 
       
   232 test HandleSpecifiedRequests NO
       
   233 delete test
       
   234 [Endtest]
       
   235 
       
   236 
       
   237 // MOD_0003_004_1_NokiaTSY_[HW MO call - Send DTMF tones]
       
   238 //
       
   239 // Precondition:
       
   240 // - n/a
       
   241 //
       
   242 // Script description:
       
   243 // - Parameters for the case:
       
   244 // 1. 1=CallID
       
   245 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   246 // 3. 0=EMonitorSpeakerVolumeOff
       
   247 // 4. 1=0x01(interval)
       
   248 // 5. 0=EDialToneWait
       
   249 // 6. 0=EIdRestrictDefault
       
   250 // 7. 1=true(ExplicitInvoke)
       
   251 // 8. 0000=0x0000(CugIndex)
       
   252 // 9. 0=false(SuppressOA)
       
   253 // 10. 1=true(SuppressPrefCug)
       
   254 // 11. 1=true(AutoRedial)
       
   255 // 12. 0501122334=TelNum
       
   256 //
       
   257 [Test]
       
   258 title MOD_0003_004_1_NokiaTSY_[HW MO call - Send DTMF tones]
       
   259 create NTT_Voice test
       
   260 
       
   261 test HandleSpecifiedRequests YES
       
   262 test InitializeIPCRequestTable
       
   263 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   264 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   265 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   266 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   267 test SetExpectedCompleteIPC EMobilePhoneSendDTMFTones
       
   268 
       
   269 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405
       
   270 
       
   271 //EMobileCallNotifyMobileCallStatusChange create
       
   272 allownextresult 0
       
   273 waittestclass test
       
   274 
       
   275 //EMobileCallNotifyMobileCallStatusChange mo alerting
       
   276 allownextresult 0
       
   277 waittestclass test
       
   278 
       
   279 //ECustomGetRemoteAlertingToneStatusIPC
       
   280 allownextresult 0
       
   281 waittestclass test
       
   282 
       
   283 print Answer the call --->
       
   284 //EMobileCallNotifyMobileCallStatusChange active
       
   285 allownextresult 0
       
   286 waittestclass test
       
   287 
       
   288 test RunIscTestCase 125
       
   289 test SyncIscTestCase
       
   290 
       
   291 print Sending DTMF tones
       
   292 test SendDTMFTones 1212121254
       
   293 //EMobilePhoneSendDTMFTones
       
   294 allownextresult 0
       
   295 waittestclass test
       
   296 
       
   297 print HangUp ongoing call
       
   298 test CallHangUp 1 //CallId
       
   299 
       
   300 test HandleSpecifiedRequests NO
       
   301 delete test
       
   302 [Endtest]
       
   303 
       
   304 
       
   305 // MOD_0003_005_1_NokiaTSY_[HW Incoming call while there are no other calls]
       
   306 // Make incoming call to the test phone
       
   307 //
       
   308 // Precondition:
       
   309 // - n/a
       
   310 //
       
   311 // Script description:
       
   312 // - n/a
       
   313 //
       
   314 [Test]
       
   315 title MOD_0003_005_1_NokiaTSY_[HW Incoming call while there are no other calls]
       
   316 create NTT_Voice test
       
   317 
       
   318 test HandleSpecifiedRequests YES
       
   319 test InitializeIPCRequestTable
       
   320 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt alerting
       
   321 
       
   322 test TestIncomingCall
       
   323 
       
   324 allownextresult 0
       
   325 waittestclass test
       
   326 
       
   327 test RunIscTestCase 124
       
   328 test SyncIscTestCase
       
   329 
       
   330 test CallHangUp 1 //CallId
       
   331 
       
   332 test HandleSpecifiedRequests NO
       
   333 pause 100
       
   334 delete test
       
   335 [Endtest]
       
   336 
       
   337 
       
   338 // MOD_0003_006_1_NokiaTSY_[HW Holding a voice call]
       
   339 //
       
   340 // Precondition:
       
   341 // - n/a
       
   342 //
       
   343 // Script description:
       
   344 // - Parameters for the case:
       
   345 // 1. 1=CallID
       
   346 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   347 // 3. 0=EMonitorSpeakerVolumeOff
       
   348 // 4. 1=0x01(interval)
       
   349 // 5. 0=EDialToneWait
       
   350 // 6. 0=EIdRestrictDefault
       
   351 // 7. 1=true(ExplicitInvoke)
       
   352 // 8. 0000=0x0000(CugIndex)
       
   353 // 9. 0=false(SuppressOA)
       
   354 // 10. 1=true(SuppressPrefCug)
       
   355 // 11. 1=true(AutoRedial)
       
   356 // 12. 0501122334=TelNum
       
   357 //
       
   358 [Test]
       
   359 title MOD_0003_006_1_NokiaTSY_[HW Holding a voice call]
       
   360 create NTT_Voice test
       
   361 
       
   362 test HandleSpecifiedRequests YES
       
   363 test InitializeIPCRequestTable
       
   364 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   365 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   366 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   367 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   368 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold
       
   369 
       
   370 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 +447958336386
       
   371 
       
   372 //EMobileCallNotifyMobileCallStatusChange //create
       
   373 allownextresult 0
       
   374 waittestclass test
       
   375 
       
   376 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   377 allownextresult 0
       
   378 waittestclass test
       
   379 
       
   380 //ECustomGetRemoteAlertingToneStatusIPC
       
   381 allownextresult 0
       
   382 waittestclass test
       
   383 
       
   384 //EMobileCallNotifyMobileCallStatusChange //active
       
   385 allownextresult 0
       
   386 waittestclass test
       
   387 
       
   388 test RunIscTestCase 126
       
   389 test SyncIscTestCase
       
   390 
       
   391 test TestHoldCall 1 //callId
       
   392 
       
   393 //EMobileCallNotifyMobileCallStatusChange //hold
       
   394 allownextresult 0
       
   395 waittestclass test
       
   396 
       
   397 test CallHangUp 1 //CallId
       
   398 
       
   399 test HandleSpecifiedRequests NO
       
   400 delete test
       
   401 [Endtest]
       
   402 
       
   403 
       
   404 // MOD_0003_007_1_NokiaTSY_[HW Resuming a call]
       
   405 //
       
   406 // Precondition:
       
   407 // - n/a
       
   408 //
       
   409 // Script description:
       
   410 // - Parameters for the case:
       
   411 // 1. 1=CallID
       
   412 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   413 // 3. 0=EMonitorSpeakerVolumeOff
       
   414 // 4. 1=0x01(interval)
       
   415 // 5. 0=EDialToneWait
       
   416 // 6. 0=EIdRestrictDefault
       
   417 // 7. 1=true(ExplicitInvoke)
       
   418 // 8. 0000=0x0000(CugIndex)
       
   419 // 9. 0=false(SuppressOA)
       
   420 // 10. 1=true(SuppressPrefCug)
       
   421 // 11. 1=true(AutoRedial)
       
   422 // 12. 0501122334=TelNum
       
   423 //
       
   424 [Test]
       
   425 title MOD_0003_007_1_NokiaTSY_[HW Resuming a call]
       
   426 create NTT_Voice test
       
   427 
       
   428 test HandleSpecifiedRequests YES
       
   429 test InitializeIPCRequestTable
       
   430 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   431 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   432 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   433 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   434 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold
       
   435 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   436 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   437 
       
   438 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 +447958336386
       
   439 
       
   440 //EMobileCallNotifyMobileCallStatusChange //create
       
   441 allownextresult 0
       
   442 waittestclass test
       
   443 
       
   444 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   445 allownextresult 0
       
   446 waittestclass test
       
   447 
       
   448 //ECustomGetRemoteAlertingToneStatusIPC
       
   449 allownextresult 0
       
   450 waittestclass test
       
   451 
       
   452 //EMobileCallNotifyMobileCallStatusChange //active
       
   453 allownextresult 0
       
   454 waittestclass test
       
   455 
       
   456 test RunIscTestCase 126
       
   457 test SyncIscTestCase
       
   458 
       
   459 test TestHoldCall 1 //callId
       
   460 
       
   461 //EMobileCallNotifyMobileCallStatusChange //hold
       
   462 allownextresult 0
       
   463 waittestclass test
       
   464 
       
   465 test RunIscTestCase 127
       
   466 test SyncIscTestCase
       
   467 
       
   468 test TestResumeCall 1 //callId
       
   469 
       
   470 //ECustomGetRemoteAlertingToneStatusIPC
       
   471 allownextresult 0
       
   472 waittestclass test
       
   473 
       
   474 //EMobileCallNotifyMobileCallStatusChange //active
       
   475 allownextresult 0
       
   476 waittestclass test
       
   477 
       
   478 test CallHangUp 1 //CallId
       
   479 
       
   480 test HandleSpecifiedRequests NO
       
   481 delete test
       
   482 [Endtest]
       
   483 
       
   484 
       
   485 // MOD_0003_008_1_NokiaTSY_[HW Swapping active and held voice calls]
       
   486 //
       
   487 // Precondition:
       
   488 // - n/a
       
   489 //
       
   490 // Script description:
       
   491 // - Parameters for the case:
       
   492 // 1. 1=CallID
       
   493 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   494 // 3. 0=EMonitorSpeakerVolumeOff
       
   495 // 4. 1=0x01(interval)
       
   496 // 5. 0=EDialToneWait
       
   497 // 6. 0=EIdRestrictDefault
       
   498 // 7. 1=true(ExplicitInvoke)
       
   499 // 8. 0000=0x0000(CugIndex)
       
   500 // 9. 0=false(SuppressOA)
       
   501 // 10. 1=true(SuppressPrefCug)
       
   502 // 11. 1=true(AutoRedial)
       
   503 // 12. 0501122334=TelNum
       
   504 //
       
   505 [Test]
       
   506 title MOD_0003_008_1_NokiaTSY_[HW Swapping active and held voice calls]
       
   507 create NTT_Voice test
       
   508 
       
   509 test HandleSpecifiedRequests YES
       
   510 test InitializeIPCRequestTable
       
   511 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   512 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   513 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   514 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   515 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold
       
   516 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   517 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   518 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   519 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   520 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold
       
   521 
       
   522 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0501122334
       
   523 
       
   524 //EMobileCallNotifyMobileCallStatusChange //create
       
   525 allownextresult 0
       
   526 waittestclass test
       
   527 
       
   528 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   529 allownextresult 0
       
   530 waittestclass test
       
   531 
       
   532 //ECustomGetRemoteAlertingToneStatusIPC
       
   533 allownextresult 0
       
   534 waittestclass test
       
   535 
       
   536 //EMobileCallNotifyMobileCallStatusChange //active
       
   537 allownextresult 0
       
   538 waittestclass test
       
   539 
       
   540 test RunIscTestCase 126
       
   541 test SyncIscTestCase
       
   542 
       
   543 test TestHoldCall 1 //callId
       
   544 
       
   545 //EMobileCallNotifyMobileCallStatusChange //hold
       
   546 allownextresult 0
       
   547 waittestclass test
       
   548 
       
   549 test CallDial 2 0 0 1 0 0 1 0000 0 1 1 04544186407
       
   550 
       
   551 //EMobileCallNotifyMobileCallStatusChange //create
       
   552 allownextresult 0
       
   553 waittestclass test
       
   554 
       
   555 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   556 allownextresult 0
       
   557 waittestclass test
       
   558 
       
   559 //ECustomGetRemoteAlertingToneStatusIPC
       
   560 allownextresult 0
       
   561 waittestclass test
       
   562 
       
   563 //EMobileCallNotifyMobileCallStatusChange //active
       
   564 allownextresult 0
       
   565 waittestclass test
       
   566 
       
   567 test RunIscTestCase 128
       
   568 test SyncIscTestCase
       
   569 
       
   570 test TestSwapCalls 1 //callId
       
   571 
       
   572 //EMobileCallNotifyMobileCallStatusChange //hold
       
   573 allownextresult 0
       
   574 waittestclass test
       
   575 
       
   576 test CallHangUp 1 //CallId
       
   577 test CallHangUp 2 //CallId
       
   578 
       
   579 test HandleSpecifiedRequests NO
       
   580 delete test
       
   581 [Endtest]
       
   582 
       
   583 
       
   584 // MOD_0003_009_1_NokiaTSY_[HW Call Transfering]
       
   585 //
       
   586 // Precondition:
       
   587 // - n/a
       
   588 //
       
   589 // Script description:
       
   590 // - Parameters for the case:
       
   591 // 1. 1=CallID
       
   592 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   593 // 3. 0=EMonitorSpeakerVolumeOff
       
   594 // 4. 1=0x01(interval)
       
   595 // 5. 0=EDialToneWait
       
   596 // 6. 0=EIdRestrictDefault
       
   597 // 7. 1=true(ExplicitInvoke)
       
   598 // 8. 0000=0x0000(CugIndex)
       
   599 // 9. 0=false(SuppressOA)
       
   600 // 10. 1=true(SuppressPrefCug)
       
   601 // 11. 1=true(AutoRedial)
       
   602 // 12. 0501122334=TelNum
       
   603 //
       
   604 //  Also supply a second phone number for call 2
       
   605 //
       
   606 [Test]
       
   607 title MOD_0003_009_1_NokiaTSY_[HW Call Transfering]
       
   608 create NTT_Voice test
       
   609 
       
   610 test HandleSpecifiedRequests YES
       
   611 test InitializeIPCRequestTable
       
   612 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   613 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   614 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   615 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   616 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold
       
   617 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   618 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   619 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   620 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   621 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   622 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt release
       
   623 
       
   624 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0501122334
       
   625 
       
   626 //EMobileCallNotifyMobileCallStatusChange //create
       
   627 allownextresult 0
       
   628 waittestclass test
       
   629 
       
   630 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   631 allownextresult 0
       
   632 waittestclass test
       
   633 
       
   634 //ECustomGetRemoteAlertingToneStatusIPC
       
   635 allownextresult 0
       
   636 waittestclass test
       
   637 
       
   638 //EMobileCallNotifyMobileCallStatusChange //active
       
   639 allownextresult 0
       
   640 waittestclass test
       
   641 
       
   642 test RunIscTestCase 126
       
   643 test SyncIscTestCase
       
   644 
       
   645 test TestHoldCall 1 //callId
       
   646 
       
   647 //EMobileCallNotifyMobileCallStatusChange //hold
       
   648 allownextresult 0
       
   649 waittestclass test
       
   650 
       
   651 test CallDial 2 0 0 1 0 0 1 0000 0 1 1 04544186407
       
   652 
       
   653 //EMobileCallNotifyMobileCallStatusChange //create
       
   654 allownextresult 0
       
   655 waittestclass test
       
   656 
       
   657 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   658 allownextresult 0
       
   659 waittestclass test
       
   660 
       
   661 //ECustomGetRemoteAlertingToneStatusIPC
       
   662 allownextresult 0
       
   663 waittestclass test
       
   664 
       
   665 //EMobileCallNotifyMobileCallStatusChange //active
       
   666 allownextresult 0
       
   667 waittestclass test
       
   668 
       
   669 test RunIscTestCase 129
       
   670 test SyncIscTestCase
       
   671 
       
   672 test TestCallTransfer 1 //callId
       
   673 
       
   674 //ECustomGetRemoteAlertingToneStatusIPC
       
   675 allownextresult 0
       
   676 waittestclass test
       
   677 
       
   678 //EMobileCallNotifyMobileCallStatusChange //mt release
       
   679 allownextresult -280887298
       
   680 waittestclass test
       
   681 
       
   682 test HandleSpecifiedRequests NO
       
   683 delete test
       
   684 [Endtest]
       
   685 
       
   686 
       
   687 // MOD_0003_010_1_NokiaTSY_[HW Blacklist clearing]
       
   688 //
       
   689 // Precondition:
       
   690 // - n/a
       
   691 //
       
   692 // Script description:
       
   693 // - Parameters for the case:
       
   694 // 1. 1=CallID
       
   695 // 2. 0=EMonitorSpeakerControlAlwaysOff,
       
   696 // 3. 0=EMonitorSpeakerVolumeOff
       
   697 // 4. 1=0x01(interval)
       
   698 // 5. 0=EDialToneWait
       
   699 // 6. 0=EIdRestrictDefault
       
   700 // 7. 1=true(ExplicitInvoke)
       
   701 // 8. 0000=0x0000(CugIndex)
       
   702 // 9. 0=false(SuppressOA)
       
   703 // 10. 1=true(SuppressPrefCug)
       
   704 // 11. 1=true(AutoRedial)
       
   705 // 12. 0501122334=TelNum
       
   706 //
       
   707 [Test]
       
   708 title MOD_0003_010_1_NokiaTSY_[HW Blacklist clearing]
       
   709 create NTT_Voice test
       
   710 
       
   711 test HandleSpecifiedRequests YES
       
   712 test InitializeIPCRequestTable
       
   713 test SetExpectedCompleteIPC ECustomClearCallBlackListIPC
       
   714 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create
       
   715 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   716 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC
       
   717 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active
       
   718 
       
   719 test ClearBlacklist
       
   720 
       
   721 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0501122334
       
   722 
       
   723 //ECustomClearCallBlackListIPC
       
   724 allownextresult 0
       
   725 waittestclass test
       
   726 
       
   727 //EMobileCallNotifyMobileCallStatusChange //create
       
   728 allownextresult 0
       
   729 waittestclass test
       
   730 
       
   731 //EMobileCallNotifyMobileCallStatusChange //mo alerting
       
   732 allownextresult 0
       
   733 waittestclass test
       
   734 
       
   735 //ECustomGetRemoteAlertingToneStatusIPC
       
   736 allownextresult 0
       
   737 waittestclass test
       
   738 
       
   739 //EMobileCallNotifyMobileCallStatusChange //active
       
   740 allownextresult 0
       
   741 waittestclass test
       
   742 
       
   743 test CallHangUp 1 //CallId
       
   744 
       
   745 test HandleSpecifiedRequests NO
       
   746 delete test
       
   747 [Endtest]