Commit 1aa64902 authored by Yann Garcia's avatar Yann Garcia
Browse files

Merge branch 'TTF016' into 'main'

Ttf016

See merge request !1
parents b4f8e008 84ca3ad6
Loading
Loading
Loading
Loading

.gitmodules

0 → 100644
+16 −0
Original line number Diff line number Diff line
[submodule "ttcn/LibCommon"]
	path = ttcn/LibCommon
	url = https://forge.etsi.org/rep/LIBS/LibCommon.git
	branch = STF574
[submodule "ttcn/LibSip"]
	path = ttcn/LibSip
	url = https://forge.etsi.org/rep/LIBS/LibSip.git
	branch = STF574
[submodule "ttcn/LibIms"]
	path = ttcn/LibIms
	url = https://forge.etsi.org/rep/LIBS/LibIms.git
	branch = STF574
[submodule "titan-test-system-framework"]
	path = titan-test-system-framework
	url = https://labs.etsi.org/rep/cti-tools/titan-test-system-framework.git
	branch = devel
+7 −0
Original line number Diff line number Diff line
[1]	ETSI TS 124 237: "Universal Mobile Telecommunications System (UMTS); LTE; IP Multimedia (IM) Core Network (CN) subsystem IP Multimedia Subsystem (IMS) service continuity; Stage 3 (3GPP TS 24.237 Release 16)".
[2]	ETSI TS 124 292: "Universal Mobile Telecommunications System (UMTS); LTE; IP Multimedia (IM) Core Network (CN) subsystem Centralized Services (ICS); Stage 3 (3GPP TS 24.292 Release 16)".
[3]	ETSI TS 103 833-1: "Core Network and Interoperability Testing (INT); Conformance Test Specifications for the SCC-AS Services; (3GPP™ Release 16); Part 1: Protocol Implementation Conformance Statement (PICS)".
[4]	ISO/IEC 9646-1: "Information technology -- Open Systems Interconnection -- Conformance testing methodology and framework -- Part 1: General concepts".
[5]	ISO/IEC 9646-7: "Information technology -- Open Systems Interconnection -- Conformance testing methodology and framework -- Part 7: Implementation Conformance Statements".
[6]	ETSI ETS 300 406: "Methods for testing and Specification (MTS); Protocol and profile conformance testing specifications; Standardization methodology".
[7]	ETSI ES 203 119-4: "Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 4: Structured Test Objective Specification (Extension)".
 No newline at end of file
+236 −0
Original line number Diff line number Diff line
/* ETSI Software License
* As long as the here under conditions are respected, non-exclusive permission is hereby granted,
* free of charge, to use, reproduce and modify this software source code, under the following conditions:
* This source code is provided AS IS with no warranties, express or implied, including but not limited to,
* the warranties of merchant ability, fitness for a particular purpose and warranties for non-infringement
* of intellectual property rights.
* ETSI shall not be held liable in any event for any direct or indirect damages whatsoever (including, without
* limitation, damages for loss of profits, business interruption, loss of information, or any other pecuniary
* loss) arising out of or related to the use of or inability to use the source code.
* This permission is granted to facilitate the implementation of the related ETSI standard, provided that
* ETSI is given the right to use, reproduce and amend the modified source code under the same conditions
* as the present permission.
* This permission does not apply to any documentation associated with this source code for which ETSI keeps
* all rights reserved.
* The present ETSI Source Code license shall be included in all copies of whole or part of this source code
* and shall not imply any sub-license right.
* (c) ETSI 2019-2020 
*/
 
 
Package Sip_Common {
    Domain {
        pics:
            - NONE
            - PICS_2
            - NOT_PICS_2
        ;
        entities:
            - SCCAS
            - IMS_S_CSCF
            - IMS_I_CSCF
            - UE
            - UE_TERM
            - IUT
            - ATCF
            - MSC
        ;
        events:
            - receives
            - sends
            - forwards
            - isRequestedToPlaceACall
            // Initial conditions
            - isNotRegisteredTo
            - hasAchievedFirstRegistration
            - isRegisteredTo
            - isNotAttachedTo
            - isAttachedTo
            - isNotConfiguredForTopologyHiding
            - isConfiguredForTopologyHiding
            - isExistingIn
            - establishedSecurityRelation
            - registeredIdentityTelURI
            - registeredIdentitySipURI
            - hasInitiatedDialogWith
            - hasInitiatedPS2CSinEarlydialog
            - hasInitiatedPS2CSinAlertingState
            - hasEstablishedDialog
            - hasEstablishedPS2CSDialog
            - isConfiguredWithENUMentryForTelURI_E164NumberOf
            - hasReceivedInitialRequestForDialog
            - hasReceived200OkOnInitialRequestForDialogWith
            - hasReceived180OnInitialRequest
            - hasReceived200OkCancel
            - hasReceivedTerminatedRequest
            - registeredPublicIdsWithTelUriAndSipUri
            - hasReceivedSubsequentOrTargetRefreshRequestInDialog
            - previouslyEstablishedCallWith
            - isRequestedToSend
            - isRequestedToDeregisterUser
            - isBusy
            - isNoLongerAvailable
            - isTriggeredToDetachUser
            - isRequestedToDetachfromNetwork
            - hasAchievedFirstREGISTER
            - hasResponded486INVITE
            - hasAchievedInitialINVITE
            - hasAchievedINVITE
            - hasAchievedUPDATEuponINVITE
            - timerOperatorSpecificTimeout //NOTE: 8 seconds is an appropriate value for the operator policy.
            - isAttachingToNetwork
            - hasDoneSubscription
        ;
    } // End of Domain section


//    Const {
//        PX_Stored_Domain_Uri,
//        PX_Affected_IMPU,
//        PX_Contact,
//        PX_UE_A_SIP_URI,
//        PX_UE_A_TEL_URI,
//        PX_UE_A_CALLID,
//        PX_UE_A_REALM,
//        PX_UE_A_USERNAME,
//        PX_UE_A_INVALID_USERNAME,
//        PX_UE_A_VIA,
//        PX_UE_A_AUTH_ALG,
//        PX_OPERATOR_ID_A,
//        PX_UE_B_SIP_URI,
//        PX_UE_B_TEL_URI,
//        PX_UE_B_USERNAME,
//        PX_UE_B_INVALID_USERNAME,
//        PX_UE_B_VIA,
//        PX_UE_B_AUTH_ALG,
//        PX_OPERATOR_ID_B,
//        PX_P_CSCF_A_SIP_URI,
//        PX_IMS_A_ICID,
//        PX_IMS_A_ORIG_IOI,
//        PX_S_CSCF_A_SIP_URI,
//        PX_P_CSCF_A_SIP_URI,
//        PX_IBCF_B_SIP_URI,

//        PX_MSC_ORIG_ICID, // ETSI TS 124 292 V16.0.0 Clause 6.3.2 Initial registration 11)
//        PX_MSC_ORIG_IOI, // ETSI TS 124 292 V16.0.0 Clause 6.3.2 Initial registration 11)
//        PX_MSC_VISITED_NTW // ETSI TS 124 292 V16.0.0 Clause 6.3.2 Initial registration 12)
//        PX_MSC_PANI_ACCESSTYPE // ETSI TS 124 292 V16.0.0 Clause 6.3.2 Initial registration 13)
//        PX_MSC_PANI_ACCESSCLASS // ETSI TS 124 292 V16.0.0 Clause 6.3.2 Initial registration 13)
//        PX_MSC_FORWARD_URI // ETSI TS 124 292 V16.0.0 Clause 6.3.2 Initial registration 14)

//        PX_TO_BE_DEFINED
//        ;
//    } // End of Const section

    Data {
    	
        type SipMessage;
        type EnumMessage;
        
        type SDP;
        type XmlType;
        type MimeType with
            optional SDP of type SDP,
            optional XML of type XmlType,
            optional SipMessage of type SipMessage;
       
        type g3gppAtcfFeatureCapabilityIndicator;
        
        SipMessage REGISTER;
        SipMessage SUBSCRIBE;
        SipMessage INVITE;
        SipMessage ACK;
        SipMessage CANCEL;
        SipMessage BYE;
        SipMessage REFER;
        SipMessage PRACK;
        SipMessage UPDATE;
        SipMessage OPTIONS;
         // SIP Responses
        SipMessage r_1xx_Any;
        SipMessage r_100_Trying;
        SipMessage r_180_Ringing;
        SipMessage r_183_SessionProgress;
        SipMessage r_200_Ok;
        SipMessage r_2xx_Any;
        SipMessage r_401_Unauthorized;
        SipMessage r_403_Forbidden;
        SipMessage r_404_NotFound;
        SipMessage r_480_TemporaryUnavailable;
        SipMessage r_486_INVITE;
        SipMessage r_488_NotAcceptableHere;
        SipMessage r_4xx_Any;
        
        type SipMessageBody
                with
                    optional SDP of type SDP,
                    optional XML of type XmlType,
                    optional MIME of type MimeType;
        
        
                
    } // End of Data section
          
        Configuration {
            Interface Type defaultGT accepts SipMessage;
            Component Type SipComponent with gate g of type defaultGT;
            
            
            Test Configuration CFG_SCCAS_01 
                containing 
                    Tester component IMS_S_CSCF of type SipComponent
                    SUT component IUT of type SipComponent
                    connection between IMS_S_CSCF.g and IUT.g;
            
            
            Test Configuration CFG_SCCAS_02 
                containing 
                    Tester component IMS_S_CSCF of type SipComponent
                    Tester component ATCF of type SipComponent
                    SUT component IUT of type SipComponent
                    connection between IMS_S_CSCF.g and IUT.g
                    connection between ATCF.g and IUT.g;
            
            Test Configuration CFG_SCCAS_03 
                containing 
                    Tester component IMS_S_CSCF of type SipComponent
                    Tester component MSC of type SipComponent
                    SUT component IUT of type SipComponent
                    connection between IMS_S_CSCF.g and IUT.g
                    connection between MSC.g and IUT.g;
                    
            Test Configuration CFG_SCSCF_01 
                containing 
                    Tester component SCCAS of type SipComponent
                    SUT component IUT of type SipComponent
                    connection between SCCAS.g and IUT.g;
                    
            Test Configuration CFG_SCSCF_02 
                containing 
                    Tester component SCCAS of type SipComponent
                    Tester component UE of type SipComponent
                    SUT component IUT of type SipComponent
                    connection between SCCAS.g and IUT.g
                    connection between UE.g and IUT.g;
            Test Configuration CFG_MSC_01 
                containing 
                    Tester component IMS_I_CSCF of type SipComponent
                    Tester component MSC of type SipComponent
                    SUT component IUT of type SipComponent
                    connection between IMS_I_CSCF.g and IUT.g;
                    
        }
    
    //Type MSG (optional TCP of type CONTENT);
    
    //Type CONTENT;
    //CONTENT tcp;
    
    //MSG MESSAGE;
    
    //Type MSG_SIZE;
    
    //Message_Body_Size MSG_SIZE;
    
} // End of Package Sip_Common
+393 −0

File added.

Preview size limit exceeded, changes collapsed.

+164 −0
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2019-2022.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/

/* interface at SCCAS */
Package TP_SCCAS {
    
      
    
    Group "11.3.2 SCC AS procedures for PS to PS+CS access transfer"
    {
    	import all from Sip_Common;
    	 
    	Test Purpose {
		
        TP Id TP_ISC_SCCAS_CON_RIN_01 
        
        Test objective "Verify that the SCC AS successfully processes an INVITE that includes an active speech media component using CS bearer."
        
        Reference 
            "ETSI TS 124 237 [1], Clauses 11.3.2" 
        
        Config Id CFG_SCCAS_01
        
        PICS Selection NONE //PICS_SCCAS_PS2PS_ACCES_TRANSFER_IN_CONJUNCTION_PS2CS
        
        Initial conditions with {
            the UE entity isRegisteredTo the IMS and 
            the UE entity hasEstablishedDialog
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives an INVITE containing  	// request active speech media component using CS bearer
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Replaces indicating value PX_UE_A_SIP_URI; // indicating access transfer procedure
                    from the IMS_S_CSCF entity
                }
                then {
                    the IUT entity sends an INVITE containing // reINVITE
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Contact indicating value PX_UE_A_SIP_URI; // added by SCC AS
                     to the IMS_S_CSCF entity
                	}
            	}
            
            } // end TP TP_ISC_SCCAS_CON_RIN_01

    	
    } // end Group "11.3.2 SCC AS procedures for PS to PS+CS access transfer"
    
    
    Group "11.3.3 SCC AS procedures for PS+CS to PS access transfer"
    {    	    	    	

    	import all from Sip_Common;
    	
    	Test Purpose {
		
        TP Id TP_ISC_SCCAS_CON_RIN_02 
        
        Test objective "Verify that the SCC AS successfully processes an INVITE due to two STIs on the Target Access Leg."
        
        Reference 
            "ETSI TS 124 237 [1], Clauses 11.3.3" 
        
        Config Id CFG_SCCAS_01
        
        PICS Selection NONE //PICS_SCCAS_PS2PS_ACCES_TRANSFER_IN_CONJUNCTION_PS2CS
        
        Initial conditions with {
            the UE entity isRegisteredTo the IMS and
            the UE entity hasEstablishedDialog
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives an INVITE containing  	// request CS -> PS
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA;
                        //Replaces indicating value PX_UE_A_SIP_URI; // indicating access transfer procedure
                    from the IMS_S_CSCF entity
                }
                then {
                    the IUT entity sends an INVITE containing // reINVITE
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA;
                        //Contact indicating value PX_UE_A_SIP_URI; // added by SCC AS
                     to the IMS_S_CSCF entity
                	}
            	}
            
            } // end TP TP_ISC_SCCAS_CON_RIN_02

    	Test Purpose {
		
        TP Id TP_ISC_SCCAS_CON_RIN_03 
        
        Test objective "Verify that the SCC AS rejects an INVITE due missing ability to associate it to an ongoing or different SIP dialog."
        
        Reference 
            "ETSI TS 124 237 [1], Clauses 11.3.3" 
        
        Config Id CFG_SCCAS_01
        
        PICS Selection NONE //PICS_SCCAS_PS2PS_ACCES_TRANSFER_IN_CONJUNCTION_PS2CS
        
        Initial conditions with {
            the UE entity isRegisteredTo the IMS and
            the UE entity hasEstablishedDialog
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives an INVITE containing  	// request CS -> PS
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA;
                        //Replaces indicating value PX_UE_A_SIP_URI; // indicating access transfer procedure
                    from the IMS_S_CSCF entity
                }
                then {
                    the IUT entity sends an r_480 containing // reINVITE
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA;
                        //Contact indicating value PX_UE_A_SIP_URI; // added by SCC AS
                     to the IMS_S_CSCF entity
                	}
            	}
            
            } // end TP TP_ISC_SCCAS_CON_RIN_03
    	
    } // end Group 11.3.3 SCC AS procedures for PS+CS to PS access transfer

    
} // End of Package TP_SCCAS
Loading