Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
f52bfe4c
Commit
f52bfe4c
authored
Feb 05, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for PDU session establishment reject
parent
27f5c8a3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
src/smf_app/smf_app.cpp
src/smf_app/smf_app.cpp
+0
-2
src/smf_app/smf_procedure.cpp
src/smf_app/smf_procedure.cpp
+2
-1
No files found.
src/smf_app/smf_app.cpp
View file @
f52bfe4c
...
@@ -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
());
...
...
src/smf_app/smf_procedure.cpp
View file @
f52bfe4c
...
@@ -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
;
...
...
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