Using the event socket to handle CDRs