Commit c4fb6c31 authored by tepelmann's avatar tepelmann
Browse files

First run of T3Q.

parent 95eec43e
Loading
Loading
Loading
Loading
+1 −10
Original line number Original line Diff line number Diff line
@@ -4,21 +4,12 @@
 * @desc This module provides the types used by the test component for SIP-IMS tests. Module become from STF306 and STF334-336 This module is part of LibImsV2.
 * @desc This module provides the types used by the test component for SIP-IMS tests. Module become from STF306 and STF334-336 This module is part of LibImsV2.
 */
 */
module LibIms_Interface {
module LibIms_Interface {
    // LibCommon
    import from LibCommon_Sync all;
    import from LibCommon_AbstractData all;
    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_DataStrings all;
    // LibSip
    // LibSip
    import from LibSip_SIPTypesAndValues all;
    import from LibSip_SDPTypes all;
    import from LibSip_Templates all;
    import from LibSip_PIXITS all;
    import from LibSip_Interface all;
    import from LibSip_Interface all;
    // LibIms
    // LibIms
    import from LibIms_SIPTypesAndValues all;
    import from LibIms_SIPTypesAndValues all;


    group AdressTypes {
    group adressTypes {


        type component ImsComponent extends SipComponent {
        type component ImsComponent extends SipComponent {
            // general variables
            // general variables
+0 −58
Original line number Original line Diff line number Diff line
@@ -4,64 +4,6 @@
 * @desc This module provides the types and constants used by the test component for SIP tests. This module is part of LibImsV3.
 * @desc This module provides the types and constants used by the test component for SIP tests. This module is part of LibImsV3.
 */
 */
module LibIms_SIPTypesAndValues {
module LibIms_SIPTypesAndValues {
    // SipAts
    import from LibSip_SDPTypes all;
    import from LibSip_XMLTypes all;

    group Constants {

        const integer c_ISUP_HOP_COUNT := 31; // TODO replace this value with appropriate PIXIT parameter
        
        group UserProfileConstants {
            // number of user profile (RESERVED: from 1-10 for SIP profile)
            const integer c_userProfile_UE1atSUThome := 11; // location is SUT domain
            const integer c_userProfile_UE2atSUThome := 12; // location is SUT domain
            const integer c_userProfile_UE3atSUThome := 13; // location is SUT domain
            const integer c_userProfile_UE4atSUThome := 14; // location is SUT domain
            const integer c_userProfile_UE1atSUTvisiting := 21; // location is SUT domain
            const integer c_userProfile_IBCFwithUnknownUE := 28; // location is IMS1 domain
            const integer c_userProfile_IBCFwithHomeUE := 29; // location is IMS1 domain
            const integer c_userProfile_IBCFwithVisitingUE := 31; // location is IMS1 domain
            const integer c_userProfile_PCSCFwithHomeUE := 41; // location is IMS1 domain
            const integer c_userProfile_PCSCFwithVisitingUE := 42; // location is IMS1 domain
            const integer c_userProfile_PCSCFwithVisitingUE2 := 43; // location is IMS1 domain
            const integer c_userProfile_PCSCFwithUnknownVisitingUE := 44; // location is IMS1 domain
            const integer c_userProfile_ICSCFwithHomeUE := 45; // location is IMS1 domain
            const integer c_userProfile_SCSCFwithHomeUE := 46; // location is IMS1 domain
            const integer c_userProfile_SCSCFwithHomeUE_domain := 55;
            const integer c_userProfile_ECSCFwithHomeUE := 47; // location is IMS1 domain
            const integer c_userProfile_ISUP := 49;
            const integer c_userProfile_AS1 := 51; // Isc userProfile at AS1
            const integer c_userProfile_AS2 := 52; // Isc userProfile at AS2
            // number of interface profile
            const integer c_interfaceProfile_IMS_SUT_IBCF1 := 100; // Ic interface at IBCF1 located in SUT
            const integer c_interfaceProfile_IMS_SUT_IBCF2 := 101; // Ic interface at IBCF2 located in SUT
            const integer c_interfaceProfile_IMS_SUT_PCSCF1 := 110; // Gm interface towards UE1 located in SUT
            const integer c_interfaceProfile_IMS_SUT_PCSCF2 := 111; // Gm interface towards UE2 located in SUT
            const integer c_interfaceProfile_IMS_SUT_PCSCF := 112; // Mw interface at P-CSCF located in SUT
            const integer c_interfaceProfile_IMS_SUT_SCSCF := 113; // Mw interface at S-CSCF located in SUT
            const integer c_interfaceProfile_IMS_SUT_ICSCF := 114; // Mw interface at I-CSCF located in SUT
            const integer c_interfaceProfile_IMS_SUT_MGCF := 115; // Mw interface at MGCF located in SUT
            const integer c_interfaceProfile_IMS_SUT_AS := 116; // Isc interface at AS located in SUT
            const integer c_interfaceProfile_IMS_SUT_ECSCF := 117; // Mw interface at E-CSCF located in SUT
            // number of conference profile
            const integer c_conferenceProfile_factoryURI := 800; // confernece factory URI
            //NOTE STF471 added
            const integer c_conferenceProfile_predefinedURI := 801; // confernece factory URI
            // number of service profile
            const integer c_serviceProfile_EMERGENCY := 911;
            const integer c_serviceProfile_EMERGENCY_INVALID := 912;

            // number of SIPURL identifiers
            const integer c_interfaceSIPURL_IMS_SUT_PCSCF1_domain := 1101;
            const integer c_interfaceSIPURL_IMS_SUT_PCSCF1_ip := 1102;
            
        } // end group UserProfileConstants



    } // end group Constants



    group otherTypes {
    group otherTypes {
        type record ImsInterfaceProfile {
        type record ImsInterfaceProfile {
+93 −102

File changed.

Preview size limit exceeded, changes collapsed.

+51 −51
Original line number Original line Diff line number Diff line
@@ -9,7 +9,6 @@ module LibIms_Templates {


    // LibSip
    // LibSip
    import from LibSip_SIPTypesAndValues all;
    import from LibSip_SIPTypesAndValues all;
    import from LibSip_SDPTypes all;
    import from LibSip_Templates all;
    import from LibSip_Templates all;
    import from LibSip_Steps all;
    import from LibSip_Steps all;
    import from LibSip_PIXITS all;
    import from LibSip_PIXITS all;
@@ -101,7 +100,7 @@ module LibIms_Templates {
        }
        }
    }
    }


    group Subfields {
    group subfields {


        template(value) SipUrl m_SipUrl_currIpaddr_CSCF(
        template(value) SipUrl m_SipUrl_currIpaddr_CSCF(
            template(value) SipUserProfile p_userprofile
            template(value) SipUserProfile p_userprofile
@@ -175,7 +174,7 @@ module LibIms_Templates {
        }
        }
    }
    }


    group HeaderFieldTemplates {
    group headerFieldTemplates {


        template(value) MinSE m_minSE(
        template(value) MinSE m_minSE(
            template(value) DeltaSec p_ds
            template(value) DeltaSec p_ds
@@ -721,11 +720,11 @@ module LibIms_Templates {
        }
        }




    } // end group HeaderFieldTemplates
    } // end group headerFieldTemplates


    group MessageBodyTemplates {
    group messageBodyTemplates {


        group XMLTemplates {
        group xmlTemplates {


            template(value) XmlBody m_XmlBody_ConfInfo(
            template(value) XmlBody m_XmlBody_ConfInfo(
                template(value) Conference_type p_confInfo
                template(value) Conference_type p_confInfo
@@ -871,9 +870,9 @@ module LibIms_Templates {
            }
            }




        } // end group XMLTemplates
        } // end group xmlTemplates


        group ACR_CBTemplates {
        group acrCbTemplates {


            template(value) Incoming_communication_barring m_ICB(
            template(value) Incoming_communication_barring m_ICB(
                template(value) RuleType p_ruleType
                template(value) RuleType p_ruleType
@@ -928,9 +927,9 @@ module LibIms_Templates {
            }
            }




        } // end group ACR_CBTemplates
        } // end group acr_cbTemplates


        group CUGTemplates {
        group cugTemplates {


            template(value) Cug m_CUG(
            template(value) Cug m_CUG(
                template(omit) CugRequestType p_crt := omit,
                template(omit) CugRequestType p_crt := omit,
@@ -976,9 +975,9 @@ module LibIms_Templates {
                cugIndex := p_cugIndex
                cugIndex := p_cugIndex
            }
            }


        } // end group CUGTemplates
        } // end group cugTemplates


        group CWTemplates {
        group cwTemplates {


            template(value) Ims_cw m_CW(
            template(value) Ims_cw m_CW(
                template(value) TEmptyType p_cwi
                template(value) TEmptyType p_cwi
@@ -996,9 +995,9 @@ module LibIms_Templates {
                elem_list := ?
                elem_list := ?
            }
            }


        } // end group CWTemplates
        } // end group cwTemplates


        group MCIDTemplates {
        group mcidTemplates {


            template(value) Mcid m_mcid_request_mcidIndicatorTrue := {
            template(value) Mcid m_mcid_request_mcidIndicatorTrue := {
                choice := {
                choice := {
@@ -1063,9 +1062,9 @@ module LibIms_Templates {
                }
                }
            }
            }


        } // end group MCIDTemplates
        } // end group mcidTemplates


        group PSTNTemplates {
        group pstnTemplates {


            template(value) PSTN_transit m_PSTN_transit_BC1(
            template(value) PSTN_transit m_PSTN_transit_BC1(
                template(value) BearerCapabilityType p_bct
                template(value) BearerCapabilityType p_bct
@@ -1316,9 +1315,9 @@ module LibIms_Templates {
                hLOctet4Audio := *
                hLOctet4Audio := *
            }
            }


        } // end group PSTNTemplates
        } // end group pstnTemplates


        group CDIVNTemplates {
        group cdivnTemplates {


            /* general CDIVN subscription */
            /* general CDIVN subscription */
            template(value) Comm_div_info_type m_CDIVN_sub := {
            template(value) Comm_div_info_type m_CDIVN_sub := {
@@ -1342,9 +1341,9 @@ module LibIms_Templates {
                elem_list := {}
                elem_list := {}
            }
            }


        } // end grouup CDIVNTemplates
        } // end group cdivnTemplates


        group ResourceListsTemplates {
        group resourceListsTemplates {


            template(value) Resource_lists m_ResourceList_2Users(
            template(value) Resource_lists m_ResourceList_2Users(
                template(value) EntryType p_user1,
                template(value) EntryType p_user1,
@@ -1386,9 +1385,9 @@ module LibIms_Templates {
                elem_list := {}
                elem_list := {}
            }
            }


        } // end grouup ResourceListsTemplates
        } // end group resourceListsTemplates


        group Ims3gppTemplates {
        group ims3gppTemplates {


            template(present) TIMS3GPP mw_Ims_3gpp_CW := {
            template(present) TIMS3GPP mw_Ims_3gpp_CW := {
                version := 1.0,
                version := 1.0,
@@ -1404,9 +1403,9 @@ module LibIms_Templates {
                elem_list := ?
                elem_list := ?
            }
            }


        } // end group Ims3gpp
        } // end group ims3gppTemplates


        group CONFTemplates {
        group confTemplates {


            template(value) XSD.Boolean boolXSD_true := true;
            template(value) XSD.Boolean boolXSD_true := true;
            
            
@@ -1440,7 +1439,7 @@ module LibIms_Templates {
                status := p_epStatus,
                status := p_epStatus,
                joining_method := p_joinMethod,
                joining_method := p_joinMethod,
                joining_info := omit,
                joining_info := omit,
                disconnection_method := omit,
                disconnection_method := p_discMethod,
                disconnection_info := omit,
                disconnection_info := omit,
                media_list := {p_mediastatus},  // optional,
                media_list := {p_mediastatus},  // optional,
                call_info := omit,
                call_info := omit,
@@ -1558,13 +1557,13 @@ module LibIms_Templates {
            }
            }
        }
        }


    } // end group MessageBodyTemplates
    } // end group messageBodyTemplates


    group MessageTemplates {
    group messageTemplates {


        group modified_templates {
        group modifiedTemplates {


            group request_send {
            group requestSend {


                template(value) ACK_Request m_ACK_Request_IMS(
                template(value) ACK_Request m_ACK_Request_IMS(
                    template(value) SipUrl p_requestUri,
                    template(value) SipUrl p_requestUri,
@@ -1650,7 +1649,7 @@ module LibIms_Templates {
                        route := p_route,
                        route := p_route,
                        recordRoute := p_recordRoute // used in case of AS as TS - for ISC interface
                        recordRoute := p_recordRoute // used in case of AS as TS - for ISC interface
                    }
                    }
                } // End of temlate m_BYE_Request_IMS
                } // end of temlate m_BYE_Request_IMS


                template(value) BYE_Request m_BYE_Request_Reason_IMS(
                template(value) BYE_Request m_BYE_Request_Reason_IMS(
                    template(value) SipUrl p_requestUri,
                    template(value) SipUrl p_requestUri,
@@ -2922,9 +2921,9 @@ module LibIms_Templates {
                    }
                    }
                }
                }


            } // end group request_send
            } // end group requestSend


            group request_receive {
            group requestReceive {


                template(present) ACK_Request mw_ACK_Request_noPaccessNetworkInfo(
                template(present) ACK_Request mw_ACK_Request_noPaccessNetworkInfo(
                    template CallId p_callId
                    template CallId p_callId
@@ -3428,6 +3427,7 @@ module LibIms_Templates {
                        toField := p_to,
                        toField := p_to,
                        event := m_Event_reg,
                        event := m_Event_reg,
                        pAccessNetworkInfo := *,
                        pAccessNetworkInfo := *,
                        pAssertedID := p_pAssertedID,
                        pChargingVector := p_pChargingVector
                        pChargingVector := p_pChargingVector
                    }
                    }
                }
                }
@@ -3442,11 +3442,11 @@ module LibIms_Templates {
                    }
                    }
                }
                }


            } // end group request_receive
            } // end group requestReceive


            group response_send {
            group responseSend {
                
                
                group response_1xx {
                group responseSend1xx {


                    // Status-Line [7.2 ]
                    // Status-Line [7.2 ]
                    type record StatusLine_18x {
                    type record StatusLine_18x {
@@ -3775,9 +3775,9 @@ module LibIms_Templates {
                        }
                        }
                    }
                    }


                } // end group response1xx
                } // end group responseSend1xx


                group response_2xx {
                group responseSend2xx {


                    // Status-Line [7.2 ]
                    // Status-Line [7.2 ]
                    type record StatusLine_2xx {
                    type record StatusLine_2xx {
@@ -4198,9 +4198,9 @@ module LibIms_Templates {
                        messageBody := p_mb
                        messageBody := p_mb
                    }
                    }


                } // end group response_2xx
                } // end group responseSend2xx


                group response_3xx {
                group responseSend3xx {


                    // Status-Line [7.2 ]
                    // Status-Line [7.2 ]
                    type record StatusLine_3xx {
                    type record StatusLine_3xx {
@@ -4244,9 +4244,9 @@ module LibIms_Templates {
                        }
                        }
                    }
                    }


                } // end group response_3xx
                } // end group responseSend3xx


                group response_4xx {
                group responseSend4xx {


                    // Status-Line [7.2 ]
                    // Status-Line [7.2 ]
                    type record StatusLine_4xx {
                    type record StatusLine_4xx {
@@ -4304,7 +4304,7 @@ module LibIms_Templates {
                        }
                        }
                    }
                    }


                } // end group response_4xx
                } // end group responseSend4xx


                template(value) Response m_Response_onCANCEL(
                template(value) Response m_Response_onCANCEL(
                    template(value) StatusLine p_statusLine,
                    template(value) StatusLine p_statusLine,
@@ -4373,11 +4373,11 @@ module LibIms_Templates {
                    }
                    }
                }
                }


            } // end group response_send
            } // end group responseSend


            group response_receive {
            group responseReceive {
                
                
                group response_2xx {
                group responseReceive2xx {


                    // NOTE STF471: removed statusline parameter as it is fixed 200 status code
                    // NOTE STF471: removed statusline parameter as it is fixed 200 status code
                    template(present) Response mw_Response_200onINVITE_noPChargingVector_UE(
                    template(present) Response mw_Response_200onINVITE_noPChargingVector_UE(
@@ -4494,9 +4494,9 @@ module LibIms_Templates {
                        }
                        }
                    }
                    }


                } // end group response_2xx
                } // end group responseReceive2xx


                group response_4xx {
                group responseReceive4xx {


                    // NOTE STF471: removed statusline parameter as it is a fixed 401 status code
                    // NOTE STF471: removed statusline parameter as it is a fixed 401 status code
                    template(present) Response mw_Response_401onREGISTER_securityServer_UE(
                    template(present) Response mw_Response_401onREGISTER_securityServer_UE(
@@ -4530,7 +4530,7 @@ module LibIms_Templates {
                        }
                        }
                    }
                    }


                } // end group response_4xx
                } // end group responseReceive4xx


                // NOTE STF471: changed statusline parameter to statusCode parameter
                // NOTE STF471: changed statusline parameter to statusCode parameter
                template(present) Response mw_Response_SecServer_WWWAuth_UE(
                template(present) Response mw_Response_SecServer_WWWAuth_UE(
@@ -4631,10 +4631,10 @@ module LibIms_Templates {
                    }
                    }
                }
                }


            } // end response_receive
            } // end group responseReceive


        } // end modified_templates
        } // end group modifiedTemplates


    } // end Message_templates
    } // end group messageTemplates
    
    
} // end module LibIms_Templates
} // end module LibIms_Templates
 No newline at end of file