Commit e670bb9b authored by Yann Garcia's avatar Yann Garcia
Browse files

TTF T010 FSCOM week#31 session

parent bae5117d
Loading
Loading
Loading
Loading
+50 −27
Original line number Diff line number Diff line
@@ -323,8 +323,6 @@ module AtsImsIot_Emergency {
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_INI_01();

                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);

                        f_mtc_check_TP_GM_PCSCF_ECO_INVITE_02(vc_vxlte_monitor_components.gmA, -, v_sip); // INVITE Event 1
                        f_mtc_check_TP_GM_PCSCF_ECO_100Trying_01(vc_vxlte_monitor_components.gmA, -, v_sip);

@@ -647,7 +645,7 @@ module AtsImsIot_Emergency {
                                                              PX_DIAMETER_RX_INTERFACENAME,
                                                              PX_SIP_MW_PE_INTERFACENAME,
                                                              PX_SIP_MM_B_PSAP_INTERFACENAME, // E-CSCF -> PSAP
                                                              PX_SIP_ML_LRF_INTERFACENAME // E-CSCF -> LRF
                                                              PX_SIP_ML_E_LRF_INTERFACENAME // E-CSCF -> LRF
                                                              }))
                    {
                        var SipMessage v_sip;
@@ -759,6 +757,7 @@ module AtsImsIot_Emergency {
                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
                    var ImsUserInfo v_userInfoA := f_getImUser ( PX_EUT_A_EMERGENCY );
                    var ImsUserInfo v_infoPsap  := f_getImUser ( PX_PSAP );

                    f_setVxLteMonIterfacesAvailability();
                    //Check required monitor interfaces due to TD
@@ -897,7 +896,7 @@ module AtsImsIot_Emergency {
                                                              PX_SIP_MW_PE_INTERFACENAME,
                                                              PX_SIP_MW_EB_INTERFACENAME, // E-CSCF -> IBCF
                                                              PX_SIP_IC_INTERFACENAME, // IBCF -> IMS_B -> PSAP
                                                              PX_SIP_ML_LRF_INTERFACENAME // E-CSCF -> LRF: mlE_LRF
                                                              PX_SIP_ML_E_LRF_INTERFACENAME // E-CSCF -> LRF: mlE_LRF
                                                              }))
                    {
                        var SipMessage v_sip;
@@ -942,7 +941,7 @@ module AtsImsIot_Emergency {
                        f_mtc_check_TP_MW_IBCF_INVITE_01(vc_vxlte_monitor_components.mlE_LRF); // Event 11
                        f_mtc_check_TP_MX_LRF_3xxAny_01(vc_vxlte_monitor_components.mlE_LRF, -, v_sip); // Event 12

                        f_mtc_check_TP_MW_IBCF_INVITE_02(vc_vxlte_monitor_components.mwEB); // Event 13
                        f_mtc_check_TP_MW_IBCF_INVITE_02(vc_vxlte_monitor_components.mwEB, -, v_sip); // Event 13
                        f_mtc_check_TP_MW_IBSCF_100Trying_01(vc_vxlte_monitor_components.mwEB, -, v_sip);

                        f_mtc_check_TP_IC_IBCF_INVITE_01(vc_vxlte_monitor_components.ic, true); // INVITE Event 14
@@ -1022,6 +1021,7 @@ module AtsImsIot_Emergency {
                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
                    var ImsUserInfo v_userInfoA := f_getImUser ( PX_EUT_A_EMERGENCY );
                    var ImsUserInfo v_infoPsap  := f_getImUser ( PX_PSAP );

                    f_setVxLteMonIterfacesAvailability();
                    //Check required monitor interfaces due to TD
@@ -1151,7 +1151,7 @@ module AtsImsIot_Emergency {
                                                              PX_DIAMETER_RX_INTERFACENAME,
                                                              PX_SIP_MW_PE_INTERFACENAME,
                                                              PX_SIP_MW_EB_INTERFACENAME, // E-CSCF -> BGCF
                                                              PX_SIP_ML_LRF_INTERFACENAME // E-CSCF -> LRF: mlE_LRF
                                                              PX_SIP_ML_E_LRF_INTERFACENAME // E-CSCF -> LRF: mlE_LRF
                                                              }))
                    {
                        var SipMessage v_sip;
@@ -2483,8 +2483,8 @@ module AtsImsIot_Emergency {
                        f_mtc_check_TP_MW_PCSCF_ECO_ACK_01(vc_vxlte_monitor_components.mwPE, -, v_sip); // Event 30
                        f_mtc_check_TP_MM_ECSCF_ECO_ACK_01(vc_vxlte_monitor_components.mmB_PSAP, -, v_sip); // Event 31

                        f_mtc_userCheckCallTerminated(v_ueA); // Event 33
                        f_mtc_userCheckCallCancelled(v_psap); // Event 34
                        f_mtc_userCheckCallTerminated(v_ueA); // Event 36
                        f_mtc_userCheckCallCancelled(v_psap); // Event 37

                        // Postamble
                        f_PO_user_home_deregistration(v_ueA);
@@ -2576,7 +2576,7 @@ module AtsImsIot_Emergency {
                        f_mtc_check_TP_IC_IBCF_INVITE_01(vc_vxlte_monitor_components.ic); // INVITE Event 12 (NOTE: comment out if ISC simulated by Ic)

                        // 480 Temporary Unavailable
                        f_mtc_check_TP_IC_IBCF_480TEMPAV_01(vc_vxlte_monitor_components.ic); // INVITE Event 12 (NOTE: comment out if ISC simulated by Ic)
                        f_mtc_check_TP_IC_IBCF_480TEMPAV_01(vc_vxlte_monitor_components.ic, -, v_sip); // INVITE Event 12 (NOTE: comment out if ISC simulated by Ic)
                        f_mtc_check_TP_MW_PCSCF_ECO_480TEMPAV_01(vc_vxlte_monitor_components.mwPE, -, v_sip); // Event 23

                        f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx); // Event 24
@@ -2588,13 +2588,10 @@ module AtsImsIot_Emergency {

                        f_mtc_check_TP_GM_PCSCF_ECO_ACK_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 29
                        f_mtc_check_TP_MW_PCSCF_ECO_ACK_01(vc_vxlte_monitor_components.mwPE, -, v_sip); // Event 30
                        f_mtc_check_TP_IC_IBCF_ACK_01(vc_vxlte_monitor_components.mmB_PSAP, -, v_sip); // Event 31

                        f_mtc_check_TP_IC_IBCF_ACK_01(vc_vxlte_monitor_components.mmB_PSAP); // Event 31



                        f_mtc_userCheckCallTerminated(v_ueA); // Event 33
                        f_mtc_userCheckCallCancelled(v_psap); // Event 34
                        f_mtc_userCheckCallTerminated(v_ueA); // Event 36
                        f_mtc_userCheckCallCancelled(v_psap); // Event 37

                        // Postamble
                        f_PO_user_home_deregistration(v_ueA);
@@ -2666,7 +2663,40 @@ module AtsImsIot_Emergency {
                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);

                        // TODO
                        f_mtc_check_TP_GM_PCSCF_ECO_INVITE_02(vc_vxlte_monitor_components.gmA, -, v_sip); // INVITE Event 3
                        f_mtc_check_TP_GM_PCSCF_ECO_100Trying_01(vc_vxlte_monitor_components.gmA, -, v_sip);

                        //Rx/Gx exchange after INVITE (SDP) was received at P-CSCF
                        f_mtc_check_TP_RX_PCSCF_AAR_03(vc_vxlte_monitor_components.rx);// Event 4
                        f_mtc_check_TP_GX_PCRF_RAR_01(vc_vxlte_monitor_components.gx, true); // Event 5
                        f_mtc_check_TP_GX_PGW_RAA_02(vc_vxlte_monitor_components.gx);  // Event 6
                        f_mtc_check_TP_RX_PCRF_AAA_02(vc_vxlte_monitor_components.rx); // Event 7
                        f_mtc_check_TP_RX_PCSCF_RAA_01(vc_vxlte_monitor_components.rx);// Events 8,9
                        f_mtc_check_TP_GX_PCRF_CCA_01(vc_vxlte_monitor_components.gx); // Events 10,11

                        f_mtc_check_TP_MW_PCSCF_ECO_INVITE_02(vc_vxlte_monitor_components.mwPE, -, v_sip); // Event 12
                        f_mtc_check_TP_MW_PCSCF_ECO_100Trying_01(vc_vxlte_monitor_components.mwPE, -, v_sip);

                        f_mtc_check_TP_MI_BGCF_ECO_INVITE_01(vc_vxlte_monitor_components.mwEB, -, v_sip); // Event 19
                        f_mtc_check_TP_MI_BGCF_ECO_100Trying_01(vc_vxlte_monitor_components.mwEB, -, v_sip);
                        f_mtc_check_TP_MM_ECSCF_ECO_INVITE_01(vc_vxlte_monitor_components.mmB_PSAP, -, v_sip); // Event 20

                        // 480 Temporary Unavailable
                        f_mtc_check_TP_MM_ECSCF_ECO_480TEMPAV_01(vc_vxlte_monitor_components.mmB_PSAP, -, v_sip); // Event 21
                        f_mtc_check_TP_MI_BGCF_ECO_480TEMPAV_01(vc_vxlte_monitor_components.mwEB, -, v_sip); // Event 22
                        f_mtc_check_TP_MW_PCSCF_ECO_480TEMPAV_01(vc_vxlte_monitor_components.mwPE, -, v_sip); // Event 23

                        f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx); // Event 24
                        f_mtc_check_TP_GX_PCRF_RAR_01(vc_vxlte_monitor_components.gx, true); // Event 25
                        f_mtc_check_TP_GX_PGW_RAA_02(vc_vxlte_monitor_components.gx);  // Event 26
                        f_mtc_check_TP_RX_PCRF_STA_01(vc_vxlte_monitor_components.rx); // Event 27                        

                        f_mtc_check_TP_GM_PCSCF_480TEMPAV_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 28

                        f_mtc_check_TP_GM_PCSCF_ECO_ACK_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 29
                        f_mtc_check_TP_MW_PCSCF_ECO_ACK_01(vc_vxlte_monitor_components.mwPE, -, v_sip); // Event 30
                        f_mtc_check_TP_MI_BGCF_ECO_ACK_01(vc_vxlte_monitor_components.mwEB, -, v_sip); // Event 34                        
                        f_mtc_check_TP_MM_ECSCF_ECO_ACK_01(vc_vxlte_monitor_components.mmB_PSAP, -, v_sip); // ACK – Event 35

                        f_mtc_userCheckCallTerminated(v_ueA); // Event 33
                        f_mtc_userCheckCallCancelled(v_psap); // Event 34
@@ -2710,11 +2740,7 @@ module AtsImsIot_Emergency {
                    f_setVxLteMonIterfacesAvailability();
                    //Check required monitor interfaces due to TD
                    if (f_checkVxLteRequiredMonitorInterface({PX_SIP_GMA_INTERFACENAME,
                                                              PX_DIAMETER_GX_INTERFACENAME,
                                                              PX_DIAMETER_RX_INTERFACENAME,
                                                              PX_SIP_MW_PE_INTERFACENAME,
                                                              PX_SIP_MW_EB_INTERFACENAME, // E-CSCF -> IBCF
                                                              PX_SIP_MM_B_PSAP_INTERFACENAME // E-CSCCF -> PSAP
                                                              PX_DIAMETER_GX_INTERFACENAME
                                                              }))
                    {
                        var SipMessage v_sip;
@@ -2738,12 +2764,9 @@ module AtsImsIot_Emergency {
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1

                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);

                        // TODO

                        f_mtc_userCheckCallTerminated(v_ueA); // Event 33
                        f_mtc_userCheckCallCancelled(v_psap); // Event 34
                        f_mtc_check_TP_GM_PCSCF_ECO_INVITE_01(vc_vxlte_monitor_components.gmA, -, v_sip); // INVITE Event 1
                        f_mtc_check_TP_GM_PCSCF_480TEMPAV_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 2
                        f_mtc_check_TP_GM_PCSCF_ACK_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 3 

                        // Postamble
                        f_PO_user_home_deregistration(v_ueA);
+1 −1
Original line number Diff line number Diff line
@@ -4161,7 +4161,7 @@ module AtsImsIot_TP_behavior_GM {
                p_monitorCompRef.start(
                                       f_Iot_Sip_receive(
                                                         { 
                                                            mw_SipResponse(mw_480TemporaryUnavailable(-, v_sip.request.msgHeader.cSeq))
                                                            mw_SipResponse(mw_480TemporaryUnavailable(-, p_sip.request.msgHeader.cSeq))
                                                         },
                                                         { 
                                                             mw_SipResponse(mdw_4XX_Base)
+5 −5
Original line number Diff line number Diff line
@@ -1676,7 +1676,7 @@ module AtsImsIot_TP_behavior_IC
                p_monitorCompRef.start(
                                       f_Iot_Sip_receive(
                                                         { 
                                                            mw_SipResponse(mw_480TemporaryUnavailable(-, v_sip.request.msgHeader.cSeq))
                                                            mw_SipResponse(mw_480TemporaryUnavailable(-, p_sip.request.msgHeader.cSeq))
                                                         },
                                                         { 
                                                             mw_SipResponse(mdw_4XX_Base)
+1 −1
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ module AtsImsIot_TP_behavior_MM {
                p_monitorCompRef.start(
                                       f_Iot_Sip_receive(
                                                         { 
                                                            mw_SipResponse(mw_480TemporaryUnavailable(-, v_sip.request.msgHeader.cSeq))
                                                            mw_SipResponse(mw_480TemporaryUnavailable(-, p_sip.request.msgHeader.cSeq))
                                                         },
                                                         { 
                                                             mw_SipResponse(mdw_4XX_Base)
+4 −3
Original line number Diff line number Diff line
@@ -104,7 +104,8 @@ module AtsImsIot_TP_behavior_MW_EB {

        function f_mtc_check_TP_MW_IBCF_INVITE_02(
                                                  in SipInterfaceMonitor  p_monitorCompRef,
                                                    in boolean p_checkMessage := false
                                                  in boolean p_checkMessage := false,
                                                  in SipMessage p_sip
                                                  ) runs on ImsTestCoordinator  {
            if (isvalue(p_monitorCompRef)) {
                var charstring v_EUT_A_Addr := f_GetEUTScscfAddress_1();//f_GetEUTScscfAddress(PX_EUT_A);
Loading