Pass DTMF input to webhook

315 views
Skip to first unread message

Ankur Patel

unread,
Mar 8, 2022, 10:34:31 AM3/8/22
to Dialogflow CX Edition users
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


https://www.imsbuilds.com/

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.

Mohammad Islam

unread,
Mar 9, 2022, 10:07:16 AM3/9/22
to Dialogflow CX Edition users
You can get further details on DTMF for telephony integrations here. Regarding form parameters it is mentioned here that for DTMF no API field chain is available. 

Please also note that Google Groups forum is meant for general discussion of the platform, not specific technical issues. You can find more info about Community Support Overview on Google Groups here.

In case there are any technical issues or you would like to request any feature regarding Google Cloud Platform on your issue, you can report it at the Public Issues by selecting the right component here. If you need to select any project specific information please select the private component of the Public Issue so that the information is not visible to the public. After that a Google Cloud Platform support agent would assist you. 

In case If you have any technical queries or think your issue is related to code, you can post at the Stack Overflow or Server Fault and a community of developers will assist you.


Reply all
Reply to author
Forward
0 new messages