Commit 4d752f46 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Merge branch 'fix_guti_issue_existing_nas' into 'develop'

Update NAS context with existing GUTI

See merge request oai/cn5g/oai-cn5g-amf!118
parents 7aa09c39 4d00584c
......@@ -379,6 +379,12 @@ void amf_n1::handle_itti_message(itti_uplink_nas_data_ind& nas_data_ind) {
// Update Nas Context
nc->amf_ue_ngap_id = nas_data_ind.amf_ue_ngap_id;
nc->ran_ue_ngap_id = nas_data_ind.ran_ue_ngap_id;
set_amf_ue_ngap_id_2_nas_context(amf_ue_ngap_id, nc);
set_supi_2_amf_id("imsi-" + nc.get()->imsi, amf_ue_ngap_id);
set_supi_2_ran_id("imsi-" + nc.get()->imsi, ran_ue_ngap_id);
set_imsi_2_nas_context("imsi-" + nc.get()->imsi, nc);
} else {
Logger::amf_n1().error(
"No existing nas_context with GUTI %s", nas_data_ind.guti.c_str());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment