Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
7ee201a7
Commit
7ee201a7
authored
Jan 25, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for PDU Session release without context/process Service Request in UL Nas msg
parent
74b48ea3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+13
-3
No files found.
src/amf-app/amf_n1.cpp
View file @
7ee201a7
...
...
@@ -661,8 +661,18 @@ void amf_n1::uplink_nas_msg_handle(
"Received Registration Complete message, handling..."
);
registration_complete_handle
(
ran_ue_ngap_id
,
amf_ue_ngap_id
,
plain_msg
);
}
break
;
case
SERVICE_REQUEST
:
{
Logger
::
amf_n1
().
debug
(
"Received Service Request message, handling..."
);
std
::
shared_ptr
<
nas_context
>
nc
=
{};
if
(
is_amf_ue_id_2_nas_context
(
amf_ue_ngap_id
,
nc
))
{
service_request_handle
(
nc
,
ran_ue_ngap_id
,
amf_ue_ngap_id
,
plain_msg
);
}
else
{
Logger
::
amf_n1
().
debug
(
"No NAS context available"
);
}
}
break
;
default:
{
Logger
::
amf_n1
().
debug
(
"Received Unknown message type, ignoring..."
);
Logger
::
amf_n1
().
debug
(
"Received Unknown message type 0x%x, ignoring..."
,
message_type
);
}
}
}
...
...
@@ -731,9 +741,9 @@ void amf_n1::identity_response_handle(
uc
->
supi
=
"imsi-"
+
supi
;
// associate SUPI with UC
// Verify if there's PDU session info in the old context
if
(
amf_app_inst
->
is_supi_2_ue_context
(
supi
))
{
if
(
amf_app_inst
->
is_supi_2_ue_context
(
uc
->
supi
))
{
std
::
shared_ptr
<
ue_context
>
old_uc
=
{};
old_uc
=
amf_app_inst
->
supi_2_ue_context
(
supi
);
old_uc
=
amf_app_inst
->
supi_2_ue_context
(
uc
->
supi
);
uc
->
copy_pdu_sessions
(
old_uc
);
}
amf_app_inst
->
set_supi_2_ue_context
(
uc
->
supi
,
uc
);
...
...
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