Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmtechnologies/9bd1e49e7225d54500c03923dca5e482 to your computer and use it in GitHub Desktop.
Save tnmtechnologies/9bd1e49e7225d54500c03923dca5e482 to your computer and use it in GitHub Desktop.
[Nsmf_PDUSession] POST /nsmf-pdusession/v1/sm-contexts/{smContextRef}/modify multipart/related serves a 204 response (R15.2.0)
POST /nsmf-pdusession/v1/sm-contexts/imsi-12345678901456-0/modify HTTP/1.1
Accept: */*
Transfer-Encoding: chunked
Content-Type: multipart/related; boundary=3tHyN00IxTFSAfX6fCAd21HO6N-X43sXDw8_gWh7
Host: 127.0.0.1:8080
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.3 (Java/11.0.6)
Accept-Encoding: gzip,deflate
--3tHyN00IxTFSAfX6fCAd21HO6N-X43sXDw8_gWh7
Content-Type: application/json; charset=US-ASCII
Content-Transfer-Encoding: 8bit
{"pei":"imei-123456789ABCDEF","gpsi":"msisdn-029966000102","servingNfId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","guami":{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"},"servingNetwork":{"mcc":"123","mnc":"45"},"backupAmfInfo":[{"backupAmf":"amf0","guamiList":[{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"}]}],"anType":"3GPP_ACCESS","ratType":"NR","presenceInLadn":"IN_AREA","ueLocation":{"eutraLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ecgi":{"plmnId":{"mcc":"123","mnc":"45"},"eutraCellId":"0123456"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.644Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.645Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"n3gaLocation":{"n3gppTai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"n3IwfId":"0123456789ABCDEF","ueIpv4Addr":"198.51.100.1","ueIpv6Addr":"2001:db8:85a3::8a2e:370:7334","portNumber":0}},"ueTimeZone":"Europe/Paris","addUeLocation":{"eutraLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ecgi":{"plmnId":{"mcc":"123","mnc":"45"},"eutraCellId":"0123456"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.646Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":"0123456789ABCDEF","gNbId":null,"ngeNbId":null}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.646Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"n3gaLocation":{"n3gppTai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"n3IwfId":"0123456789ABCDEF","ueIpv4Addr":"198.51.100.1","ueIpv6Addr":"2001:db8:85a3::8a2e:370:7334","portNumber":0}},"upCnxState":"ACTIVATED","hoState":"NONE","toBeSwitched":true,"failedToBeSwitched":true,"n1SmMsg":{"contentId":"n1msg"},"n2SmInfo":{"contentId":"n2msg"},"n2SmInfoType":"PDU_RES_SETUP_REQ","targetServingNfId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","smContextStatusUri":"https://5gc.3gpp.org","dataForwarding":true,"epsBearerSetup":["0"],"revokeEbiList":[0],"release":true,"cause":"REL_DUE_TO_HO","ngApCause":{"group":0,"value":0},"sNssai":{"sst":0,"sd":"ABCDEF"},"traceData":{"traceRef":"01201-ABCDEF","traceDepth":"MINIMUM","neTypeList":"0123456789ABCDEF","eventList":"abcddef","collectionEntityIpv4Addr":"198.51.100.1","collectionEntityIpv6Addr":null,"interfaceList":"012ABC"},"epsInterworkingInd":"NONE","anTypeCanBeChanged":true,"5gMmCauseValue":0}
--3tHyN00IxTFSAfX6fCAd21HO6N-X43sXDw8_gWh7
Content-ID: n1msg
Content-Type: application/vnd.3gpp.5gnas
Content-Transfer-Encoding: binary
n1msg body
--3tHyN00IxTFSAfX6fCAd21HO6N-X43sXDw8_gWh7
Content-ID: n2msg
Content-Type: application/vnd.3gpp.ngap
Content-Transfer-Encoding: binary
......
.4Vx..
--3tHyN00IxTFSAfX6fCAd21HO6N-X43sXDw8_gWh7--
HTTP/1.1 204 No Content
Date: Wed, 17 Jun 2020 09:21:22 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment