'IVR Chatbot using MS Composer
I'm creating an IVR chatbot using MS composer, wherein a particular dialog I need to take 16 digits(Card Number) user input either both by voice or by keypad. In composer, I created a user input activity to take the input but it was breaking for the first number, for example, my card number is 9876543210123456 as soon as I typed 9 or spoke out 9 it is taking that particular only 9 as input and validating it, instead of all 16 digits.
Can anyone please help me solve this? Thanks in advance.
Solution 1:[1]
I don't think Composer is currently setup to collect DTMF digits and aggregate them into a number. I've only seen composer examples with DTMF navigation (single digits, press 1 for this, press 2 for that).
Also, I think you may be conflating two issues. I have implemented a composer bot using speech rec that collects a string of digits (say a zip code or credit card) into a text field. This works fine with a text chatbot or a phone call using speech recognition.
But you cannot currently also take DTMF input in the same block. As you describe, pressing a DTMF key in text prompt for the zip code completes after the first DTMF keypress. Subsequent validation rejects the reply as too short. The prompt for text block only ever collects one DTMF digit. In my experience.
There are ways around this in code but not in Composer out of the box to my knowledge.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dino |
