Hello All,
Currently, it seem that Dialogflow CX is not passing the DTMF input provided by the user to webhook.
I have a working telephony integration with the VoxImplant. In one of the forms we have a parameter with entity type @sys.date but we also want to allow user to enter the date using DTMF. For example, if they want to select February 23 then they can either say February 23 or enter 0223 using dtmf. Now, when user enters 0223 using dtmf, it obviously does not match with @sys.date so the session parameter is not set and no-match-1 event is triggered in which I have a webhook. The webhook gets triggered fine but the problem is the dtmf data that user sent is not sent in the webhook request. I have stackdriver logging enabled so I can see that dialogflow did receive the dtmf input as shown below.
"queryInput": {
"languageCode": "en-us",
"dtmf": {
"digits": "12345678"
}
}
But this information is not passed anywhere in the webhook.
According to the WebhookRequest format above, it only has 4 field for query input.
// Union field query can be only one of the following:
"text": string,
"triggerIntent": string,
"transcript": string,
"triggerEvent": string
// End of list of possible types for union field query.
It seems the developers forgot to add a dtmfEvent option here.
Can someone please let me know if I am missing something or if there is any way to pass the dtmf data to webhook request.
Let me know if you need any more information.
Thanks,
Ankur Patel
The information contained in this transmission is privileged and confidential and/or protected health information (PHI) and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This transmission is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, dissemination, distribution, printing or copying of this transmission is strictly prohibited and may subject you to criminal or civil penalties. If you have received this transmission in error, please contact the sender immediately in a separate email and delete this email and any attachments from any computer.