adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_callcontrol.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 // Precondition: 
       
    17 // - Detailed description can be found from Quality Center's Project: CoreSW_CASW/Module Tests/SIM ATK TSY/SimAtkTSY_testtool
       
    18 //
       
    19 // Script description (Note: Some test cases include proactive commands. See appropriate command's config file for 
       
    20 // specific parameters ):
       
    21 
       
    22 // CC Result //
       
    23 ///////////////
       
    24 
       
    25 // AlphaIdValidity (optional, default = 3, not present)
       
    26 // 	Indicates the validity of the alpha ID
       
    27 //  	0 Value used with constructor
       
    28 //  	1 Alpha ID is valid.  It should be displayed
       
    29 //  	2 Alpha ID is null.  Display nothing.
       
    30 //  	3 Alpha ID is not present.  The client can dislay whatever it likes.
       
    31 
       
    32 // AlphaId
       
    33 //  Enter the text inside the quotes or as unicode hex digits. Example: Text "abc" or Text 61 62 63
       
    34 
       
    35 // Type (optional, default = 0)
       
    36 //	Type of the completed Call control
       
    37 //	0 ECcTypeNotSet, Initialization value used within constructor(s).
       
    38 //	1 ECcAddress, Call control by SIM has transformed the original request into a new call set up.
       
    39 //	2 ECcSsString, Call control by SIM has transformed the original request into a new SEND SS
       
    40 //	3 ECcUssdString, Call control by SIM has transformed the original request into a new SEND USSD
       
    41 //	4 ECcPDPParameters, Call control by SIM has transformed the original request into a new OPEN CHANNEL
       
    42 
       
    43 // ControlResult (mandatory)
       
    44 //  0 EControlResultNotSet, Initialization value used within constructor(s)
       
    45 //  1 EAllowedNoModification
       
    46 //  2 ENotAllowed
       
    47 //  3 EAllowedWithModifications
       
    48 
       
    49 // ActionOriginator (optional, default = 0)
       
    50 //	Specifies to the client who should perform the modified action
       
    51 //	0 EActionOriginatorNotSet, Initialization value used within constructor(s) or if the call control does not require a new action
       
    52 //		to be performed
       
    53 //	1 EClientOriginator, The client is responsible for performing the action described in the call control class.
       
    54 //	2 EMeSideOriginator, The ME Side is responsible for performing the action described in the call control class. The
       
    55 //		client side should still display any provided alpha identifier.
       
    56 
       
    57 // BCRepeatIndicator
       
    58 //	Bearer Capability Repeat Indicator (default = 0)
       
    59 //		0 The alternate mode of the Bearer Capability Repeat Indicator.
       
    60 //		1 Depreciated.
       
    61 //		2 Support of fallback - mode 1 preferred, mode 2 selected if setup of mode 1 fails.
       
    62 //		3 Service change and fallback - mode 1 alternate mode 2, mode 1 preferred
       
    63 // Example: BCRepeatIndicator 3
       
    64 
       
    65 // Address
       
    66 //  Enter the address or SS string inside the quotes
       
    67 //  TypeOfNumber (Optional, default = 1, UnknownNumber)
       
    68 //      0 TypeOfNumberNotSet, initialization value used within constructor(s).
       
    69 //      1 UnknownNumber, the user or the network has no knowledge of the type of network.
       
    70 //      2 InternationalNumber, international number.
       
    71 //      3 NationalNumber, national number.
       
    72 //      4 NetworkSpecificNumber, administration/service number specific to the serving network, 
       
    73 //        e.g. used to access an operator.
       
    74 //      5 DedicatedNumber, called dedicated access / short code in GSM/WCDMA. Corresponds to
       
    75 //        TMobileTON::ESubscriberNumber in ETel MM API.
       
    76 //      6 AlphanumericNumber, alphanumeric number.
       
    77 //      7 EAbbreviatedNumber, abbreviated number. 
       
    78 //  NumberingPlan (Optional, default = 1, UnknownNumberingPlan)
       
    79 //      0 NumberingPlanNotSet, initialization value used within constructor(s).
       
    80 //      1 UnknownNumberingPlan, the user or the network has no knowledge of the numbering plan.
       
    81 //      2 IsdnNumberPlan, ISDN / telephony numbering plan.
       
    82 //      3 DataNumberPlan, data numbering plan.
       
    83 //      4 TelexNumberPlan, telex numbering plan.
       
    84 //      5 ServiceCentreSpecificPlan1, The service centre specific plan is used to indicate a numbering
       
    85 //        plan specific to External Short Message Entities attached to the SMS centre.
       
    86 //      6 ServiceCentreSpecificPlan2, the service centre specific plan is used to indicate a numbering
       
    87 //        plan specific to External Short Message Entities attached to the SMS centre.
       
    88 //      7 NationalNumberPlan, national numbering plan.
       
    89 //      8 PrivateNumberPlan, private numbering plan.
       
    90 //      9 ERMESNumberPlan, ERMES numbering plan.   
       
    91 // Example (String "+012340123456p1p2", InternationalNumber, IsdnNumberPlan):
       
    92 // Address "+012340123456p1p2" 2 2
       
    93 // Example (String "*#31#", InternationalNumber, DataNumberPlan):
       
    94 // Address "*#31#" 2 3
       
    95 
       
    96 // Ccp1 & Ccp2 (Optional)
       
    97 //  Enter the bearer capability config params as hex digits.
       
    98 //  Example: Ccp1 61 62 63
       
    99 //  Example: Ccp2 62
       
   100 
       
   101 // SubAddress (Optional)
       
   102 //  Enter the subaddress inside the quotes or as unicode hex digits.
       
   103 // Example: SubAddress "abc" or SubAddress 61 62 63
       
   104 
       
   105 // UssdString
       
   106 //  Enter the text inside the quotes or as unicode hex digits. Example: UssdString "abc" or UssdString 61 62 63
       
   107 
       
   108 // Dcs (Optional, default = 0x00)
       
   109 // DataCoding scheme for USSD.
       
   110 //  Enter the used data coding scheme as hexadicimal value
       
   111 
       
   112 // PdpContextParameters
       
   113 //	Modified PDP params as hex digits. Example PdpContextParameters 01 FF A1
       
   114 
       
   115 
       
   116 [Test]
       
   117 title MOD_0031.001_SIM_ATK_TSY_[CALL CONTROL BY SIM - Procedure for Mobile Originated calls]
       
   118 
       
   119 create SimAtk simatk
       
   120 create SimAtkNotify notify
       
   121 
       
   122 // Open ETel and related services
       
   123 simatk Connect RTelServer
       
   124 simatk Load PhoneTsy.tsy
       
   125 simatk Open DefaultPhone
       
   126 simatk Open SAT
       
   127 
       
   128 // For ISI-message simulation and analysis
       
   129 simatk Open IscControl
       
   130 simatk LoadIscTests SimAtk_CallControl.xml
       
   131 
       
   132 // Initialization
       
   133 simatk RunIscTestCase 31 001
       
   134 simatk WaitForRequest
       
   135 
       
   136 // Sequence 1.1 (CALL CONTROL BY SIM, set up call attempt by user, the SIM responds with '90 00')
       
   137 simatk RunIscTestCase 31 101
       
   138 simatk WaitForRequest
       
   139 
       
   140 // Sequence 1.2 (CALL CONTROL BY SIM, set up call attempt by user, allowed without modification)
       
   141 simatk RunIscTestCase 31 102
       
   142 simatk WaitForRequest
       
   143 
       
   144 // Sequence 1.3A (CALL CONTROL BY SIM, set up call attempt resulting from a set up call proactive command, allowed without modification)
       
   145 notify UseObjectAddress simatk ESatNotifySetUpCallPCmd
       
   146 simatk RunIscTestCase 31 103
       
   147 waittestclass notify
       
   148 simatk CheckProactiveCommand Address "+012340123456" 2 2 AlphaId "+012340123456"
       
   149 simatk SyncIscTestCase
       
   150 simatk SendTerminalResponse
       
   151 simatk WaitForRequest
       
   152 
       
   153 // Sequence 1.4 (CALL CONTROL BY SIM, set up call attempt by user, not allowed)
       
   154 simatk RunIscTestCase 31 104
       
   155 simatk WaitForRequest
       
   156 
       
   157 // Sequence 1.5A (CALL CONTROL BY SIM, set up call attempt resulting from a set up call proactive command, not allowed)
       
   158 notify UseObjectAddress simatk ESatNotifySetUpCallPCmd
       
   159 simatk RunIscTestCase 31 105
       
   160 waittestclass notify
       
   161 simatk CheckProactiveCommand Address "+012340123456" 2 2 AlphaId "+012340123456"
       
   162 simatk SyncIscTestCase
       
   163 simatk SendTerminalResponse GeneralResult InteractionWithCCPermanentError InfoType MeProblem AdditionalInfo ActionNotAllowed
       
   164 simatk WaitForRequest
       
   165 
       
   166 // Sequence 1.6 (CALL CONTROL BY SIM, set up call attempt by user, allowed with modifications)
       
   167 simatk RunIscTestCase 31 106
       
   168 simatk WaitForRequest
       
   169 
       
   170 // Sequence 1.7A (CALL CONTROL BY SIM, set up call attempt resulting from a set up call proactive command, allowed with modifications)
       
   171 notify UseObjectAddress simatk ESatNotifySetUpCallPCmd
       
   172 simatk RunIscTestCase 31 107
       
   173 waittestclass notify
       
   174 simatk CheckProactiveCommand Address "+012340123456" 2 2 AlphaId "+012340123456"
       
   175 simatk SyncIscTestCase
       
   176 simatk SendTerminalResponse
       
   177 simatk WaitForRequest
       
   178 
       
   179 // Sequence 1.8 (CALL CONTROL BY SIM, set up call attempt by user, allowed with modifications: emergency call)
       
   180 simatk RunIscTestCase 31 108
       
   181 simatk WaitForRequest
       
   182 
       
   183 // Sequence 1.9 (CALL CONTROL BY SIM, set up call attempt by user, allowed with modifications: number in EFECC)
       
   184 simatk RunIscTestCase 31 109
       
   185 simatk WaitForRequest
       
   186 
       
   187 // Sequence 1.10 (CALL CONTROL BY SIM, set up call attempt by user to an emergency call)
       
   188 simatk RunIscTestCase 31 110
       
   189 simatk WaitForRequest
       
   190 
       
   191 // Sequence 1.11 (CALL CONTROL BY SIM, set up call through call register, the SIM responds with '90 00'
       
   192 // Skipped. Similar case to 1.1 from SimAtkTsy point of view
       
   193 
       
   194 // Sequence 1.12 (CALL CONTROL BY SIM, set up call through call register, allowed without modification) 
       
   195 // Skipped. Similar case to 1.2 from SimAtkTsy point of view
       
   196 
       
   197 // Sequence 1.13 (CALL CONTROL BY SIM, set up call through call register, not allowed)
       
   198 // Skipped. Similar case to 1.4 from SimAtkTsy point of view
       
   199 
       
   200 // Sequence 1.14 (CALL CONTROL BY SIM, set up call through call register, allowed with modifications) 
       
   201 // Skipped. Similar case to 1.6 from SimAtkTsy point of view
       
   202 
       
   203 // close all
       
   204 simatk Close IscControl
       
   205 simatk Close SAT
       
   206 simatk Unload PhoneTsy.tsy
       
   207 simatk Close RTelServer
       
   208 delete notify
       
   209 delete simatk
       
   210 [Endtest]
       
   211 
       
   212 [Test]
       
   213 title MOD_0031.002_SIM_ATK_TSY_[CALL CONTROL BY SIM - Procedure for Supplementary (SS) Services]
       
   214 
       
   215 create SimAtk simatk
       
   216 create SimAtkNotify notify
       
   217 
       
   218 // Open ETel and related services
       
   219 simatk Connect RTelServer
       
   220 simatk Load PhoneTsy.tsy
       
   221 simatk Open DefaultPhone
       
   222 simatk Open SAT
       
   223 
       
   224 // For ISI-message simulation and analysis
       
   225 simatk Open IscControl
       
   226 simatk LoadIscTests SimAtk_CallControl.xml
       
   227 
       
   228 // Initialization
       
   229 simatk RunIscTestCase 31 001
       
   230 simatk WaitForRequest
       
   231 
       
   232 // Sequence 2.1 (CALL CONTROL BY SIM, send SS, the SIM responds with '90 00')
       
   233 simatk RunIscTestCase 31 201
       
   234 simatk WaitForRequest
       
   235 
       
   236 // Sequence 2.2 (CALL CONTROL BY SIM, send SS, allowed without modifications) 
       
   237 simatk RunIscTestCase 31 202
       
   238 simatk WaitForRequest
       
   239 
       
   240 // Sequence 2.3 (CALL CONTROL BY SIM, send SS, not allowed) 
       
   241 simatk RunIscTestCase 31 203
       
   242 simatk WaitForRequest
       
   243 
       
   244 // Sequence 2.4 (CALL CONTROL BY SIM, send SS, allowed with modifications) 
       
   245 simatk RunIscTestCase 31 204
       
   246 simatk WaitForRequest
       
   247 
       
   248 // close all
       
   249 simatk Close IscControl
       
   250 simatk Close SAT
       
   251 simatk Unload PhoneTsy.tsy
       
   252 simatk Close RTelServer
       
   253 delete notify
       
   254 delete simatk
       
   255 [Endtest]
       
   256 
       
   257 [Test]
       
   258 title MOD_0031.003_SIM_ATK_TSY_[CALL CONTROL BY SIM - Interaction with Fixed Dialling Number (FDN)]
       
   259 
       
   260 create SimAtk simatk
       
   261 create SimAtkNotify notify
       
   262 
       
   263 // Open ETel and related services
       
   264 simatk Connect RTelServer
       
   265 simatk Load PhoneTsy.tsy
       
   266 simatk Open DefaultPhone
       
   267 simatk Open SAT
       
   268 
       
   269 // For ISI-message simulation and analysis
       
   270 simatk Open IscControl
       
   271 simatk LoadIscTests SimAtk_CallControl.xml
       
   272 
       
   273 // Initialization
       
   274 simatk RunIscTestCase 31 001
       
   275 simatk WaitForRequest
       
   276 
       
   277 // Sequence 3.1 (CALL CONTROL BY SIM , set up a call not in EFFDN)
       
   278 // Skipped. FDN check is already made by Modem Call server and initiated call is rejected.
       
   279 // Therefore no resource control request is made.
       
   280 
       
   281 // Sequence 3.2 (CALL CONTROL BY SIM , set up a call in EFFDN , the SIM responds with '90 00')
       
   282 // FDN check is already made by Modem Call server and sequence proceeds with resource control.
       
   283 simatk RunIscTestCase 31 302
       
   284 simatk WaitForRequest
       
   285 
       
   286 // Sequence 3.3 (CALL CONTROL BY SIM , set up a call in EFFDN, Allowed without modifications)
       
   287 // FDN check is already made by Modem Call server and sequence proceeds with resource control.
       
   288 simatk RunIscTestCase 31 303
       
   289 simatk WaitForRequest
       
   290 
       
   291 // Sequence 3.4 (CALL CONTROL BY SIM , set up a call in EFFDN , Not Allowed)
       
   292 // FDN check is already made by Modem Call server and sequence proceeds with resource control.
       
   293 simatk RunIscTestCase 31 304
       
   294 simatk WaitForRequest
       
   295 
       
   296 // Sequence 3.5 (CALL CONTROL BY SIM , set up a call in EFFDN , Allowed with modifications)
       
   297 // FDN check is already made by Modem Call server and sequence proceeds with resource control.
       
   298 simatk RunIscTestCase 31 305
       
   299 simatk WaitForRequest
       
   300 
       
   301 // close all
       
   302 simatk Close IscControl
       
   303 simatk Close SAT
       
   304 simatk Unload PhoneTsy.tsy
       
   305 simatk Close RTelServer
       
   306 delete notify
       
   307 delete simatk
       
   308 [Endtest]