private void handle()

in src/main/java/com/amazonaws/lex/twilio/sample/streaming/BotResponseHandler.java [96:110]


    private void handle(PlaybackInterruptionEvent event) {
        LOG.info("Got a PlaybackInterruptionEvent: " + event);

        twilioCallOperator.pausePlayback();

        try {
            if (audioResponse != null) {
                audioResponse.close();
            }
        } catch (Exception e) {
            e.printStackTrace();
        }

        LOG.info("Done with a  PlaybackInterruptionEvent: " + event);
    }