From a4a7d2e0ce18afbcabc859ab620b4d580cde92c8 Mon Sep 17 00:00:00 2001 From: bearjim Date: Thu, 16 Sep 2021 02:00:17 +0000 Subject: [PATCH] fix(smf): plmnId should be encoded as json format in HTTP header --- producer/pdu_session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/producer/pdu_session.go b/producer/pdu_session.go index c18d3fe2..b622bbe3 100644 --- a/producer/pdu_session.go +++ b/producer/pdu_session.go @@ -115,7 +115,7 @@ func HandlePDUSessionSMContextCreate(request models.PostSmContextsRequest) *http smDataParams := &Nudm_SubscriberDataManagement.GetSmDataParamOpts{ Dnn: optional.NewString(createData.Dnn), - PlmnId: optional.NewInterface(smPlmnID.Mcc + smPlmnID.Mnc), + PlmnId: optional.NewInterface(openapi.MarshToJsonString(smPlmnID)), SingleNssai: optional.NewInterface(openapi.MarshToJsonString(smContext.Snssai)), }