cdrs stats RPC service and integration with cdrs/mediator