03-31-2016 05:26 AM - edited 03-14-2019 03:55 PM
Greetings,
I swear I posted this yesterday however, I'm not seeing it. Anyway, thanks again in advance for your time! And so, we do a lot of stuff with the Caller's ANI, however, we did not anticipate them passing "Restricted" as their ANI and so the call aborts.
ed exception is: java.lang.NumberFormatException: For input string: "Restricted" (line: 1, col: 1)
Is it possible to handle the error thusly:
IF strANI.substring(0,1) == "R" and if this is true then SET strANI = 5555555555 and if the test is FALSE it drops out to the next step in the script.
Or is there a better way to handle outliers like this?
Thanks!
Keith
03-31-2016 09:46 AM
Try using On Exception Goto step with the com.cisco.contact.ContactInactiveException to send the call to the required label and see if it helps. If not then collect CCX Engine (MIVR) logs and check what is the exception coming in the logs when call disconnects if the ANI comes as Restricted and then change it accordingly in the On Exception Goto step.
Regards
Deepak
04-01-2016 07:13 AM
Thanks Sir,
I'll give that a shot, updates when I have them.
Keith
04-01-2016 08:21 AM
No issues Keith, try that and update accordingly.
Regards
Deepak
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide