I want to make it so when a customer is signing up on my website that next to the phone number field, there is a "verify" button, where once clicked a random string of digits is created, say 5 digits long, and one the verify button is clicked a phone call is placed to the number and a voice says something like "this is company and your phone verification number is 4 2 5 2 5" and repeats for a few minutes or until the correct number string is typed into the phone. Once the phone number is verified the customer is allowed to submit the application.
I am looking to accomplishing this with asterisk and php. Is FastAGI the best way to accomplish this. So frat my research says that FastAGI is the best way, would I have to use http://code.google.com/p/fastagi-php-drclue/? Or should I just be using the regular asterisk agi?
How is the best way to pass the DTMF tones back the the PHP script?