Logger::smf_n11().debug("Add N2 SM Information (NGAP) into the message: %s (bytes %d)",context_res_msg.get_n2_sm_information().c_str(),context_res_msg.get_n2_sm_information().length()/2);
Logger::smf_app().debug("\nPrepare a PDU Session Establishment Accept message and send to UE\n");
Logger::smf_app().debug("Prepare a PDU Session Establishment Accept message and send to UE\n");
smf_n1_n2_inst.create_n1_sm_container(n11_triggered_pending->res,PDU_SESSION_ESTABLISHMENT_ACCEPT,n1_sm_msg,cause_value_5gsm_e::CAUSE_0_UNKNOWN);//TODO: need cause?
//n11_triggered_pending->res.n1n2_message_transfer_data["n2InfoContainer"]["smInfo"]["nasPDU"] = ;//TODO: Doesn't exist in the spec (maybe N1MessageContainer in Spec!!), but exist in the tester!!
/* If the PDU Session establishment is not successful, the SMF informs the AMF by invoking Nsmf_PDUSession_SMContextStatusNotify (Release). The SMF also releases any N4
session(s) created, any PDU Session address if allocated (e.g. IP address) and releases the association with PCF,
if any. In this case, step 19 is skipped.
session(s) created, any PDU Session address if allocated (e.g. IP address) and releases the association with PCF, if any.