cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
470
Views
0
Helpful
3
Replies

Looking for help - Calls abort because the caller passes "Restricted" as their ANI

kbenoit33
Level 1
Level 1

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

3 Replies 3

Deepak Rawat
Cisco Employee
Cisco Employee

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

Thanks Sir,

I'll give that a shot, updates when I have them.

Keith

No issues Keith, try that and update accordingly.

Regards

Deepak