Ver Código Fonte

logiclineext.cpp 线路重置时不能提前删除任务,会导致任务结果不能发出

baiwenju 3 anos atrás
pai
commit
b39d83ff9d
4 arquivos alterados com 0 adições e 24 exclusões
  1. 0 23
      CTI/CallSession.cpp
  2. 0 1
      CTI/LogicLineExt.cpp
  3. BIN
      Release/CTI.exe
  4. BIN
      Release/CTI.pdb

+ 0 - 23
CTI/CallSession.cpp

@@ -117,29 +117,6 @@ void CCallSession::__onLineHangUp( CLogicLine* pLine )
117 117
 			CNetworkCti::GetInstance().send2ACD(cmd);
118 118
 		}
119 119
 	}
120
-	/*
121
-	else if (pLine->type() == DEV_RES_TYPE_TRUNK && m_LineList.GetCount() > 2)  // 2022-03-02 三方时,三方挂断消息
122
-	{
123
-		CLineHolder& LineHolder = CLineHolder::GetInstance();
124
-		POSITION pos = m_LineList.GetHeadPosition();
125
-		while (pos != NULL)
126
-		{
127
-			CLogicLine* pLinebp = LineHolder.getLogicLine(m_LineList.GetNext(pos));
128
-			if (pLinebp != NULL && pLinebp->type() == DEV_RES_TYPE_EXT && pLinebp->isMeeting())
129
-			{
130
-				CPduEntity cmd(PDU_CMD_AGENT_HANGUP);
131
-				cmd.SetToExecReturn();
132
-				cmd.SetDataUInt(1, pLinebp->lineId());
133
-				cmd.SetDataUInt(2, pLinebp->getAgentNum());
134
-				cmd.SetDataString(3, pLine->calleeNum());
135
-				CNetworkCti::GetInstance().send2ACD(cmd);
136
-				break;
137
-			}
138
-		}	
139
-	}
140
-	*/
141
-	
142
-	
143 120
 
144 121
 	// 统计挂机
145 122
 	T_EvtHangUp repInfo;

+ 0 - 1
CTI/LogicLineExt.cpp

@@ -69,7 +69,6 @@ void CLogicLineExt::__telephoneNumBelongsTo(const CString& Number, CString& Belo
69 69
 ****************************************************************/
70 70
 void CLogicLineExt::resetLine()
71 71
 {
72
-	CTaskMgr::GetInstance().removeTask(m_TaskIdBinded);
73 72
 	// Çå³ýÏß·ÐÅÏ¢
74 73
 	m_FinalExt = 0;
75 74
 	m_AssoLineType = 0;

BIN
Release/CTI.exe


BIN
Release/CTI.pdb