Răsfoiți Sursa

Z991239-2154 #comment fix: 将counterconnector和interactivecontrol的启动顺序延后,解决sipphone启动后,立刻调用connect存在失败问题

陈礼鹏80274480 4 ani în urmă
părinte
comite
9740f83dc0

+ 4 - 1
Module/mod_counterconnector/ConnectorFSM.cpp

@@ -133,7 +133,8 @@ ErrorCodeEnum ACMCallFSM::OnInit()
 	if (Error != Error_Succeed)
 		goto on_error;
 
-	m_pSyncServiceClient = new SyncServiceClient(m_pEntity,this);
+#ifdef RVC_OS_WIN
+	m_pSyncServiceClient = new SyncServiceClient(m_pEntity, this);
 	Error = m_pSyncServiceClient->Connect();
 	if (Error != Error_Succeed)
 	{
@@ -141,6 +142,8 @@ ErrorCodeEnum ACMCallFSM::OnInit()
 		m_pSyncServiceClient->SafeDelete();
 		m_pSyncServiceClient = NULL;
 	}
+#endif
+
 	m_nSysCallType = 0;
 	m_pChannelClient = new MyChannelClient(m_pEntity, this);
 	Error = m_pChannelClient->Connect();

+ 4 - 2
addin/cfg/HealthManager.ini

@@ -26,15 +26,17 @@ AssistantChannel=2
 LocalMediaPlay=0
 SIPPhone=2
 ;InteractionContext=2
-CounterConnector=0
+;CounterConnector=0
 InitiativeTransfer=2
-InteractiveControl=2
+;InteractiveControl=2
 CounterContext=2
 ScreenShot=2
 SnapShot=2
 CustomerAware=2
 AgentInterpreter=2
 InteractiveLog=2
+CounterConnector=0
+InteractiveControl=2
 Upload=0
 MediaController=0
 Recorder=0