This class is a member of RoChargingInfo and acts as a container for service-specific 3GPP accounting information.
The 3GPP has separated its vendor-specific AVPs into multiple service-specific charging groups. Contained within ServiceInformation are nested classes that act as holders for service-specific accounting data.
All of the accounting data created by an IMS node is generally located in IMSInformation. However, in some instances, accounting data will need to be generated for multiple services. The Web service client developer simply constructs and sets the service-specific information objects needed to generate accounting information, leaving the irrelevant service objects null.
Within each service-specific class are additional members that represent accounting data that can be processed by an Online Charging System (OCS) to produce CDRs. The type of data recorded will differ across implementations to meet the needs of the accounting application. All figures and statistics must be in a format that complies with the capabilities of the OCS. In the following example, accounting data is created for the SUBSCRIBE event type.
For detailed information regarding the nesting of IMS accounting data, refer to the Javadoc and the 3GPP specifications.
RoChargingInfo ccaRequest = new RoChargingInfo(); acctInfo.setSessionId("FQDNServerName:servicexyz:session00001"); acctInfo.setDestinationRealm("userRealm"); acctInfo.setAuthApplicationId(new Integer(4)); acctInfo.setServiceContextId(32260@gpp.org);<codeblock></codeblock><section></section> ServiceInformation svcInfo = new ServiceInformation(); IMSInformation imsInfo = new IMSInformation(); EventType eventType = new EventType(); eventType.setSipMethod("SUBSCRIBE"); imsInfo.setNodeFunctionality(NodeFunctionality.AS); imsInfo.setEventType(eventType); svcInfo.setImsInformation(imsInfo); acctInfo.setServiceInformation(svcInfo); service.sendCCInitial(ccaRequest);
Method | Type | Return | Description |
---|---|---|---|
getImsInformation |
IMSIformation |
imsInformation |
Accounting information generated by an IP Multimedia Subsystem service. |
getPsInformation |
PSInformation |
psInformation |
Accounting information generated by a Packet Switched service. |
getLcsInformation |
LCSInformation |
lcsInformation |
Accounting information generated by a Location Services service. |
getMmsInformation |
MMSInformation |
mmsInformation |
Accounting information generated by a Multimedia Messaging service. |
getWlanInformation |
WLANInformation |
wlanInformation |
Accounting information generated by a WLAN service. |
getPocInformation |
PoCInformation |
pocInformation |
Accounting information generated by a Push-To-Talk Over Cellular service. |
getMbmsInformation |
MBMSInformation |
mbmsInformation |
Accounting information generated by a Multimedia Broadcast and Multicast service. |
Method | Parameter | Type | Description |
---|---|---|---|
setImsInformation |
imsInformation |
IMSInformation |
Accounting information generated by an IP Multimedia Subsystem service. |
setPsInformation |
psInformation |
PSInformation |
Accounting information generated by a Packet Switched service. |
setLcsInformation |
lcsInformation |
LCSInformation |
Accounting information generated by a Location Services service. |
setMmsInformation |
mmsInformation |
MMSInformation |
Accounting information generated by a Multimedia Messaging service. |
setWlanInformation |
wlanInformation |
WLANInformation |
Accounting information generated by a WLAN service. |
setPocInformation |
pocInformation |
PoCInformation |
Accounting information generated by a Push-To-Talk Over Cellular service. |
setMbmsInformation |
mbmsInformation |
MBMSInformation |
Accounting information generated by a Multimedia Broadcast and Multicast service. |