cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
1
Replies

CiscoRouteSession State in when I receive RouteEvent event

Hi to all, 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

  1. 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) ?

Thank you for the help.

1 Reply 1

smupadhy
Cisco Employee
Cisco Employee

Hi,

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.

If you want us to take a look, please share the log in this post.

Thanks,