I know this has been asked before, but I would like to enable a caller to enter an extension at anytime when they're in a UCCX script without needing a "Menu" or "Get digit string" step.
I had an idea that I could use an "On Exception" step to make this happen - basically if I can make the script generate an exception when digits are received outside of a step that would normally accept digits ("Menu" step, for example) then I could handle that exception and evaluate the digits for a valid extension and connect the caller or loop back to another part of the script if the digits aren't valid, etc.
I reviewed the documentation and it appears that the following child Exception of the parent exception "com.cisco.app.ApplicationException" could do what I want:
com.cisco.app.impl.AppInterruptedException
AppInterruptedException is caused due to an interruptible action or step
I created a test script with logging but I can't seem to get the exception to trip.
Any ideas would be appreciated - thanks!