Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In following IVR flow, if the callerID starts with 012 we send the call to the queue 1 otherwise to queue 2. we check the callerID using the Javascript function substr  in a MATH block and check the result with a GOTOIF block.


Block details
Math block

Image Added

For esampleexample, 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

Image RemovedImage Added

GotoIf block check the RESULT variable and routes the call to the right queue.