caspremier.blogg.se

Twilio dtmf
Twilio dtmf











Now we will pass redirect to the method which asks the questions. So in order to ask questions via looping, what we did, we made one hash that contains the key-pair value of question_id and question.

twilio dtmf

So, what we are going to do is we will ask for the survey id from the caller, and on the basis of that, we will ask the question via IVR for that survey. We added two actions for handling this communication in a controller which will be used for asking and answering the single question. That’s how we achieved dynamic looping in IVR using Twilio.

twilio dtmf

This process will keep on asking questions until all the questions are not answered.













Twilio dtmf