How To Handle Multiple Occurrences Of An AVP While Reading A Request From Network
(Doc ID 1069317.1)
Last updated on JANUARY 31, 2022
Applies to:Oracle Communications Billing and Revenue Management - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
The user needs to process a request from Network Service Control Point (SCP). This request contains the same AVP (attribute/value pairs) multiple times.
How to read the data from all occurrences one by one?
Detailed explanation : The requirement is the user has a grouped AVP (name : MULTIPLE_SERVICES_CREDIT_CONTROL) which is expected multiple times in the request which comes to AAA. At a high level, the business case is about data rating where in a single request to AAA, the user expects an MSCC (MULTIPLE_SERVICES_CREDIT_CONTROL) for normal browsing session and another MSCC for video downloading, and both need to be charged separately.
Expectation : The user needs to parse and read both occurrences of MULTIPLE_SERVICES_CREDIT_CONTROL in the iscPoluplateOpcode file.
Below, an example of CC_SERVICE_SPECIFIC_UNITS is shown :
Currently, the user is using the following code for reading value of CC_SERVICE_SPECIFIC_UNITS:
This gives the value of only the second occurrence, and first string remains blank.
How to achieve the expected results?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document