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
e8a591e9
Commit
e8a591e9
authored
Oct 16, 2020
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buxfix to test pdu session release notification
parent
921a0a21
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/smf_app/smf_event.cpp
src/smf_app/smf_event.cpp
+4
-3
src/smf_app/smf_event.hpp
src/smf_app/smf_event.hpp
+4
-0
src/smf_app/smf_n11.cpp
src/smf_app/smf_n11.cpp
+1
-0
No files found.
src/smf_app/smf_event.cpp
View file @
e8a591e9
...
...
@@ -39,15 +39,16 @@ extern smf::smf_app *smf_app_inst;
extern
itti_mw
*
itti_inst
;
smf_event
::
smf_event
()
{
//bind signal to slot type
bind
();
}
//------------------------------------------------------------------------------
void
smf_event
::
bind
()
{
//by default, subscribe to the events
s
mf_event_inst
->
s
ubscribe_sm_context_status_notification
(
subscribe_sm_context_status_notification
(
boost
::
bind
(
&
smf_event
::
send_sm_context_status_notification
,
this
,
_1
,
_1
,
_1
));
s
mf_event_inst
->
s
ubscribe_ee_pdu_session_release
(
subscribe_ee_pdu_session_release
(
boost
::
bind
(
&
smf_event
::
send_ee_pdu_session_release
,
this
,
_1
,
_1
,
_1
));
}
...
...
src/smf_app/smf_event.hpp
View file @
e8a591e9
...
...
@@ -54,6 +54,10 @@ class smf_event {
smf_event
(
smf_event
const
&
)
=
delete
;
void
operator
=
(
smf_event
const
&
)
=
delete
;
/*
* Bind the signals to corresponding slot for each event
* @return void
*/
void
bind
();
/*
...
...
src/smf_app/smf_n11.cpp
View file @
e8a591e9
...
...
@@ -450,6 +450,7 @@ void smf_n11::send_n1n2_message_transfer_request(
void
smf_n11
::
send_sm_context_status_notification
(
std
::
shared_ptr
<
itti_n11_notify_sm_context_status
>
sm_context_status
)
{
Logger
::
smf_n11
().
debug
(
"Send SM Context Status Notification to AMF(HTTP version %d)"
,
sm_context_status
->
http_version
);
Logger
::
smf_n11
().
debug
(
"AMF URI: %s"
,
sm_context_status
->
amf_status_uri
.
c_str
());
nlohmann
::
json
json_data
=
{
};
//Fill the json part
...
...
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