Hello,
I need a script in vxml and php interacting with mysql database in order to do the following :
When the user calls my vxml file using phone (plateform will be given).
1. Script will detect his phone number
2. If phone number is not recognisable, play voice message "A" and hang up
3. If phone number is recongisable and it has more or less than 10 digits, play voice message "B" and hang-up
4. If phone number is recognisable and has 10 digits, move to point 5.
5. Check if phone number is not already registered into a database (database1>table1>field1)
6. If number is already in database, play voice message "C" and hang up
7. If number is not already in database, ask user to type in 4 digit password.
8. Insert into database some info (phone number and prompted password 4 digits)
9. If all data was inserted with no mysql error, then transfer call to another number.
Please quote after you're sure that you understand, it's easy, but you've got to know this stuff :)
Please ask any questions in the PMB
Thank you
G