use of org.mobicents.charging.server.ratingengine.RatingInfo in project charging-server by RestComm.
the class LocalRatingEngineSbb method getRateForService.
@Override
public RatingInfo getRateForService(HashMap params) {
String sessionId = (String) params.get("SessionId");
if (tracer.isInfoEnabled()) {
tracer.info("[$$] SID<" + sessionId + "> Performing rating with the SIMPLE Rating Module.");
}
RatingInfo ri = new RatingInfo(0, sessionId);
ri.setRate(1.0);
return ri;
}
Aggregations