Loading DiameterGx/ttcn/DiameterGx_Steps.ttcn3 +23 −3 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ vc_destinationRealm := m_destinationRealm(PX_DestinationRealm); vc_hostIPAddress := valueof(f_IPV4or6_String2Address (PX_DIAMETER_GX_ETS_IPADDR)); vc_hostIPAddress.addressFamily := '0001'O; // NOTE:workaround: tobe considered vc_send_hopid:=hex2int('00000100'H); vc_send_endid:=hex2int('01000000'H); Loading Loading @@ -282,14 +283,33 @@ all timer.stop; //stop } [vc_ignore_CER_before_sync_establishement] DIAMP.receive (DIAMETER_MSG:{cER_MSG := mw_CER_dummy}) -> value vc_recvDiamMsgDefault { vc_ignore_CER_before_sync_establishement := false; repeat; }; [] DIAMP.receive (DIAMETER_MSG:{dWR_MSG := mw_DWR_dummy}) -> value vc_recvDiamMsgDefault { f_send_DWA(m_DWA_dummy); if (ispresent (vc_recvDiamMsgDefault.dWR_MSG.header.hopid)) { vc_recv_hopid := vc_recvDiamMsgDefault.dWR_MSG.header.hopid; } if (ispresent (vc_recvDiamMsgDefault.dWR_MSG.header.endid)) { vc_recv_endid := vc_recvDiamMsgDefault.dWR_MSG.header.endid; } f_send_DWA(m_DWA_basic(vc_originHost, vc_originRealm)); repeat; }; [] DIAMP.receive (DIAMETER_MSG:{cER_MSG := mw_CER_dummy}) -> value vc_recvDiamMsgDefault { f_send_CEA(m_CEA_dummy); if (ispresent (vc_recvDiamMsgDefault.cER_MSG.header.hopid)) { vc_recv_hopid := vc_recvDiamMsgDefault.cER_MSG.header.hopid; } if (ispresent (vc_recvDiamMsgDefault.cER_MSG.header.endid)) { vc_recv_endid := vc_recvDiamMsgDefault.cER_MSG.header.endid; } f_send_CEA(m_CEA_basic(vc_originHost, vc_originRealm, vc_hostIPAddress)); repeat; }; [] DIAMP.receive (DIAMETER_MSG:?) -> value vc_recvDiamMsgDefault Loading Loading
DiameterGx/ttcn/DiameterGx_Steps.ttcn3 +23 −3 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ vc_destinationRealm := m_destinationRealm(PX_DestinationRealm); vc_hostIPAddress := valueof(f_IPV4or6_String2Address (PX_DIAMETER_GX_ETS_IPADDR)); vc_hostIPAddress.addressFamily := '0001'O; // NOTE:workaround: tobe considered vc_send_hopid:=hex2int('00000100'H); vc_send_endid:=hex2int('01000000'H); Loading Loading @@ -282,14 +283,33 @@ all timer.stop; //stop } [vc_ignore_CER_before_sync_establishement] DIAMP.receive (DIAMETER_MSG:{cER_MSG := mw_CER_dummy}) -> value vc_recvDiamMsgDefault { vc_ignore_CER_before_sync_establishement := false; repeat; }; [] DIAMP.receive (DIAMETER_MSG:{dWR_MSG := mw_DWR_dummy}) -> value vc_recvDiamMsgDefault { f_send_DWA(m_DWA_dummy); if (ispresent (vc_recvDiamMsgDefault.dWR_MSG.header.hopid)) { vc_recv_hopid := vc_recvDiamMsgDefault.dWR_MSG.header.hopid; } if (ispresent (vc_recvDiamMsgDefault.dWR_MSG.header.endid)) { vc_recv_endid := vc_recvDiamMsgDefault.dWR_MSG.header.endid; } f_send_DWA(m_DWA_basic(vc_originHost, vc_originRealm)); repeat; }; [] DIAMP.receive (DIAMETER_MSG:{cER_MSG := mw_CER_dummy}) -> value vc_recvDiamMsgDefault { f_send_CEA(m_CEA_dummy); if (ispresent (vc_recvDiamMsgDefault.cER_MSG.header.hopid)) { vc_recv_hopid := vc_recvDiamMsgDefault.cER_MSG.header.hopid; } if (ispresent (vc_recvDiamMsgDefault.cER_MSG.header.endid)) { vc_recv_endid := vc_recvDiamMsgDefault.cER_MSG.header.endid; } f_send_CEA(m_CEA_basic(vc_originHost, vc_originRealm, vc_hostIPAddress)); repeat; }; [] DIAMP.receive (DIAMETER_MSG:?) -> value vc_recvDiamMsgDefault Loading