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
79a8647d
Commit
79a8647d
authored
Apr 30, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for SUPi/IMSI
parent
3f4f6bab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+5
-4
No files found.
src/amf-app/amf_n1.cpp
View file @
79a8647d
...
@@ -558,7 +558,7 @@ void amf_n1::identity_response_handle(
...
@@ -558,7 +558,7 @@ void amf_n1::identity_response_handle(
if
(
ir
->
ie_mobility_id
)
{
if
(
ir
->
ie_mobility_id
)
{
nas
::
SUCI_imsi_t
imsi
;
nas
::
SUCI_imsi_t
imsi
;
ir
->
ie_mobility_id
->
getSuciWithSupiImsi
(
imsi
);
ir
->
ie_mobility_id
->
getSuciWithSupiImsi
(
imsi
);
supi
=
"imsi-"
+
imsi
.
mcc
+
imsi
.
mnc
+
imsi
.
msin
;
supi
=
imsi
.
mcc
+
imsi
.
mnc
+
imsi
.
msin
;
Logger
::
amf_n1
().
debug
(
"identity response : suci (%s)"
,
supi
.
c_str
());
Logger
::
amf_n1
().
debug
(
"identity response : suci (%s)"
,
supi
.
c_str
());
}
}
...
@@ -570,10 +570,11 @@ void amf_n1::identity_response_handle(
...
@@ -570,10 +570,11 @@ void amf_n1::identity_response_handle(
uc
=
amf_app_inst
->
ran_amf_id_2_ue_context
(
ue_context_key
);
uc
=
amf_app_inst
->
ran_amf_id_2_ue_context
(
ue_context_key
);
// Update UE context
// Update UE context
if
(
uc
.
get
()
!=
nullptr
)
{
if
(
uc
.
get
()
!=
nullptr
)
{
uc
.
get
()
->
supi
=
supi
;
uc
.
get
()
->
supi
=
"imsi-"
+
supi
;
// associate SUPI with UC
// associate SUPI with UC
amf_app_inst
->
set_supi_2_ue_context
(
supi
,
uc
);
amf_app_inst
->
set_supi_2_ue_context
(
uc
.
get
()
->
supi
,
uc
);
Logger
::
amf_n1
().
debug
(
"Update UC context, SUPI %s"
,
supi
.
c_str
());
Logger
::
amf_n1
().
debug
(
"Update UC context, SUPI %s"
,
uc
.
get
()
->
supi
.
c_str
());
}
}
}
}
...
...
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