Commit 330d5ce5 authored by Hung Nguyen's avatar Hung Nguyen

[feature] update the way to get scid

parent bda05ffa
...@@ -1136,7 +1136,11 @@ void session_update_sm_context_procedure::handle_itti_msg( ...@@ -1136,7 +1136,11 @@ void session_update_sm_context_procedure::handle_itti_msg(
// set UpCnxState to ACTIVATED // set UpCnxState to ACTIVATED
sps->set_upCnx_state(upCnx_state_e::UPCNX_STATE_ACTIVATED); sps->set_upCnx_state(upCnx_state_e::UPCNX_STATE_ACTIVATED);
// Trigger Event_exposure event // Trigger Event_exposure event
scid_t scid = sc.get()->get_scid(); std::string str_scid = n11_trigger.get()->scid;
//TODO: validate the str_scid
//
scid_t scid = (scid_t) std::stoul (str_scid,nullptr,0);
sc.get()->trigger_ue_ip_change(scid, 1); sc.get()->trigger_ue_ip_change(scid, 1);
sc.get()->trigger_plmn_change(scid, 1); sc.get()->trigger_plmn_change(scid, 1);
sc.get()->trigger_ddds(scid, 1); sc.get()->trigger_ddds(scid, 1);
......
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