code: private void onRecord(Record message, ActorRef self, ActorRef sender) {
          if (is(inProgress)) {
              // Forward to media server controller
              this.recording = true;
              this.msController.tell(message, sender);
          }
      }
docs: /*
  EVENTS