Commit f52bfe4c authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix issue for PDU session establishment reject

parent 27f5c8a3
...@@ -636,8 +636,6 @@ void smf_app::handle_pdu_session_create_sm_context_request( ...@@ -636,8 +636,6 @@ void smf_app::handle_pdu_session_create_sm_context_request(
PDU_SESSION_TYPE_E_IPV4}; PDU_SESSION_TYPE_E_IPV4};
// Step 1. Decode NAS and get the necessary information // Step 1. Decode NAS and get the necessary information
// std::string n1_sm_msg = smreq->req.get_n1_sm_message();
int decoder_rc = smf_n1::get_instance().decode_n1_sm_container( int decoder_rc = smf_n1::get_instance().decode_n1_sm_container(
decoded_nas_msg, smreq->req.get_n1_sm_message()); decoded_nas_msg, smreq->req.get_n1_sm_message());
......
...@@ -368,7 +368,8 @@ void session_create_sm_context_procedure::handle_itti_msg( ...@@ -368,7 +368,8 @@ void session_create_sm_context_procedure::handle_itti_msg(
std::string n2_sm_info, n2_sm_info_hex; std::string n2_sm_info, n2_sm_info_hex;
if (n11_triggered_pending->res.get_cause() != if (n11_triggered_pending->res.get_cause() !=
REQUEST_ACCEPTED) { // PDU Session Establishment Reject static_cast<uint8_t>(cause_value_5gsm_e::CAUSE_255_REQUEST_ACCEPTED)) {
// PDU Session Establishment Reject
Logger::smf_app().debug( Logger::smf_app().debug(
"Prepare a PDU Session Establishment Reject message and send to UE"); "Prepare a PDU Session Establishment Reject message and send to UE");
cause_n1 = cause_value_5gsm_e::CAUSE_38_NETWORK_FAILURE; cause_n1 = cause_value_5gsm_e::CAUSE_38_NETWORK_FAILURE;
......
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