Harald Welte | ac35980 | 2017-04-12 12:13:44 +0200 | [diff] [blame] | 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // // |
| 3 | // Copyright Test Competence Center (TCC) ETH 2006 // |
| 4 | // // |
| 5 | // The copyright to the computer program(s) herein is the property of TCC. // |
| 6 | // The program(s) may be used and/or copied only with the written permission // |
| 7 | // of TCC or in accordance with the terms and conditions stipulated in the // |
| 8 | // agreement/contract under which the program(s) have been supplied // |
| 9 | // // |
| 10 | /////////////////////////////////////////////////////////////////////////////// |
| 11 | // File: SCCPasp_Types.ttcn |
| 12 | // Description: SS7 SCCP definitions according to specification |
| 13 | // ITU-T SS7 SCCP, ANSI ..., TCC ... |
| 14 | // References: ITU-T: Recommendation Q.711-Q.714, |
| 15 | // ANSI: T1.112-2001, |
| 16 | // TCC: JT-Q711 - JT-Q714 |
| 17 | // Rev: R6A05 |
| 18 | // Prodnr: CNL 113 341 |
| 19 | // Updated: 2006-01-26 |
| 20 | // Contact: http://ttcn.ericsson.se |
| 21 | |
| 22 | module SCCPasp_Types.objid |
| 23 | { |
| 24 | itu_t(0) identified_organization (4) etsi(0) reserved(127) |
| 25 | etsi_identified_organization(0) ericsson(5) testing (0) |
| 26 | generic(0) sccp(1) v96(3) aspDefinitions(3) patchNo(0) |
| 27 | } |
| 28 | |
| 29 | |
| 30 | {//startmodule |
| 31 | |
| 32 | //content: the following groups: |
| 33 | //Field Definitions |
| 34 | //ASPParameters |
| 35 | //ASPTypes |
| 36 | //SCCPportTypeDefinitions |
| 37 | //ASPTemplateDefinitionsSending |
| 38 | //ASPTemplateDefinitionsReceiving |
| 39 | //ethlel: 08.23:"reserved" fields removed |
| 40 | //SCCP_PAR_Importance chenged from structure to integer |
| 41 | //type enumerated SCCP_ASPfield_ParameterName removed |
| 42 | |
| 43 | import from General_Types all; |
| 44 | |
| 45 | group FieldDefinitions |
| 46 | { |
| 47 | |
| 48 | //-------------------------------------------------------------------------------- |
| 49 | // Field Address Indicator (Q713 $3.4.1) |
| 50 | //-------------------------------------------------------------------------------- |
| 51 | type record SCCP_ASPfield_AddressIndicator |
| 52 | { |
| 53 | BIT1n pointCodeIndic, |
| 54 | BIT1n ssnIndicator, |
| 55 | BIT4n globalTitleIndic, |
| 56 | BIT1n routingIndicator |
| 57 | } |
| 58 | |
| 59 | //-------------------------------------------------------------------------------- |
| 60 | // Subfield Signalling Point Code (Q713 $3.4.2.1) |
| 61 | //-------------------------------------------------------------------------------- |
| 62 | // type changed from BIT14 to bitstring 2003.11.04 baat |
| 63 | |
| 64 | |
| 65 | // supposed that the leading zeros are filled in according to specification |
| 66 | // i.e.: length itu: 16 (2 reserved) |
| 67 | // ansi:24 |
| 68 | // ttc national: 16 (0 spare) |
| 69 | |
| 70 | type bitstring SCCP_ASPfield_SignallingPointCode; |
| 71 | |
| 72 | type union SCCP_ASPfield_GlobalTitle |
| 73 | { |
| 74 | SCCP_ASPfield_GlobalTitle_NoA gti0001, |
| 75 | SCCP_ASPfield_GlobalTitle_TT gti0010, |
| 76 | SCCP_ASPfield_GlobalTitle_TT_NP_ES gti0011, //ansi: gti=0001 |
| 77 | SCCP_ASPfield_SignallingPointCode_TT_NP_ES_NoA gti0100 |
| 78 | //octetstring gti0000 |
| 79 | } |
| 80 | |
| 81 | |
| 82 | //-------------------------------------------------------------------------------- |
| 83 | // Subfield Global Title, Nature of address only |
| 84 | //ITU: GTI=0001, Q713 $3.4.2.3.1 |
| 85 | //ANSI: - |
| 86 | |
| 87 | type record SCCP_ASPfield_GlobalTitle_NoA |
| 88 | { |
| 89 | BIT7n natureOfAddress, |
| 90 | BIT1n oddeven, |
| 91 | hexstring globalTitleAddress |
| 92 | //it should be hexstring, number digits are in BCD; |
| 93 | //hexstring already supported by ETH compiler |
| 94 | } |
| 95 | |
| 96 | |
| 97 | //-------------------------------------------------------------------------------- |
| 98 | // Global Title, Translation type only |
| 99 | // ITU: GTI=0010, Q713 $3.4.2.3.2 |
| 100 | // ANSI: GTI=0010, Figure6A/T1.112.3 |
| 101 | |
| 102 | type record SCCP_ASPfield_GlobalTitle_TT |
| 103 | { |
| 104 | OCT1n translationType, |
| 105 | hexstring globalTitleAddress |
| 106 | } |
| 107 | |
| 108 | |
| 109 | //-------------------------------------------------------------------------------- |
| 110 | // Global Title, Translation type & numbering plan & encoding scheme |
| 111 | // ITU: GTI=0011, Q713 $3.4.2.3.3) |
| 112 | // ANSI GTI=0001, Figure6/T1.112.3 |
| 113 | |
| 114 | type record SCCP_ASPfield_GlobalTitle_TT_NP_ES |
| 115 | { |
| 116 | OCT1n translationType, |
| 117 | BIT4n encodingScheme, |
| 118 | BIT4n numberingPlan, |
| 119 | hexstring globalTitleAddress |
| 120 | } |
| 121 | |
| 122 | |
| 123 | //-------------------------------------------------------------------------------- |
| 124 | // Global Title, Translation type & numbering plan & encoding scheme & nature of |
| 125 | // address |
| 126 | // GTI=0100, Q713 $3.4.2.3.4) |
| 127 | // ANSI: - |
| 128 | |
| 129 | type record SCCP_ASPfield_SignallingPointCode_TT_NP_ES_NoA |
| 130 | { |
| 131 | OCT1n translationType, |
| 132 | BIT4n encodingScheme, |
| 133 | BIT4n numberingPlan, |
| 134 | BIT7n natureOfAddress, |
| 135 | hexstring globalTitleAddress |
| 136 | } |
| 137 | |
| 138 | |
| 139 | }//endgroup FieldDefinitions |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | //******************************************************************************** |
| 145 | //******************************************************************************** |
| 146 | // ASPDefinitions |
| 147 | //******************************************************************************** |
| 148 | //******************************************************************************** |
| 149 | group ASPParameters |
| 150 | { |
| 151 | //-------------------------------------------------------------------------------- |
| 152 | // Parameter Address |
| 153 | //-------------------------------------------------------------------------------- |
| 154 | |
| 155 | type record SCCP_PAR_Address |
| 156 | { |
| 157 | SCCP_ASPfield_AddressIndicator addressIndicator, |
| 158 | SCCP_ASPfield_SignallingPointCode signPointCode optional, |
| 159 | integer subsystemNumber optional, |
| 160 | SCCP_ASPfield_GlobalTitle globalTitle optional |
| 161 | } |
| 162 | |
| 163 | //-------------------------------------------------------------------------------- |
| 164 | // Parameter Quality of service |
| 165 | //-------------------------------------------------------------------------------- |
| 166 | |
| 167 | |
| 168 | type integer SCCP_PAR_Quality_Of_Service; |
| 169 | |
| 170 | //-------------------------------------------------------------------------------- |
| 171 | // Parameter Expedited data selection |
| 172 | //-------------------------------------------------------------------------------- |
| 173 | |
| 174 | type integer SCCP_PAR_Expedited_Data_Sel; |
| 175 | |
| 176 | //-------------------------------------------------------------------------------- |
| 177 | // Parameter User Data |
| 178 | //-------------------------------------------------------------------------------- |
| 179 | |
| 180 | //type SCCP_param_Data SCCP_PAR_UserData; |
| 181 | |
| 182 | type octetstring SCCP_PAR_UserData; |
| 183 | // ETHLAFA: type changed from RANAP_PDU to octetstring 020718 |
| 184 | |
| 185 | //-------------------------------------------------------------------------------- |
| 186 | // Parameter Connection Id |
| 187 | //-------------------------------------------------------------------------------- |
| 188 | |
| 189 | type integer SCCP_PAR_Connection_Id; |
| 190 | |
| 191 | |
| 192 | //-------------------------------------------------------------------------------- |
| 193 | // Parameter Importance |
| 194 | //-------------------------------------------------------------------------------- |
| 195 | |
| 196 | |
| 197 | type integer SCCP_PAR_Importance; |
| 198 | |
| 199 | |
| 200 | //-------------------------------------------------------------------------------- |
| 201 | // Parameter Originator |
| 202 | //-------------------------------------------------------------------------------- |
| 203 | //Undefined (0) |
| 204 | //SCCP User (or Network Service User-NSU)(1) |
| 205 | //SCCP itself (or Network Service Provider-NSP)(2) |
| 206 | |
| 207 | type integer SCCP_PAR_Originator; |
| 208 | |
| 209 | //-------------------------------------------------------------------------------- |
| 210 | // Parameter Reason |
| 211 | //-------------------------------------------------------------------------------- |
| 212 | |
| 213 | type integer SCCP_PAR_Reason; |
| 214 | |
| 215 | |
| 216 | //-------------------------------------------------------------------------------- |
| 217 | // Parameter Return Option |
| 218 | //-------------------------------------------------------------------------------- |
| 219 | //bit0==0-return option off |
| 220 | //bit0==1-return option on |
| 221 | |
| 222 | type BIT8n SCCP_PAR_Return_Option; |
| 223 | |
| 224 | |
| 225 | //-------------------------------------------------------------------------------- |
| 226 | // Parameter Sequence Control |
| 227 | //-------------------------------------------------------------------------------- |
| 228 | //bit0 == 0-sequence control off |
| 229 | //bit0 == 1-sequence control on |
| 230 | |
| 231 | type BIT8n SCCP_PAR_Sequence_Control; |
| 232 | |
| 233 | //-------------------------------------------------------------------------------- |
| 234 | // Parameter Reason For Return |
| 235 | //-------------------------------------------------------------------------------- |
| 236 | |
| 237 | type integer SCCP_PAR_Reason_For_Return; |
| 238 | |
| 239 | |
| 240 | //-------------------------------------------------------------------------------- |
| 241 | // Parameter Subsystem Number |
| 242 | //-------------------------------------------------------------------------------- |
| 243 | |
| 244 | type integer SCCP_PAR_SubSystemNumber; |
| 245 | |
| 246 | //-------------------------------------------------------------------------------- |
| 247 | // Parameter User Status |
| 248 | //-------------------------------------------------------------------------------- |
| 249 | |
| 250 | type integer SCCP_PAR_User_Status; |
| 251 | |
| 252 | //-------------------------------------------------------------------------------- |
| 253 | // Parameter Subsystem Multiplicity Indicator |
| 254 | //-------------------------------------------------------------------------------- |
| 255 | |
| 256 | type integer SCCP_PAR_Subsystem_multi_indicator; |
| 257 | |
| 258 | }//endgroup ASPParameters |
| 259 | |
| 260 | group ASPTypes |
| 261 | { |
| 262 | //******************************************************************************** |
| 263 | // Network service primitives Q711 |
| 264 | //******************************************************************************** |
| 265 | |
| 266 | |
| 267 | type record ASP_SCCP_N_CONNECT_req |
| 268 | { |
| 269 | SCCP_PAR_Address calledAddress, |
| 270 | SCCP_PAR_Address callingAddress optional, |
| 271 | SCCP_PAR_Expedited_Data_Sel expeditedDataSel optional, |
| 272 | SCCP_PAR_Quality_Of_Service qualityOfService optional, |
| 273 | SCCP_PAR_UserData userData optional, |
| 274 | SCCP_PAR_Connection_Id connectionId optional, |
| 275 | SCCP_PAR_Importance importance optional |
| 276 | } |
| 277 | |
| 278 | |
| 279 | type record ASP_SCCP_N_CONNECT_ind |
| 280 | { |
| 281 | SCCP_PAR_Address calledAddress, |
| 282 | SCCP_PAR_Address callingAddress optional, |
| 283 | SCCP_PAR_Quality_Of_Service qualityOfService optional, |
| 284 | SCCP_PAR_UserData userData optional, |
| 285 | SCCP_PAR_Connection_Id connectionId optional, |
| 286 | SCCP_PAR_Importance importance optional |
| 287 | } |
| 288 | |
| 289 | |
| 290 | type record ASP_SCCP_N_CONNECT_res |
| 291 | { |
| 292 | SCCP_PAR_Address respondingAddress optional, |
| 293 | SCCP_PAR_Expedited_Data_Sel expeditedDataSel optional, |
| 294 | SCCP_PAR_Quality_Of_Service qualityOfService optional, |
| 295 | SCCP_PAR_UserData userData optional, |
| 296 | SCCP_PAR_Connection_Id connectionId optional, |
| 297 | SCCP_PAR_Importance importance optional |
| 298 | } |
| 299 | |
| 300 | |
| 301 | type record ASP_SCCP_N_CONNECT_cfm |
| 302 | { |
| 303 | SCCP_PAR_Address respondingAddress optional, |
| 304 | SCCP_PAR_Quality_Of_Service qualityOfService optional, |
| 305 | SCCP_PAR_UserData userData optional, |
| 306 | SCCP_PAR_Connection_Id connectionId optional, |
| 307 | SCCP_PAR_Importance importance optional |
| 308 | } |
| 309 | |
| 310 | |
| 311 | type record ASP_SCCP_N_DATA_req |
| 312 | { |
| 313 | SCCP_PAR_UserData userData , |
| 314 | SCCP_PAR_Connection_Id connectionId optional , |
| 315 | SCCP_PAR_Importance importance optional |
| 316 | } |
| 317 | |
| 318 | |
| 319 | type record ASP_SCCP_N_DATA_ind |
| 320 | { |
| 321 | SCCP_PAR_UserData userData , |
| 322 | SCCP_PAR_Connection_Id connectionId optional , |
| 323 | SCCP_PAR_Importance importance optional |
| 324 | } |
| 325 | |
| 326 | |
| 327 | type record ASP_SCCP_N_DISCONNECT_req |
| 328 | { |
| 329 | SCCP_PAR_Address respondingAddress optional, |
| 330 | SCCP_PAR_Reason reason , |
| 331 | SCCP_PAR_UserData userData optional , |
| 332 | SCCP_PAR_Connection_Id connectionId optional , |
| 333 | SCCP_PAR_Importance importance optional |
| 334 | } |
| 335 | |
| 336 | |
| 337 | type record ASP_SCCP_N_DISCONNECT_ind |
| 338 | { |
| 339 | SCCP_PAR_Originator originator , |
| 340 | SCCP_PAR_Address respondingAddress optional , |
| 341 | SCCP_PAR_Reason reason , |
| 342 | SCCP_PAR_UserData userData optional , |
| 343 | SCCP_PAR_Connection_Id connectionId optional , |
| 344 | SCCP_PAR_Importance importance optional |
| 345 | } |
| 346 | |
| 347 | |
| 348 | type record ASP_SCCP_N_UNITDATA_req |
| 349 | { |
| 350 | SCCP_PAR_Address calledAddress , |
| 351 | SCCP_PAR_Address callingAddress , |
| 352 | SCCP_PAR_Sequence_Control sequenceControl optional , |
| 353 | SCCP_PAR_Return_Option returnOption optional , |
| 354 | SCCP_PAR_UserData userData , |
| 355 | SCCP_PAR_Importance importance optional |
| 356 | } |
| 357 | |
| 358 | |
| 359 | type record ASP_SCCP_N_UNITDATA_ind |
| 360 | { |
| 361 | SCCP_PAR_Address calledAddress , |
| 362 | SCCP_PAR_Address callingAddress , |
| 363 | SCCP_PAR_Sequence_Control sequenceControl optional , |
| 364 | SCCP_PAR_Return_Option returnOption optional , |
| 365 | SCCP_PAR_UserData userData , |
| 366 | SCCP_PAR_Importance importance optional |
| 367 | } |
| 368 | |
| 369 | |
| 370 | type record ASP_SCCP_N_NOTICE_ind |
| 371 | { |
| 372 | SCCP_PAR_Address calledAddress , |
| 373 | SCCP_PAR_Address callingAddress , |
| 374 | SCCP_PAR_Reason_For_Return reasonForReturn , |
| 375 | SCCP_PAR_UserData userData , |
| 376 | SCCP_PAR_Importance importance optional |
| 377 | } |
| 378 | |
| 379 | |
| 380 | type record ASP_SCCP_N_STATE_ind |
| 381 | { |
| 382 | SCCP_PAR_SubSystemNumber affectedSubSystem , |
| 383 | SCCP_PAR_User_Status userStatus , |
| 384 | SCCP_PAR_Subsystem_multi_indicator subsystmultiindicator optional |
| 385 | } |
| 386 | |
| 387 | |
| 388 | |
| 389 | type record ASP_SCCP_N_RESET_req |
| 390 | { |
| 391 | SCCP_PAR_Originator originator, //always NSU |
| 392 | SCCP_PAR_Reason reason, |
| 393 | SCCP_PAR_Connection_Id connectionId optional |
| 394 | } |
| 395 | |
| 396 | type record ASP_SCCP_N_RESET_ind |
| 397 | { |
| 398 | SCCP_PAR_Originator originator, |
| 399 | SCCP_PAR_Reason reason, |
| 400 | SCCP_PAR_Connection_Id connectionId optional |
| 401 | } |
| 402 | |
| 403 | type record ASP_SCCP_N_RESET_resp |
| 404 | { |
| 405 | SCCP_PAR_Connection_Id connectionId optional |
| 406 | } |
| 407 | |
| 408 | type record ASP_SCCP_N_RESET_cfm |
| 409 | { |
| 410 | SCCP_PAR_Connection_Id connectionId optional |
| 411 | } |
| 412 | |
| 413 | } //endgroup ASPTypes |
| 414 | |
| 415 | |
| 416 | group SCCP_PT_Definitions |
| 417 | { |
| 418 | //******************************************************************* |
| 419 | // Port Type definitions |
| 420 | //******************************************************************* |
| 421 | |
| 422 | type port SCCPasp_SP_PT |
| 423 | message |
| 424 | { |
| 425 | |
| 426 | in ASP_SCCP_N_CONNECT_req, ASP_SCCP_N_CONNECT_res, |
| 427 | ASP_SCCP_N_DATA_req, ASP_SCCP_N_DISCONNECT_req, |
| 428 | ASP_SCCP_N_UNITDATA_req, ASP_SCCP_N_RESET_req, |
| 429 | ASP_SCCP_N_RESET_resp; |
| 430 | |
| 431 | out ASP_SCCP_N_CONNECT_ind, ASP_SCCP_N_CONNECT_cfm, |
| 432 | ASP_SCCP_N_DATA_ind, ASP_SCCP_N_DISCONNECT_ind, |
| 433 | ASP_SCCP_N_UNITDATA_ind, ASP_SCCP_N_NOTICE_ind, |
| 434 | ASP_SCCP_N_STATE_ind, ASP_SCCP_N_RESET_ind, |
| 435 | ASP_SCCP_N_RESET_cfm; |
| 436 | |
| 437 | } with {extension "internal"} |
| 438 | |
| 439 | |
| 440 | type port SCCPasp_PT |
| 441 | message |
| 442 | { |
| 443 | |
| 444 | in ASP_SCCP_N_CONNECT_ind, ASP_SCCP_N_CONNECT_cfm, |
| 445 | ASP_SCCP_N_DATA_ind, ASP_SCCP_N_DISCONNECT_ind, |
| 446 | ASP_SCCP_N_UNITDATA_ind, ASP_SCCP_N_NOTICE_ind, |
| 447 | ASP_SCCP_N_STATE_ind, ASP_SCCP_N_RESET_ind, |
| 448 | ASP_SCCP_N_RESET_cfm; |
| 449 | |
| 450 | out ASP_SCCP_N_CONNECT_req, ASP_SCCP_N_CONNECT_res, |
| 451 | ASP_SCCP_N_DATA_req, ASP_SCCP_N_DISCONNECT_req, |
| 452 | ASP_SCCP_N_UNITDATA_req, ASP_SCCP_N_RESET_req, |
| 453 | ASP_SCCP_N_RESET_resp; |
| 454 | |
| 455 | } with {extension "internal"} |
| 456 | |
| 457 | |
| 458 | |
| 459 | }// endgroup SCCP_PT_Definitions |
| 460 | |
| 461 | |
| 462 | |
| 463 | |
| 464 | //******************************************************************************** |
| 465 | // ASP Template Definitions |
| 466 | //******************************************************************************** |
| 467 | |
| 468 | |
| 469 | group ASPTemplateDefinitionsSending |
| 470 | |
| 471 | |
| 472 | { |
| 473 | |
| 474 | |
| 475 | template ASP_SCCP_N_CONNECT_req t_ASP_N_CONNECT_req |
| 476 | ( |
| 477 | |
| 478 | template SCCP_PAR_Address PAR_CalledAddress , |
| 479 | template SCCP_PAR_Address PAR_CallingAddress , |
| 480 | template SCCP_PAR_Expedited_Data_Sel PAR_ExpDataSel , |
| 481 | template SCCP_PAR_Quality_Of_Service PAR_QoS , |
| 482 | template SCCP_PAR_UserData PAR_UserData , |
| 483 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 484 | template SCCP_PAR_Importance PAR_Imp |
| 485 | ):= |
| 486 | { |
| 487 | calledAddress :=PAR_CalledAddress , |
| 488 | callingAddress :=PAR_CallingAddress , |
| 489 | expeditedDataSel :=PAR_ExpDataSel , |
| 490 | qualityOfService :=PAR_QoS , |
| 491 | userData :=PAR_UserData , |
| 492 | connectionId :=PAR_ConnID , |
| 493 | importance :=PAR_Imp |
| 494 | } |
| 495 | |
| 496 | |
| 497 | template ASP_SCCP_N_CONNECT_ind t_ASP_N_CONNECT_ind |
| 498 | ( |
| 499 | template SCCP_PAR_Address PAR_CalledAddress , |
| 500 | template SCCP_PAR_Address PAR_CallingAddress , |
| 501 | template SCCP_PAR_Quality_Of_Service PAR_QoS , |
| 502 | template SCCP_PAR_UserData PAR_UserData , |
| 503 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 504 | template SCCP_PAR_Importance PAR_Imp |
| 505 | ):= |
| 506 | { |
| 507 | calledAddress :=PAR_CalledAddress , |
| 508 | callingAddress :=PAR_CallingAddress, |
| 509 | qualityOfService :=PAR_QoS , |
| 510 | userData :=PAR_UserData , |
| 511 | connectionId :=PAR_ConnID , |
| 512 | importance := PAR_Imp |
| 513 | } |
| 514 | |
| 515 | |
| 516 | template ASP_SCCP_N_CONNECT_res t_ASP_N_CONNECT_res |
| 517 | ( |
| 518 | |
| 519 | template SCCP_PAR_Address PAR_RespondingAddress , |
| 520 | template SCCP_PAR_Expedited_Data_Sel PAR_ExpDataSel , |
| 521 | template SCCP_PAR_Quality_Of_Service PAR_QoS , |
| 522 | template SCCP_PAR_UserData PAR_UserData , |
| 523 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 524 | template SCCP_PAR_Importance PAR_Imp |
| 525 | |
| 526 | ):= |
| 527 | { |
| 528 | respondingAddress:= PAR_RespondingAddress , |
| 529 | expeditedDataSel := PAR_ExpDataSel , |
| 530 | qualityOfService := PAR_QoS , |
| 531 | userData := PAR_UserData , |
| 532 | connectionId := PAR_ConnID , |
| 533 | importance := PAR_Imp |
| 534 | } |
| 535 | |
| 536 | |
| 537 | template ASP_SCCP_N_CONNECT_cfm t_ASP_N_CONNECT_cfm |
| 538 | ( |
| 539 | template SCCP_PAR_Address PAR_RespondingAddress , |
| 540 | template SCCP_PAR_Quality_Of_Service PAR_QoS , |
| 541 | template SCCP_PAR_UserData PAR_UserData , |
| 542 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 543 | template SCCP_PAR_Importance PAR_Imp |
| 544 | ):= |
| 545 | { |
| 546 | respondingAddress:= PAR_RespondingAddress , |
| 547 | qualityOfService := PAR_QoS , |
| 548 | userData := PAR_UserData , |
| 549 | connectionId := PAR_ConnID , |
| 550 | importance := PAR_Imp |
| 551 | } |
| 552 | |
| 553 | |
| 554 | template ASP_SCCP_N_DATA_req t_ASP_N_DATA_req |
| 555 | ( |
| 556 | template SCCP_PAR_UserData PAR_UserData , |
| 557 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 558 | template SCCP_PAR_Importance PAR_Imp |
| 559 | ):= |
| 560 | { |
| 561 | userData := PAR_UserData , |
| 562 | connectionId := PAR_ConnID , |
| 563 | importance := PAR_Imp |
| 564 | } |
| 565 | |
| 566 | |
| 567 | template ASP_SCCP_N_DATA_ind t_ASP_N_DATA_ind |
| 568 | ( |
| 569 | template SCCP_PAR_UserData PAR_UserData , |
| 570 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 571 | template SCCP_PAR_Importance PAR_Imp |
| 572 | ):= |
| 573 | { |
| 574 | userData := PAR_UserData , |
| 575 | connectionId := PAR_ConnID , |
| 576 | importance := PAR_Imp |
| 577 | } |
| 578 | |
| 579 | |
| 580 | template ASP_SCCP_N_DISCONNECT_req t_ASP_N_DISCONNECT_req |
| 581 | ( |
| 582 | template SCCP_PAR_Address PAR_RespondingAddress , |
| 583 | template SCCP_PAR_Reason PAR_Reason , |
| 584 | template SCCP_PAR_UserData PAR_UserData , |
| 585 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 586 | template SCCP_PAR_Importance PAR_Imp |
| 587 | ):= |
| 588 | { |
| 589 | respondingAddress:= PAR_RespondingAddress , |
| 590 | reason := PAR_Reason , |
| 591 | userData := PAR_UserData , |
| 592 | connectionId := PAR_ConnID , |
| 593 | importance := PAR_Imp |
| 594 | } |
| 595 | |
| 596 | |
| 597 | template ASP_SCCP_N_DISCONNECT_ind t_ASP_N_DISCONNECT_ind |
| 598 | ( |
| 599 | template SCCP_PAR_Originator PAR_Originator , |
| 600 | template SCCP_PAR_Address PAR_RespondingAddress , |
| 601 | template SCCP_PAR_Reason PAR_Reason , |
| 602 | template SCCP_PAR_UserData PAR_UserData , |
| 603 | template SCCP_PAR_Connection_Id PAR_ConnID , |
| 604 | template SCCP_PAR_Importance PAR_Imp |
| 605 | |
| 606 | ):= |
| 607 | { |
| 608 | originator :=PAR_Originator , |
| 609 | respondingAddress:= PAR_RespondingAddress , |
| 610 | reason := PAR_Reason , |
| 611 | userData := PAR_UserData , |
| 612 | connectionId := PAR_ConnID , |
| 613 | importance := PAR_Imp |
| 614 | } |
| 615 | |
| 616 | |
| 617 | |
| 618 | |
| 619 | template ASP_SCCP_N_UNITDATA_req t_ASP_N_UNITDATA_req |
| 620 | ( |
| 621 | |
| 622 | template SCCP_PAR_Address PAR_CalledAddress , |
| 623 | template SCCP_PAR_Address PAR_CallingAddress , |
| 624 | template SCCP_PAR_Sequence_Control PAR_SeqCtrl , |
| 625 | template SCCP_PAR_Return_Option PAR_RetOpt , |
| 626 | template SCCP_PAR_UserData PAR_UserData , |
| 627 | template SCCP_PAR_Importance PAR_Imp |
| 628 | ):= |
| 629 | { |
| 630 | calledAddress :=PAR_CalledAddress , |
| 631 | callingAddress :=PAR_CallingAddress, |
| 632 | sequenceControl :=PAR_SeqCtrl , |
| 633 | returnOption :=PAR_RetOpt , |
| 634 | userData :=PAR_UserData , |
| 635 | importance :=PAR_Imp |
| 636 | } |
| 637 | |
| 638 | |
| 639 | template ASP_SCCP_N_UNITDATA_ind t_ASP_N_UNITDATA_ind |
| 640 | ( |
| 641 | template SCCP_PAR_Address PAR_CalledAddress , |
| 642 | template SCCP_PAR_Address PAR_CallingAddress , |
| 643 | template SCCP_PAR_Sequence_Control PAR_SeqCtrl , |
| 644 | template SCCP_PAR_Return_Option PAR_RetOpt , |
| 645 | template SCCP_PAR_UserData PAR_UserData , |
| 646 | template SCCP_PAR_Importance PAR_Imp |
| 647 | ):= |
| 648 | { |
| 649 | calledAddress :=PAR_CalledAddress , |
| 650 | callingAddress :=PAR_CallingAddress, |
| 651 | sequenceControl :=PAR_SeqCtrl , |
| 652 | returnOption :=PAR_RetOpt , |
| 653 | userData :=PAR_UserData , |
| 654 | importance :=PAR_Imp |
| 655 | } |
| 656 | |
| 657 | |
| 658 | template ASP_SCCP_N_NOTICE_ind t_ASP_N_NOTICE_ind |
| 659 | ( |
| 660 | template SCCP_PAR_Address PAR_CalledAddress , |
| 661 | template SCCP_PAR_Address PAR_CallingAddress , |
| 662 | template SCCP_PAR_Reason_For_Return PAR_ReasForRet , |
| 663 | template SCCP_PAR_UserData PAR_UserData , |
| 664 | template SCCP_PAR_Importance PAR_Imp |
| 665 | ):= |
| 666 | { |
| 667 | calledAddress :=PAR_CalledAddress , |
| 668 | callingAddress :=PAR_CallingAddress, |
| 669 | reasonForReturn :=PAR_ReasForRet , |
| 670 | userData :=PAR_UserData , |
| 671 | importance :=PAR_Imp |
| 672 | } |
| 673 | |
| 674 | |
| 675 | template ASP_SCCP_N_STATE_ind t_ASP_N_STATE_ind |
| 676 | ( |
| 677 | template SCCP_PAR_SubSystemNumber PAR_SSN , |
| 678 | template SCCP_PAR_User_Status PAR_UserStatus , |
| 679 | template SCCP_PAR_Subsystem_multi_indicator PAR_Smi |
| 680 | ):= |
| 681 | { |
| 682 | affectedSubSystem :=PAR_SSN , |
| 683 | userStatus :=PAR_UserStatus , |
| 684 | subsystmultiindicator :=PAR_Smi |
| 685 | } |
| 686 | |
| 687 | template ASP_SCCP_N_RESET_req t_ASP_N_RESET_req |
| 688 | ( |
| 689 | template SCCP_PAR_Originator PAR_Originator, |
| 690 | template SCCP_PAR_Reason PAR_Reason, |
| 691 | template SCCP_PAR_Connection_Id PAR_Connection_Id |
| 692 | ):= |
| 693 | { |
| 694 | originator :=PAR_Originator, |
| 695 | reason :=PAR_Reason, |
| 696 | connectionId :=PAR_Connection_Id |
| 697 | } |
| 698 | |
| 699 | |
| 700 | template ASP_SCCP_N_RESET_ind t_ASP_N_RESET_ind |
| 701 | ( |
| 702 | template SCCP_PAR_Originator PAR_Originator, |
| 703 | template SCCP_PAR_Reason PAR_Reason, |
| 704 | template SCCP_PAR_Connection_Id PAR_Connection_Id |
| 705 | ):= |
| 706 | { |
| 707 | originator :=PAR_Originator, |
| 708 | reason :=PAR_Reason, |
| 709 | connectionId :=PAR_Connection_Id |
| 710 | } |
| 711 | |
| 712 | template ASP_SCCP_N_RESET_resp t_ASP_N_RESET_resp |
| 713 | ( |
| 714 | template SCCP_PAR_Connection_Id PAR_Connection_Id |
| 715 | ):= |
| 716 | { |
| 717 | connectionId :=PAR_Connection_Id |
| 718 | } |
| 719 | |
| 720 | template ASP_SCCP_N_RESET_cfm t_ASP_N_RESET_cfm |
| 721 | ( |
| 722 | template SCCP_PAR_Connection_Id PAR_Connection_Id |
| 723 | ):= |
| 724 | { |
| 725 | connectionId :=PAR_Connection_Id |
| 726 | } |
| 727 | |
| 728 | |
| 729 | |
| 730 | }//endgroup ASPTemplateDefinitionsSending |
| 731 | |
| 732 | //******************************************************************************** |
| 733 | |
| 734 | group ASPTemplateDefinitionsReceiving |
| 735 | |
| 736 | |
| 737 | { |
| 738 | |
| 739 | |
| 740 | template ASP_SCCP_N_CONNECT_req tr_ASP_N_CONNECT_req:= |
| 741 | { |
| 742 | calledAddress :=?, |
| 743 | callingAddress :=*, |
| 744 | expeditedDataSel :=*, |
| 745 | qualityOfService :=*, |
| 746 | userData :=*, |
| 747 | connectionId :=*, |
| 748 | importance :=* |
| 749 | } |
| 750 | |
| 751 | |
| 752 | template ASP_SCCP_N_CONNECT_ind tr_ASP_N_CONNECT_ind:= |
| 753 | { |
| 754 | calledAddress :=?, |
| 755 | callingAddress :=*, |
| 756 | qualityOfService :=*, |
| 757 | userData :=*, |
| 758 | connectionId :=*, |
| 759 | importance :=* |
| 760 | } |
| 761 | |
| 762 | |
| 763 | template ASP_SCCP_N_CONNECT_res tr_ASP_N_CONNECT_res:= |
| 764 | { |
| 765 | respondingAddress:= *, |
| 766 | expeditedDataSel := *, |
| 767 | qualityOfService := *, |
| 768 | userData := *, |
| 769 | connectionId := *, |
| 770 | importance := * |
| 771 | } |
| 772 | |
| 773 | |
| 774 | template ASP_SCCP_N_CONNECT_cfm tr_ASP_N_CONNECT_cfm:= |
| 775 | { |
| 776 | respondingAddress:= *, |
| 777 | qualityOfService := *, |
| 778 | userData := *, |
| 779 | connectionId := *, |
| 780 | importance := * |
| 781 | } |
| 782 | |
| 783 | |
| 784 | template ASP_SCCP_N_DATA_req tr_ASP_N_DATA_req := |
| 785 | { |
| 786 | userData := ?, |
| 787 | connectionId := *, |
| 788 | importance := * |
| 789 | } |
| 790 | |
| 791 | |
| 792 | template ASP_SCCP_N_DATA_ind tr_ASP_N_DATA_ind:= |
| 793 | { |
| 794 | userData := ?, |
| 795 | connectionId := *, |
| 796 | importance := * |
| 797 | } |
| 798 | |
| 799 | |
| 800 | template ASP_SCCP_N_DISCONNECT_req tr_ASP_N_DISCONNECT_req:= |
| 801 | { |
| 802 | respondingAddress:= *, |
| 803 | reason := ?, |
| 804 | userData := *, |
| 805 | connectionId := *, |
| 806 | importance := * |
| 807 | } |
| 808 | |
| 809 | |
| 810 | template ASP_SCCP_N_DISCONNECT_ind tr_ASP_N_DISCONNECT_ind:= |
| 811 | { |
| 812 | originator := ?, |
| 813 | respondingAddress:= *, |
| 814 | reason := ?, |
| 815 | userData := *, |
| 816 | connectionId := *, |
| 817 | importance := * |
| 818 | } |
| 819 | |
| 820 | |
| 821 | |
| 822 | |
| 823 | template ASP_SCCP_N_UNITDATA_req tr_ASP_N_UNITDATA_req:= |
| 824 | { |
| 825 | calledAddress :=?, |
| 826 | callingAddress :=?, |
| 827 | sequenceControl :=*, |
| 828 | returnOption :=*, |
| 829 | userData :=?, |
| 830 | importance :=* |
| 831 | } |
| 832 | |
| 833 | |
| 834 | template ASP_SCCP_N_UNITDATA_ind tr_ASP_N_UNITDATA_ind:= |
| 835 | { |
| 836 | calledAddress :=?, |
| 837 | callingAddress :=?, |
| 838 | sequenceControl :=*, |
| 839 | returnOption :=*, |
| 840 | userData :=?, |
| 841 | importance :=* |
| 842 | } |
| 843 | |
| 844 | |
| 845 | template ASP_SCCP_N_NOTICE_ind tr_ASP_N_NOTICE_ind:= |
| 846 | { |
| 847 | calledAddress :=?, |
| 848 | callingAddress :=?, |
| 849 | reasonForReturn :=?, |
| 850 | userData :=?, |
| 851 | importance :=* |
| 852 | } |
| 853 | |
| 854 | |
| 855 | template ASP_SCCP_N_STATE_ind tr_ASP_N_STATE_ind:= |
| 856 | { |
| 857 | affectedSubSystem :=?, |
| 858 | userStatus :=?, |
| 859 | subsystmultiindicator :=* |
| 860 | } |
| 861 | |
| 862 | template ASP_SCCP_N_RESET_req tr_ASP_N_RESET_req:= |
| 863 | { |
| 864 | originator :=?, |
| 865 | reason :=?, |
| 866 | connectionId :=* |
| 867 | } |
| 868 | |
| 869 | |
| 870 | template ASP_SCCP_N_RESET_ind tr_ASP_N_RESET_ind:= |
| 871 | { |
| 872 | originator :=?, |
| 873 | reason :=?, |
| 874 | connectionId :=* |
| 875 | } |
| 876 | |
| 877 | template ASP_SCCP_N_RESET_resp tr_ASP_N_RESET_resp:= |
| 878 | { |
| 879 | connectionId :=* |
| 880 | } |
| 881 | |
| 882 | template ASP_SCCP_N_RESET_cfm tr_ASP_N_RESET_cfm:= |
| 883 | { |
| 884 | connectionId :=* |
| 885 | } |
| 886 | |
| 887 | |
| 888 | |
| 889 | }//endgroup ASPTemplateDefinitionsReceiving |
| 890 | |
| 891 | |
| 892 | |
| 893 | } //with { encode "RAW"} |
| 894 | //endmodule SCCP ASP types |
| 895 | |