While in registration procedure, AMF sends npcf-am-policy-control/v1/policies post request to PCF.
The request has notificationUri field.
When PCF decides to terminate session, PCF sends callback post request of the received request.
The callback URI is {$request.body#/notificationUri}/terminate
My question is the notificationUri does not contain any ID. I am wondering how AMF to decide individual AMPolicyData.
Do I misunderstand the procedure?
free5GCv3.4.1
[amf->pcf][POST-Req] /npcf-am-policy-control/v1/policies
{
"notificationUri":"http://127.0.0.18:8000/namf-callback/v1/am-policy/",
"supi":"imsi-208930000000001",
"gpsi":"msisdn-",
...
}
On the other hand, notificationUri of /npcf-smpolicycontrol/v1/sm-policies contains id bellow.
[smf->pcf][POST-Req] /npcf-smpolicycontrol/v1/sm-policies
{
"supi":"imsi-208930000000001",
"pduSessionId":1,
"pduSessionType":"IPV4",
"dnn":"internet",
"notificationUri":"http://127.0.0.2:8000/nsmf-callback/sm-policies/urn:uuid:8b4af020-5ad6-4aa7-9fed-e7dbdb695b67",
"accessType":"3GPP_ACCESS",
...
}