We are not able to login to CTI server using the Java code , while the same time i am able to login to CTI server using userid throgh CISCO Desktop Agent.
Please send us the samle code..
Many Thanks in Advance.
When you install JTAPI, you get two sample tools.. makecall and jtrace. Can you run those?
We have configured Login using CTI.LoginName also using ICM.
We are able to login using the AgentID (numeric) but not able to login using the LoginName (alphanumeric).
Following API worked for AgentID login -
m_ctiAgent.SetValue(CTIOS_PERIPHERALID, Integer.parseInt( sPeripheralID ) );
m_ctiAgent.SetValue(CTIOS_AUTOLOGIN, 1 );
m_ctiSession.SetAgent( m_ctiAgent );
To login using LoginName (alphanumeric) we tried following API but none worked -
m_ctiAgent.SetValue(CTIOS_ LOGINNAME, sAgentName);
If you have any clue , why the login using LoginName (alphanumeric) is not working , it would be great help to us.