Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Nsmf_PDUSession] POST /nsmf-pdusession/v1/sm-contexts serves a 201 response (R15.2.0)
POST /nsmf-pdusession/v1/sm-contexts HTTP/1.1
Accept: */*
Transfer-Encoding: chunked
Content-Type: multipart/related; boundary=ZaqojfzBFs7YPnuaXxUzbgQKhlYt0w1O1ddU354i
Host: 127.0.0.1:8080
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.3 (Java/11.0.6)
Accept-Encoding: gzip,deflate
--ZaqojfzBFs7YPnuaXxUzbgQKhlYt0w1O1ddU354i
Content-Type: application/json; charset=US-ASCII
Content-Transfer-Encoding: 8bit
{"supi":"imsi-12345678901456","unauthenticatedSupi":true,"pei":"imei-123456789ABCDEF","gpsi":"msisdn-029966000102","pduSessionId":0,"dnn":"dnn value","sNssai":{"sst":0,"sd":"012345"},"hplmnSnssai":{"sst":0,"sd":"ABCDEF"},"servingNfId":"41d5662f-38fd-46e5-b9f7-376310259ef7","guami":{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"},"serviceName":"nnrf-nfm","servingNetwork":{"mcc":"123","mnc":"45"},"requestType":"INITIAL_REQUEST","n1SmMsg":null,"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-04-10T15:12:46.855Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":null,"ngeNbId":"MacroNGeNB-01234"}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-04-10T15:12:46.856Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":null,"ngeNbId":"MacroNGeNB-01234"}},"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-04-10T15:12:46.857Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":null,"ngeNbId":"MacroNGeNB-01234"}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-04-10T15:12:46.857Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":null,"ngeNbId":"MacroNGeNB-01234"}},"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}},"smContextStatusUri":"https://5gc.3gpp.org","hSmfUri":"https://smf0.5g-labs.3gpp.org","additionalHsmfUri":["https://hsm0.mcc208.mnc02.3gpp.org"],"oldPduSessionId":0,"pduSessionsActivateList":[0],"ueEpsPdnConnection":"abcd","hoState":"NONE","pcfId":"41d5662f-38fd-46e5-b9f7-376310259ef7","nrfUri":"http://nrf0.mcc208.mnc02.3gpp.org","supportedFeatures":"0123456789abcdef","selMode":"VERIFIED","backupAmfInfo":[{"backupAmf":"amf0","guamiList":[{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"}]}],"traceData":{"traceRef":"01201-ABCDEF","traceDepth":"MINIMUM","neTypeList":"0123456789ABCDEF","eventList":"abcddef","collectionEntityIpv4Addr":"198.51.100.1","collectionEntityIpv6Addr":null,"interfaceList":"012ABC"},"udmGroupId":"464dfhhn","routingIndicator":"k0h1654654","epsInterworkingInd":"NONE","indirectForwardingFlag":true}
--ZaqojfzBFs7YPnuaXxUzbgQKhlYt0w1O1ddU354i
Content-Id: n1msg
Content-Type: application/vnd.3gpp.5gnas
Content-Transfer-Encoding: binary
............
--ZaqojfzBFs7YPnuaXxUzbgQKhlYt0w1O1ddU354i--
HTTP/1.1 201 Created
Connection: keep-alive
Location: http://127.0.0.1:8080/nsmf-pdusession/v1/sm-contexts/imsi-12345678901456-0
Content-Type: application/json
Content-Length: 331
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS
Date: Wed, 17 Jun 2020 09:21:11 GMT
{"hSmfUri":"https://smf0.5g-labs.3gpp.org","pduSessionId":0,"sNssai":{"sst":0,"sd":"012345"},"upCnxState":null,"n2SmInfo":null,"n2SmInfoType":null,"allocatedEbiList":null,"hoState":"NONE","smfServiceInstanceId":"fd320f3b-3315-4234-9f96-9017dabd7724","recoveryTime":"2020-06-17T09:20:58.696Z","supportedFeatures":"0123456789abcdef"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment