Author Message
MarcusHuang
Joined: Feb 25, 2014
Messages: 157
Offline
Hi All,

I have a workflow i built which basically intercepts a called number, examines the calling party, if the calling party exists in the db, it plays a message using the cstore url. About 70% of the time it works, another 30% of the time it does not work and i get an exception in the log file. What would cause this? I am only passing the call to 1 Breeze Server at the moment for testing.



{'callingParty':{'handle':'4323211234','domain':'abc123def.com','display':'WIRELESS CALLER','additionalProperties':{}},'calledParty':{'handle':'241012972049','domain':'abc123def.com','display':'','additionalProperties':{}},'reason':'Caller abandoned','shortReason':'ABANDONED','timeOfEvent':'2018-06-08 13:07:36 MDT','ucid':'90000072031528484850','appid':'local.1525359124373_1065215!175.176.177.188','additionalProperties':{}}



When this happens i get this exception in the log. The funny thing is that the call gets an ABANDON at the play announcement node which is 2 exclusive gateways before the forward call node. If i try to call another 4 more times no issues on the same flow, then it fails again.




018-06-08 13:07:36,813 [pool-32-thread-48] EngagementDesigner ERROR - EngagementDesigner-3.2.2.0.20027 - Failed to redirect the call with call ID 90000072031528484850 to 824012175255
java.lang.IllegalStateException: cannot invoke divertTo in current state
at com.avaya.collaboration.call.statemachine.CmaDefaultState.divertTo(CmaDefaultState.java:113)
at com.avaya.collaboration.call.statemachine.CmaStateMachineImpl.divertTo(CmaStateMachineImpl.java:139)
at com.avaya.collaboration.call.CallSipImpl.divertTo(CallSipImpl.java:134)
at sun.reflect.GeneratedMethodAccessor455.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.avaya.collaboration.call.async.AsyncWorkImpl.doAsyncTask(AsyncWorkImpl.java:59)
at com.ibm.ws.sip.container.asynch.AsynchronousWorkTask.doTask(AsynchronousWorkTask.java:415)
at com.ibm.ws.sip.container.router.tasks.RoutedTask.run(RoutedTask.java:103)
at com.ibm.ws.sip.container.was.SignalingEndOfTask.run(SignalingEndOfTask.java:80)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1865)
PrakashN
Joined: Jun 30, 2015
Messages: 105
Offline
That exception seems to have been caused by you trying to Forward Call in the workflow most likely. Not while trying to play the cstore url message into the call. What else are trying to do in the workflow before attempting to forward the call? Are you trying to forward the call in the first place? Or what else are you doing with the call? In Breeze, you cannot forward the call or add participants to the call in certain scenarios.

Looking at the workflow and the debug level logs for the working and non-working scenarios would help more investigating into this.

Prakash Natarajan System Architecture Consulting Engineer Engagement Designer Avaya
MarcusHuang
Joined: Feb 25, 2014
Messages: 157
Offline
based on what you said, i think i figured the issue out, 1 of the AMS servers had an incorrect entity link.
Go to:   
Mobile view