Thanks a lot Danny.
I have done the part of playing a file by creating a context in my
dialplan. Now I am puzzled as i wish to store the DTMF inputs done by the
users who is listening to the playback. I found there are ways, but some
specific way by which it is not stored in file but conveyed
DTMF inputs are detected from the dialplan (usually, there are some
exceptions) from a waitexten or read command - let's say your play back said
press 1 for apples, 2 for cherries or enter a count of bananas to ship.
Here's a dialplan to let you handle that situation
Exten =