How it works
Step 1: Prerequisite
Before designing the IVR flow, you need to do the following in advance:
- Create queues (Voice –>Queues)
- Create a variable called RESULTS (Tools –>Variables)
Step 2: Design the flow
For example, if the callerId is 0123456789, the substr function result will be 012 (first 3 digit) and it is saved into the RESULT variable.
GotoIf block check the RESULT variable and routes the call to the right queue.