Authentication Scenario

Hi collective…
I have a scenario that is specially about authenticate certain clients that i gave them authentication code…!
this authentication code should be wrote in a special file in asterisk,the truth is I’m writing an application that i assign an authenticate id and i give this authenticate id to other for incoming authentication call…
for instance some body call me and my IVR will play a message that “Please insert your authentication code to login”,and i wrote this authentication code in a file in asterisk.
How can i do this scenario in a short time…

sorry for my weak English text…

Plz help me my friends Step by step I’m so beginner in asterisk…

There is no step by step guide in custom request. I,m not so clear about what you are requesting … But you could write the codes in a file .And then after play your IVR recording read the codes using the Authenticate() app