Pin Codes

Hello All

I am new to Asterisk and have successfully installed and configured a basic PBX. i now need to get Pin Codes working, can anyone help me with this?

I need to allow users to enter a pin code the based on their pin allow them into a [context]

Thanks

Set

accountcode=xxx

in the extension and follow along with

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

I believe SetAccount might be deprecated, so you might want to use Set(CDR(accountcode)=[account]) instead.