If you want to use rules and variables:
- Add your prompts (eg. message1.wav, message2.wav)
- Create a new variable with default options called 'Prompt'
- We will use this to store the prompt name in the rule
- Add a rule for each DNIS or group of DNIS you want to match.
- For each rule, on the variable pane, set the 'Prompt' variable to the wav file you want to play (eg. message1.wav)
You may always want one DNIS to play one prompt
But, you may want several DNIS to play the same message
You can have a seperate rule for each DNIS or have a group of DNIS's OR'd together to play the one prompt
By adding multiple DNIS entries to the rule, selecting the first, then select the last using shift-click, then clicking on 'group or'
Then when any of these DNIS's are dialled, the defined prompt in the variable pane will be played
- In the workflow, you will have a schedule to determine your opening / closed times or dates.
For the out of hours / closed branch, drag over the rules tool from the toolbox
Right click and configure your rules option
Add all the routing rules
Under the success branch of the rule check, drag over a play tool and select 'add a variable to a prompt'
Selecting the 'prompt' variable that you set earlier
An incoming call reaching this rule check branch will check the DNIS against the rules. If the DNIS is found, the variable 'prompt' is set and used in the play tool.