Caller Key presscollection


I know this is probably a really simple question but i can’t figure it out and no one so far will even give me a clue!!! :frowning:

How can i prompt a caller with an audio message and collect and store their key presses IN A VARIABLE for later passing to an AGI script to ultimately query an informix database with the 6 digit length number entered???

Background() does something similar but how can i pass the response into a variable???

Please please help.

look at the Read() app … should do what you want.

Thank you so much!!!
I have been really strugglling with this as i am new to asterisk and not familier with all the available standard applications. :smiley: :smiley: