I'm monitoring some Route Points to queue incoming calls.
When I receive the RouteEvent event I check the CiscoRouteSessione State as the following code shows
- this.getState() == RouteSession.ROUTE or RouteSession.RE_ROUTE
Normally, incoming calls have the right status, so I can redirect to CTI Ports with selectRoute statement, but sometimes I found that the state is in RouteSession.ROUTE_END status.
So I'm not able to do the selectRoute statement.
What's the meaning ? Can I suppose that the incoming call is terminated by the caller resulting in a very quick call ?
Reading the JTapi log, Can I understand who has terminated the call (caller or Called) ?
Answer:
From your post, it appears that when the call comes in and you start the route session, the state is seen as ROUTE_END. That typically indicates that the routing of a Call has terminated, which can be due to various reasons, e.g. as you mentioned, the original call could have dropped. The Jtapi logs will have more information on the reason for Call termination. You can look for the typical call disconnect events, and see if the call goes away before routing starts.
Comments
0 comments
Please sign in to leave a comment.