bar top left
bar top right
left curve
right curve
Welcome, Guest

Enter Password to reach an extension
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Enter Password to reach an extension
#58031
Enter Password to reach an extension 1 Year, 5 Months ago Karma: 0
Anyone know how I would set up so when someone calls an extension, it asks for a password?

And if someone can figure it out, how would I restrict it to only outside callers would have to do it, but internal callers wouldn't have to.

Thanks in advance for any help!
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
chrisxstyles
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#58032
Re:Enter Password to reach an extension 1 Year, 5 Months ago Karma: 0
To explain more clearly:

Someone calls in and tries to dial extension 789.

It asks caller for a password.

If password is correct, call goes through.

If password is incorrect, call hangs up.

Thanks!
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
chrisxstyles
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#58041
Re:Enter Password to reach an extension 1 Year, 5 Months ago Karma: 155
You could get your hands dirty and make a custom context.

As a very short example,(please expand to suit) where 987 as the acceptable password,

[custom-allowme]
include => from-internal
exten => s,1,read(PASSWORD,vm-password,3)
exten => s,n,GotoIf($["${PASSWORD}" = "987"]?from-internal,789,1:hangup)

make a "custom destination" that points to

custom-allowme,s,1

and send external calls there, I believe it is close to a direct implementation of your posted "pseudo code", if you find that useful please take it from there.

dicko
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/08/18 23:00 By dicko.
There are other solutions!!
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez