Blogs

Showing 12 results.
Items per Page 20
of 1

Forums

« Back to CTIOS Toolkit Questions

Agent Status not getting updated to 'Ready'

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi, I am newbie to CTI OS Client development. I have developed a simple java program which connects me with CTI Server, adds an agent and then changes its status to 'Ready'. This simple java client successfully connects with the server, adds agent to this session but Session's currents Agent's (agent i added to session) state is not getting updated. It doesnt show any error but agent state remains 'Logout'. Sample Java Phone shipped with Tool Kit works quite fine, but this is giving problem. I must be missing something, kindly guide about this error.

agent.setAgentState(args) returns 1 but still it remains logout emoticon

You said you added the Agent to the Session and then attempted to set the agent state to Ready. Did you set the agent state to Login in the onSetAgentModeEvent as the sample shows?

Thanks for the reply David

In fact, I am trying to do all this stuff in a web app and I was ignoring EvenSink in the sample. But now I feel, I will have to attach up all event handlers. Do you know of or have any java based web app example for this task??

I would be interested in this as well. We have only be ale to accomplish this with a piece of middleware.

Peace,
Michael Clendening
CCIE #6487 (ISP-Dial)

Edited by: MICHAEL CLENDENING on Sep 18, 2008 4:18 AM

Collateral


No files available