The Switchvox SMB software can be configured to require the user's voicemail password before making any outbound call. In order to achieve this configuration, you will need to a special outgoing call rule and one IVR. It will use the phone's voicemail password in order to make outbound calls.
Step 1: Create the IVR
IVR Menu Name: Password_protect
Actions:
Set Variable (Set PIN_Number = DIALED_NUMBER)
Variable to set: (Create a new Variable): PIN_Number
Set to value to System Variable: DIALED _NUMBER
Conditional Clause (If PIN_Number = 888)
Conditional Clause:
If PIN_Number = 888
Go To IVR Menu: Password_protect
IVR Menu Entry Point: 13. Play Sound (Not Permitted)
Set Variable (Set PIN_Extension = CALLER_ID_NUMBER)
Variable to set: (Create a new Variable): PIN_Extension
Set to value to System Variable: CALLER_ID _NUMBER
Play Sound (Password)
Folder: Voicemail
Language To Play: Call Language
Sound to Play: Password
Sound Description: Password.
Interruptible: No
Record Digits (Record 0 digits to "PIN_Password")
Action Type: Record Digits
Beep before Recording: Yes
Stop recording after this many digits: 0
Recorded Digits Variable Name
Create a new variable: PIN_Password
Check User Password (Result stored in PIN_Result)
Variable Name for Result: PIN_Result
Choose variable where the extension is stored: PIN_Extension
Choose variable where the password is stored: PIN_Password
Conditional Clause (If PIN_Result != 1)
Action Type: Conditional Clause
Conditional Clause: If PIN_Result != 1
Go To IVR Menu: Password_protect
IVR Menu Entry Point: 10. Play Sound (Password mismatch)
Send to External Number (PIN_Number)
Select an existing variable: PIN_Number
Outgoing call rules for this number
Important: Specify an outgoing call rule. If unsure which select them all to ensure that the call goes through.
Hang Up
Play Sound (Password mismatch)
Folder: Voicemail
Language To Play: Call Language
Sound to Play: Password mismatch
Sound Description: The password you entered and re-entered did not match. Please try again.
Interruptible: No
Go To IVR Menu / Action
Go To IVR Menu: Password_protect
IVR Menu Entry Point: 5. Record Digits (Record 0 digits to "PIN_Password")
Hang Up
Play Sound (Not Permitted)
Folder: Authentication
Language: Call Language
Sound to Play: Not Permitted
Sound Description: You are not permitted to dial this number.
Interruptible: No
Hang Up
...
Step 3: Create Outgoing Call Rule
Go to Setup > Call Routing > Outgoing Call Rules
Create Outgoing Call
Rule Name: Password Protect
Is this rule Final?: Yes
Allow all existing extensions to use this rule: NO
Pattern to match:
Number begins with the digits [ leave blank]
The rest of the number must be between [ 0] to [20]
Before connecting the call, trim [ 20] digits from the front,
and then prepend the digits [ ivr_ext ] to the number
Call Through: Internal
Reorder 'Password Protect' call rule so that this is directly before 'Internal' Outgoing Call Rule
Step 4: Set permission for specific user
Go to Server > Extensions > Manage
Modify extension
Go to Outgoing Call Rules
Remove all outgoing call rules except for 'Password Protect' and 'Internal'