|
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!
|
|
|
|
|
|
|
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!
|
|
|
|
|
|
|
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
|
|
|
|
Last Edit: 2010/08/18 23:00 By dicko.
There are other solutions!!
|
|
|