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
b9aaf768
Commit
b9aaf768
authored
Sep 07, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add info for UE Reachability Report
parent
e0ccb169
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+6
-0
src/amf-app/amf_n11.cpp
src/amf-app/amf_n11.cpp
+4
-0
No files found.
src/amf-app/amf_n1.cpp
View file @
b9aaf768
...
...
@@ -2837,6 +2837,12 @@ void amf_n1::handle_ue_reachability_status_change(
ev_notif
.
set_notify_correlation_id
(
i
.
get
()
->
notify_correlation_id
);
// ev_notif.set_subs_change_notify_correlation_id(i.get()->notify_uri);
amf_event_report_t
report
=
{};
// TODO
report
.
m_type
=
REACHABILITY_REPORT
;
report
.
m_reachability_is_set
=
true
;
report
.
m_reachability
=
REACHABLE
;
// TODO
report
.
m_supi_is_set
=
true
;
report
.
m_supi
=
supi
;
ev_notif
.
add_report
(
report
);
itti_msg
->
event_notifs
.
push_back
(
ev_notif
);
}
...
...
src/amf-app/amf_n11.cpp
View file @
b9aaf768
...
...
@@ -474,6 +474,10 @@ void amf_n11::handle_itti_message(itti_sbi_notify_subscribed_event& itti_msg) {
if
(
r
.
m_supi_is_set
)
{
report
[
"supi"
]
=
r
.
m_supi
;
// TODO
}
if
(
r
.
m_reachability_is_set
)
{
report
[
"reachability"
]
=
r
.
m_reachability
;
}
// timestamp
std
::
time_t
time_epoch_ntp
=
std
::
time
(
nullptr
);
uint64_t
tv_ntp
=
time_epoch_ntp
+
SECONDS_SINCE_FIRST_EPOCH
;
...
...
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