WebSphere brand IBM WebSphere IP Multimedia Subsystem Connector, Version 6.2

Ro online charging Web service methods

Ro online charging Web service defines several external Web service methods used for online, session and event charging.

According to RFC 3588 the sessionID is an agreed upon format between the IMS™ Application Server and the server. The same sessionID is expected to be used for each request associated with a session. The session is terminated when a stop message is sent using sendCCTermination.

Web service charging methods

The following methods can be used to send online charging information through the Web service interface. Ro online charging Web service supports the following external methods that are available to the IMS Application Server applications. For detailed information on method signatures and descriptions, refer to the com.ibm.diameter.ro.DiameterRoService_SEI and com.ibm.diameter.ro.DiameterRoNotifyService_SEI sections in the Javadoc.

Table 1. Web service online charging methods
Ro charging method Description

RoChargingResults* sendCCInitial(RoChargingInfo** roChargingInfo);

Starts an online charging session

RoChargingResults* sendCCUpdate(RoChargingInfo** roChargingInfo);

Updates an online charging session

RoChargingResults* sendCCTermination(RoChargingInfo** roChargingInfo);

Stops an online charging session

RoChargingResults* sendCCDirectDebit(RoChargingInfo** roChargingInfo);

Performs an immediate subtraction of credits from the subscriber account

RoChargingResults* sendCCRefund(RoChargingInfo** roChargingInfo)

Performs an immediate addition of credits to the subscriber account

RoChargingResults* getCCServicePriceEnquiry(RoChargingInfo** roChargingInfo);

Retrieves cost information for a specific service

void subscribeCCReAuth(java.lang.String sessionId, java.lang.String destinationRealm, java.net.URI callbackUri, int subscriptionDuration, java.lang.String userid, java.lang.String password);

Subscribes to receive reauthorization requests for a specific sessionId

void unsubscribeCCReAuth(java.lang.String sessionId, java.lang.String destinationRealm, java.net.URI callbackUri, java.lang.String userid, java.lang.String password);

Unsubscribes to receive reauthorization requests for a specific sessionId

void notifyCCReAuth (RoReAuthInfo*** roReAuthInfo);

Informs the Charging Trigger Function (CTF) that there has been a change at the server and that the CTF needs to reauthenticate with the Online Charging System prior to continuing to provide the service

void notifySubscribeExpired (java.lang.String sessionId, java.lang.String destinationRealm);

Notification sent by the Diameter Enabler when a subscription created by the subscribeCCReAuth() method has expired. The subscription duration is specified by an argument in the subscribeCCReAuth() request. To avoid receiving this notification, the application can unsubscribe using the unsubscribeCCReAuth() method when the session completes.

Avp**** sendCCRaw(Avp[] avp);

Sends a raw Diameter message using the Ro interface.
  • * com.ibm.diameter.charging.util.RoChargingResults
  • ** com.ibm.diameter.charging.util.RoChargingInfo
  • *** com.ibm.diameter.charging.util.RoReAuthInfo
  • **** com.ibm.diameter.packet.Avp



Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.