Starting to release GTP-U tunnels when UE disconnects.

master
Pedro Alvarez 7 years ago
parent 80780bfb2f
commit cb5e329c22

@ -968,6 +968,9 @@ s1ap::handle_ue_context_release_request(LIBLTE_S1AP_MESSAGE_UECONTEXTRELEASEREQU
} }
ue_set->second.erase(mme_ue_s1ap_id); ue_set->second.erase(mme_ue_s1ap_id);
//Delete any context at the SPGW
m_spgw->delete_session_request(ue_ctx->imsi);
//Delete UE context //Delete UE context
delete ue_ctx->second; delete ue_ctx->second;
m_active_ues.erase(ue_ctx); m_active_ues.erase(ue_ctx);

@ -471,6 +471,12 @@ spgw::handle_create_session_request(struct srslte::gtpc_create_session_request *
return; return;
} }
void
spgw::delete_session_request(uint64_t imsi)
{
}
void void
spgw::handle_modify_bearer_request(struct srslte::gtpc_pdu *mb_req_pdu, struct srslte::gtpc_pdu *mb_resp_pdu) spgw::handle_modify_bearer_request(struct srslte::gtpc_pdu *mb_req_pdu, struct srslte::gtpc_pdu *mb_resp_pdu)
{ {

Loading…
Cancel
Save