}// End of function f_mtc_check_TP_MW_ICSCF_ECO_REGISTER_04
/**
* @desc Verify that the I-CSCF processes an invalid first registration without SecurityClient header in visited network(GIBA supported) and sends 420 response (Unsuccessful).
* Initial conditions with {
* the UE_A entity isEmergencyAttachedTo the EPC_A and
* the UE_A entity isNotRegisteredTo the IMS_B
* }
*
* Expected behaviour
* ensure that {
* when {
* the IMS_I_CSCF_A entity receives a REGISTER containing
* From indicating value PX_UE_A_SIP_URI,
* To indicating value PX_UE_A_SIP_URI,
* CallId indicating value PX_UE_A_CALLID,
* Via indicating value PX_UE_A_VIA,
* Authorization indicating value "invalid credentials";
* from the IMS_P_CSCF_A entity
* }
* then {
* the IMS_I_CSCF_A entity sends an 420_BadExtension containing
* From indicating value PX_UE_A_SIP_URI,
* To indicating value PX_UE_A_SIP_URI,
* CallId indicating value PX_UE_A_CALLID
* ;
* to the IMS_P_CSCF_A entity
* }
* }
*/
functionf_mtc_check_TP_MW_ICSCF_ECO_REGISTER_05(
inSipInterfaceMonitorp_monitorCompRef,
inbooleanp_checkMessage:=true
)runsonImsTestCoordinator{
if(isvalue(p_monitorCompRef)){
varImsUserInfov_userInfoA:=f_getSipUserId(PX_EUT_A_EMERGENCY);// User removed from HSS