Question regarding phone passwords

Is it possible to have a password on phones in Asterisk to limit outgoing and incoming calls?

I need the ability to have phones in offices that can only used by specific staff. The phones still need to ring when no pin/password is entered, but before connecting the call through, a level of user security must be implemented(ie a pin or equivalent). Is this feature possible using Asterisk?


yes. for incoming, have a look at the ‘M’ option for Dial() … before the call is bridged, you can send the called phone off to a Macro where you can request a PIN and return MACRO_RESULT to determine what happens next.

for outgoing, you can use a different method, but the same idea … read dtmf from the user, decide what to do next depending on whether acceptable or not.

ok cheers :smile:

thanks for the speedy reply.