Password in the dialplan

hello all!

i want to do a password in my dialplan!
in fact when some one compose, it will ask him a password and then, he will be able to continu.

how can I do?

thankyou

is this another homework question ?

Have you tried show application authenticate?

I could do it with :

voip-info.org/wiki/index.php … thenticate

thank you to asterisk-france.net/community