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
03a2c428
Commit
03a2c428
authored
May 28, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue to trigger response process
parent
9fa47cd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+3
-3
src/smf_app/smf_procedure.cpp
src/smf_app/smf_procedure.cpp
+1
-1
No files found.
src/smf_app/smf_context.cpp
View file @
03a2c428
...
@@ -769,7 +769,7 @@ void smf_context::handle_itti_msg(
...
@@ -769,7 +769,7 @@ void smf_context::handle_itti_msg(
// std::string(inet_ntoa(
// std::string(inet_ntoa(
// *((struct in_addr*) &smf_cfg.amf_addr.ipv4_addr))) +
// *((struct in_addr*) &smf_cfg.amf_addr.ipv4_addr))) +
//":" + std::to_string(smf_cfg.amf_addr.port) +
//":" + std::to_string(smf_cfg.amf_addr.port) +
sp
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
"http://"
+
sp
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
smf_cfg
.
amf_addr
.
api_version
+
smf_cfg
.
amf_addr
.
api_version
+
fmt
::
format
(
fmt
::
format
(
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
...
@@ -1599,7 +1599,7 @@ void smf_context::handle_pdu_session_create_sm_context_request(
...
@@ -1599,7 +1599,7 @@ void smf_context::handle_pdu_session_create_sm_context_request(
supi_str
=
sm_context_resp_pending
->
res
.
get_supi_prefix
()
+
"-"
+
supi_str
=
sm_context_resp_pending
->
res
.
get_supi_prefix
()
+
"-"
+
smf_supi_to_string
(
supi
);
smf_supi_to_string
(
supi
);
std
::
string
url
=
std
::
string
url
=
sp
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
"http://"
+
sp
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
smf_cfg
.
amf_addr
.
api_version
+
smf_cfg
.
amf_addr
.
api_version
+
fmt
::
format
(
fmt
::
format
(
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
supi_str
.
c_str
());
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
supi_str
.
c_str
());
...
@@ -2795,7 +2795,7 @@ void smf_context::handle_pdu_session_modification_network_requested(
...
@@ -2795,7 +2795,7 @@ void smf_context::handle_pdu_session_modification_network_requested(
// std::string(inet_ntoa(*((struct in_addr*)
// std::string(inet_ntoa(*((struct in_addr*)
// &smf_cfg.amf_addr.ipv4_addr))) +
// &smf_cfg.amf_addr.ipv4_addr))) +
//":" + std::to_string(smf_cfg.amf_addr.port) + NAMF_COMMUNICATION_BASE +
//":" + std::to_string(smf_cfg.amf_addr.port) + NAMF_COMMUNICATION_BASE +
sp
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
"http://"
+
sp
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
smf_cfg
.
amf_addr
.
api_version
+
smf_cfg
.
amf_addr
.
api_version
+
fmt
::
format
(
fmt
::
format
(
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
supi_str
.
c_str
());
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
supi_str
.
c_str
());
...
...
src/smf_app/smf_procedure.cpp
View file @
03a2c428
...
@@ -444,7 +444,7 @@ void session_create_sm_context_procedure::handle_itti_msg(
...
@@ -444,7 +444,7 @@ void session_create_sm_context_procedure::handle_itti_msg(
// std::string(inet_ntoa(*((struct in_addr*)
// std::string(inet_ntoa(*((struct in_addr*)
// &smf_cfg.amf_addr.ipv4_addr))) +
// &smf_cfg.amf_addr.ipv4_addr))) +
//":" + std::to_string(smf_cfg.amf_addr.port) + NAMF_COMMUNICATION_BASE +
//":" + std::to_string(smf_cfg.amf_addr.port) + NAMF_COMMUNICATION_BASE +
sps
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
"http://"
+
sps
.
get
()
->
get_amf_addr
()
+
NAMF_COMMUNICATION_BASE
+
smf_cfg
.
amf_addr
.
api_version
+
smf_cfg
.
amf_addr
.
api_version
+
fmt
::
format
(
fmt
::
format
(
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
supi_str
.
c_str
());
NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL
,
supi_str
.
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