Skip to content

Commit

Permalink
Merge pull request #138 from abousselmi/patch-2
Browse files Browse the repository at this point in the history
fix: Add ueLocation IE to smContextCreateData
  • Loading branch information
ianchen0119 authored Aug 22, 2024
2 parents c3d4816 + 7e962a9 commit b46ca98
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/sbi/consumer/smf_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,7 @@ func (s *nsmfService) buildCreateSmContextRequest(ue *amf_context.AmfUe, smConte
if ue.RatType != "" {
smContextCreateData.RatType = ue.RatType
}
// TODO: location is used in roaming scenerio
// if ue.Location != nil {
// smContextCreateData.UeLocation = ue.Location
// }
smContextCreateData.UeLocation = &ue.Location
smContextCreateData.UeTimeZone = ue.TimeZone
smContextCreateData.SmContextStatusUri = context.GetIPv4Uri() + factory.AmfCallbackResUriPrefix + "/smContextStatus/" +
ue.Supi + "/" + strconv.Itoa(int(smContext.PduSessionID()))
Expand Down

0 comments on commit b46ca98

Please sign in to comment.