Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cstaQueryAgentState returns talkState as On Call when extension idle

Status
Not open for further replies.

xyz111

Programmer
Mar 11, 2003
19
0
0
GB
Environment: Avaya CM 3.1, AES 3.1.2 and TSAPI application.

Using cstaQueryAgentState on a extension at the end of a call returns agentState AG_READY and private param talkState as TS_ON_CALL even when the extension is actually on Auto-in and in Idle mode. Strange enough a cstaQueryAgentState for the same extension from another application (TSAPI exerciser) returns agentState AG_READY and talkState as TS_IDLE. My application re-queries the agent state for up to 10 seconds and the talkState is still TS_ON_CALL. Reopening the TSAPI stream seems to clear the agent state. Also, it only happens sporadically during the day, but when it happens it happens for most of the extensions in the call centre. Any idea what could cause this?
Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top