code: private void fireEvent(EventName eventName) {
          this.returnCode = eventName.getEventIdentifier().getParms();
          switch (eventName.getEventIdentifier().intValue()) {
              case MgcpEvent.REPORT_ON_COMPLETION :
                  try {
                      fsm.signal(SIGNAL_PLAY_COMPLETED);
                  } catch (UnknownTransitionException e) {
                      e.printStackTrace();
                  }
                  break;
              case MgcpEvent.REPORT_FAILURE :
                  try {
                      fsm.signal("FAILURE");
                  } catch (UnknownTransitionException e) {
                      e.printStackTrace();
                  }
                  break;            
          }
          
      }
docs: Fires event.
  
  @param evt the event to be fired