If AAA-based accounting applies, the 3GPP UE/BBF device is successfully authenticated and this triggers the interaction with the OCS system. This step is outside the 3GPP scope.
The Accounting Interworking Function that will activate the online-charging session, and provide relevant input information for the OCS decision. i.e. subscriber identifier and charging keys obtained in step A.1.
If online charging is applicable, the OCS provides the possible credit information to the Accounting Interworking Function and may provide re-authorisation triggers for each of the credits.
If PCC is supported, the IP-CAN session establishment procedure may be established as define in clause S.7.2. The steps from 1 to 14 defined in clause 7.2 are performed with the following exception:
Steps 9 - 10 are performed only if TDF based accounting is supported and AAA-based accounting is not supported.
Steps 13 - 14 are performed only if PCEF accounting is supported and AAA-based accounting is not supported.
When the Accounting Interworking Function receives the message, it determines if it is required to update the accounting information which triggers an interaction with the OCS.
The Accounting Interworking Function may contact the OCS to request credit for new charging keys and/or to issue final report and return remaining credit for charging keys no longer active, i.e. when the accounting session is terminated.
The OCS may instruct the Accounting Interworking Function on the further handling of the session (terminate, continue, etc), provide credit information (possibly with re-authorisation trigger), and/or acknowledge the credit report.
This procedure is performed when BNG send a stop accounting message to the Accounting Interworking Function, for example the IP-CAN session termination procedure is initiated by PCRF or when Subscriber IP session terminated (for example when the 3GPP UE disassociates from the fixed broadband network, the RG is switched off, etc.).
The BNG determines that the Subscriber IP session is terminated (e.g. the device has left the fixed broadband network) and consequently a PCEF-Initiated IP-CAN session termination is initiated or it shall be terminated, when PCRF-Initiated IP-CAN session termination procedure is performed.