Lock/Unlock Extension AGI

Hi,

I’m looking for a way or an AGI script out there, that can allow me to lock/unlock extensions with a pincode before the user can dial. Maybe it can even be used as an account code for CDR purposes.

Need some pointers. Using Asterisk 1.4.x and Grandstream BT201s and several Grandstream GXP2020s

thank you,

Sam

Try Authenticate(), voip-info.org/wiki-Asterisk+cmd+authenticate .

Cheers.

Marco Bruni
www.marcobruni.net