[AMF] Add NGAP ErrorIndication [#910]

1. UE sends PDU session establishment request to the AMF.
2. AMF initiates Release Due to Duplicate Session ID.
3. SMF cannot find the session by SM-Context-Ref.

For the above condition, AMF sends NGAP ErrorIndication to the UE.
This commit is contained in:
Sukchan Lee 2021-04-09 21:02:03 +09:00
parent 745ea41096
commit 905fc76faf
1 changed files with 0 additions and 2 deletions

View File

@ -602,10 +602,8 @@ int amf_nsmf_pdusession_handle_update_sm_context(
ogs_error("[%d:%d] HTTP response error [%d]",
sess->psi, sess->pti, recvmsg->res_status);
#if 0 /* Is it needed */
ngap_send_error_indication2(amf_ue,
NGAP_Cause_PR_protocol, NGAP_CauseProtocol_semantic_error);
#endif
return OGS_ERROR;
}