diff --git a/ngap/handler.go b/ngap/handler.go index 96aefb49..9544dcd1 100644 --- a/ngap/handler.go +++ b/ngap/handler.go @@ -3801,6 +3801,19 @@ func HandleUplinkRanStatusTransfer(ran *context.AmfRan, message *ngapType.NGAPPD return } // send to T-AMF using N1N2MessageTransfer (R16) + + // Send Downlink RAN Status Transfer + targetUe := ranUe.TargetUe + if targetUe != nil { + logger.NgapLog.Debug("Target AMF UE NGAP Id: ", targetUe.AmfUeNgapId) + logger.NgapLog.Debug("Target RAN UE NGAP Id: ", targetUe.RanUeNgapId) + } + + if rANStatusTransferTransparentContainer != nil { + ngap_message.SendDownlinkRanStatusTransfer(targetUe, *rANStatusTransferTransparentContainer) + } else { + ran.Log.Error("Cannot send downlink RAN status transfer: rANStatusTransferTransparentContainer is nil") + } } func HandleNasNonDeliveryIndication(ran *context.AmfRan, message *ngapType.NGAPPDU) {