Commit 67635041 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Merge branch 'fix_pdu_reject_no_ips' into 'develop'

Send PDU Session Reject when PDU session fails before SMF procedure is started

See merge request oai/cn5g/oai-cn5g-smf!182
parents ee651a54 6b5e7d46
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