Charging and Control Applications (MOSC)

MOSC Banner

Custom Communication Service - CDR Generation

edited Mar 11, 2010 2:01AM in Charging and Control Applications (MOSC) 1 commentAnswered

I am programmatically generating CDR

public class RentalPluginImpl implements RentalPlugin {
//...
private void logRentalChargingInfo(String address, String eventType,
String status) {
EdrData data = edrHelper.createData();
data.setValue(EdrConstants.FIELD_SOURCE,
EdrConstants.VALUE_SOURCE_METHOD);
data.setValue(EdrConstants.FIELD_METHOD_NAME, "logRentalChargingInfo");
data.setValue(EdrConstants.FIELD_SESSION_ID, RequestContextManager
.getCurrent().getCurrentSessionId());
data.setValue(EdrConstants.FIELD_DESTINATION_ADDRESS, address);
data.setValue(EdrConstants.FIELD_CDR_CHARGING_INFO, eventType);
data.setValue("STATUS", status);
EdrServiceFactory.getService().logEdr(data);
}

Added below in CDR descriptor

   <cdr>
    <filter>
      <method>
        <name>logRentalChargingInfo</name>
        <class>com.warid.wng.rental.rental.north.RentalPluginImpl</class>
      </method>
    </filter>
  </cdr>

But i do not see CDRs coming SLEE_CHARGING. Any idea? thanks

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center