@@ -1301,15 +1497,19 @@ void amf_n1::security_mode_complete_handle(uint32_t ran_ue_ngap_id, long amf_ue_
}
if(!uc.get()->isUeContextRequest){
Logger::amf_n1().debug("UE Context is not requested, UE with ran_ue_ngap_id %d, amf_ue_ngap_id %d attached",ran_ue_ngap_id,amf_ue_ngap_id);
Logger::amf_n1().debug(
"UE Context is not requested, UE with ran_ue_ngap_id %d, amf_ue_ngap_id %d attached",
ran_ue_ngap_id,amf_ue_ngap_id);
//send registration accept back
}else{
//encoding InitialContextSetupRequest(NGAP message) back
std::shared_ptr<nas_context>nc;
nc=amf_ue_id_2_nas_context(amf_ue_ngap_id);
Logger::amf_n1().info("UE (IMSI %s, GUTI %s, current RAN ID %d, current AMF ID %d) has been registered to the network",nc.get()->imsi.c_str(),guti.c_str(),ran_ue_ngap_id,amf_ue_ngap_id);
Logger::amf_n1().info(
"UE (IMSI %s, GUTI %s, current RAN ID %d, current AMF ID %d) has been registered to the network",