Commit 6b5e7d46 authored by Stefan Spettel's avatar Stefan Spettel

refact(smf): Send PDU session establishment reject as response to request if applicable

Signed-off-by: default avatarStefan Spettel <stefan.spettel@phine.tech>
parent d0ddfa2d
This diff is collapsed.
...@@ -1359,6 +1359,19 @@ class smf_context : public std::enable_shared_from_this<smf_context> { ...@@ -1359,6 +1359,19 @@ class smf_context : public std::enable_shared_from_this<smf_context> {
const ng_ran_target_id_t& ran_target_id, const ng_ran_target_id_t& ran_target_id,
const pdu_session_id_t& pdu_session_id) const; const pdu_session_id_t& pdu_session_id) const;
/**
* Send a PDU Session Establishment response with a reject
* @param smreq Original request
* @param cause NAS cause value for PDU session establishment reject
* @param application_error PDU session establishment application error
* @param http_status
*/
void send_pdu_session_establishment_response_reject(
const std::shared_ptr<itti_n11_create_sm_context_request> smreq,
cause_value_5gsm_e cause,
pdu_session_application_error_e application_error,
http_status_code_e http_status);
/** /**
* Send a PDU session Create Response, based on the content of resp. * Send a PDU session Create Response, based on the content of resp.
* @param resp * @param resp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment