Ok, this is a hard question, therefore, it is worth the maximum amount of points; it needs a multipart answer.
How can I configure Asterisk@Home to answer the phone when someone dials, allow the caller to enter an ID number, ask a few questions, hang up, then update a database with the answers to the questions based on the ID number that the caller provided?
I'm assuming that I will need some kind of script that updates the database(which I can write). If I DO need a script, I'm going to have to know where the output from the phone call went so I can extract the necessary information. This is just a guess as to how it's supposed to work, please correct me if I'm wrong and answer the question in the first paragraph.
Thank you very much in advance.