50,530
社区成员
发帖
与我相关
我的任务
分享
public void initocx() throws JtapiPeerUnavailableException, ResourceUnavailableException, InvalidArgumentException{
JtapiPeer peer=JtapiPeerFactory.getJtapiPeer(null));
String[] services = peer.getServices();
String providerString = "<CallCenter>;" +
"Login = 102;" +
"Passwd = ;" +
"CCId = 1;" +
" JTAPIAppMode = 0; " +
"WASMode = false; " +
"AccountsMode = false;" +
"ClientIp = 10.48.166.183;" +
"Locale = zh; " +
"WASDeployPath = E:/workplace/ocx_demo/config";
//出错的地方
Provider prov=peer.getProvider(providerString);
}
Exception in thread "main" javax.telephony.ResourceUnavailableException: System isn't right,please contact with administrator.
出这个错误,来个会的指导下,可能问题出在哪里,第一次搭JTA的开发坏境,不太明白,希望高手指导!