The def_dialogflow.vxml VXML application sends the initial Welcome event and then loops handling responses from Dialogflow that are returned in the recognition result. For example, playing audio responses from Dialogflow, collecting DTMF locally, and DTMF transfers. The def_dialogflow.vxml application also checks if the endInteraction key/value pair being set to true in the response. It it is called as a sub-dialog, the def_dialogflow VXML application exits or returns.