| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- /*************************************************************************
- 【文件名】 CellTurnAgent.h
- 【功能模块和目的】 转坐席节点类头文件
- 【开发者及日期】 郑石诺 2015/02/09
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- #include "cellbase.h"
- #include "CellAUTOCREATE.h"
- /*************************************************************************
- 【类名】 CCellTurnAgent
- 【功能】
- 【接口说明】 转坐席节点类
- 【开发者及日期】 郑石诺 2015/02/09
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CCellTurnAgent : public CCellBase
- {
- DECLARE_CELL_AUTOCREATE
- public:
- CCellTurnAgent(void);
- CCellTurnAgent( CCellTurnAgent & cellTurnAgent );
- virtual ~CCellTurnAgent(void);
- ////////////////////////////////////////////////////////////////////////////////
- //继承自CCellBase
- int operate(void);
- CCellBase * copy(void);
- bool fillData(IFlowDataProvider& Provider);
- int onOpResultReturn(CPduEntity *a_pPduEntity);
- LPCTSTR name(void) const { return CELL_NAME_TURN_AGENT; }
- int maxWaitingTime(void) const { return 4* 60; }
- private:
- int m_SuccessPos; //转移成功执行下一节点编号
- int m_FailPos; //转移失败执行下一节点编号
- int m_HangUpPos; //挂机执行下一节点编号
- int m_TimeoutPos; // 等待超时的下一节点编号
- int m_Timeout; // 最大等待时长
- CString m_Exten; //要转坐席的分机号码
- DataSet m_VarList; //要传递给坐席的变量列表
- //2019-09-11 颐和随访 获取外线通电话以后的座席状态使其锁定并向主叫端和被叫端播放工号和分机声音
- protected:
- bool TurnAgent;
- bool SetTurnAgentReturn(bool m_SetTurnAgentReturn) { TurnAgent = m_SetTurnAgentReturn; }
- bool GetTurnAgentReturn() { return TurnAgent; }
- };
|