Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
f52bfe4c
Commit
f52bfe4c
authored
Feb 05, 2021
by
Tien-Thinh Nguyen
Browse files
Fix issue for PDU session establishment reject
parent
27f5c8a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/smf_app/smf_app.cpp
View file @
f52bfe4c
...
...
@@ -636,8 +636,6 @@ void smf_app::handle_pdu_session_create_sm_context_request(
PDU_SESSION_TYPE_E_IPV4
}
;
// 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
(
decoded_nas_msg
,
smreq
->
req
.
get_n1_sm_message
());
...
...
src/smf_app/smf_procedure.cpp
View file @
f52bfe4c
...
...
@@ -368,7 +368,8 @@ void session_create_sm_context_procedure::handle_itti_msg(
std
::
string
n2_sm_info
,
n2_sm_info_hex
;
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
(
"Prepare a PDU Session Establishment Reject message and send to UE"
);
cause_n1
=
cause_value_5gsm_e
::
CAUSE_38_NETWORK_FAILURE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment