Asterisk java: Catching DTMF while streaming serveral files?


I’m new to asterisk java developing so maybe this is really simple.

I need to stream several files and digits in a row and listen for dtmf input at the same time. It will be an iteration of a list and I will stream something like

To use the credit card ending with 1234, press 1.
To use the credit card ending with 6789, press 2.

I will get the ending numbers from a list and the selection number from the iteration. Throughout this iteration I want to listen for the user’s selection and interrupt the loop and continue with my program.

Can this be done or have I painted myself into a corner with asterisk java?

Best regards


Sure this can be done. Have a look at … 73594.html and join our mailing list for further questions.