Push CDRs of only local roaming sessions
MODIFY
src/scheduler/tasks/ocpi/OCPIPushCdrsTask.ts
src/scheduler/tasks/ocpi/OCPIPushCdrsTask.ts
@@ -30,8 +30,9 @@ export default class OCPIPushCdrsTask extends TenantSchedulerTask {
[
{
$match: {
- 'stop': { $exists: true },
- 'ocpiData': { $exists: true },
+ issuer: true,
+ stop: { $exists: true },
+ ocpiData: { $exists: true },
'ocpiData.cdr': null
}
},

Push CDRs of only local roaming sessions