Our company would like to make phone verification to our online customers.
The phone verification consist on
1. The website sends an http request to the asterik server.
2. In this http request we are given 2 variables : (a) The phone number and (b) the secret 4 digit code
3. The asterisk server calls the customer using a sip account
4. The asterisk server plays a pre-established message (will be given in mp3)
5. The asterisk server plays a the 4 digits message (will be given in mp3 for each digit)
6. The asterisk server plays a message that if user wants to hear the 4 digits again, he must dial the star key (will be given in mp3)
7. The asterisk server cut the call after 15 seconds.