Switchvox - How do I configure Switchvox SMB to require the voicemail password before dialing out?
The Switchvox SMB software version can be configured in such a way to require the user's voicemail password before dialing out.
In order to achieve this configuration, you will need to set two outgoing call rules and one IVR. For the purposes of demonstration, this Knowledge base is going to assume that the verification will apply for international dialing.
IVR
IVR Menu Name: International_S0
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: International_S0
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)
Sound Name: Password
Language To Play: Call Language
Sound Description: Password
Interruptible: No
Record Digits (Record 0 digits to "PIN_Password")
Action Type: Record Digits
Beep: Yes
Recorded Digits Variable Name: PIN_Password
Check User Password (Result stored in PIN_Result)
Extension Variable: PIN_Extension
Password Variable: PIN_Password
Store Result In: PIN_Result
Conditional Clause (If PIN_Result != 1)
Action Type: Conditional Clause
Conditional Clause: If PIN_Result != 1
Go To IVR Menu: International_S0
IVR Menu Entry Point: 10. Play Sound (Password mismatch)
Send to External Number (PIN_Number)
External Number: PIN_Number (Variable)
Outgoing Call Rules for this number: International_S1 / Yes
Hang Up
Play Sound (Password mismatch)
Sound Name: Password mismatch
Language To Play: Call Language
Sound Description: Password
Interruptible: No
Go To IVR Menu / Action
Go To IVR Menu: International_S0
IVR Menu Entry Point: 5. Record Digits (Record 0 digits to "PIN_Password")
Hang Up
Play Sound (Not Permitted)
Sound Name: Not Permitted
Language To Play: Call Language
Sound Description: You are not permitted to dial this number
Interruptible: No
Hang Up
Outgoing call Rule 1
Rule Name: International_S1
Is this rule Final?: Yes
Pattern to match:
Number begins with the digits 9011
The rest of the number must be between 7 to 16
Before connecting the call, trim 20 digits from the front,
and then prepend the digits 888 to the number
Call Through: Internal
Outgoing call Rule 2
Rule Name: International_S2
Is this rule Final?: Yes
Pattern to match:
Number begins with the digits 9011
The rest of the number must be between 7 to 16
Before connecting the call, trim 1 digits from the front,
and then prepend the digits to the number
Call Through: <Your Trunk>
Once you finish the configuration of the Outgoing call Rules and the IVR . You should enable one of the two rules to the extensions. Please take into consideration that International_S1 will always ask for the password after the extension dialed the number but before the Switchvox place the call to the PSTN. International_S2 can be considered as the unrestricted International Outgoing Call Rule.