|
|
@@ -1,8 +1,8 @@
|
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
2
|
<ivr>
|
|
3
|
|
- <flow Name="IVR_HX" Type="normal" MatchedNum="." MatchedLine="|-1|" Concurrency="1">
|
|
|
3
|
+ <flow Name="IVR_XinXian12345" Type="normal" MatchedNum="." MatchedLine="|-1|" Concurrency="1">
|
|
4
|
4
|
<cell Name="CELL_START" Pos="1" Next="2" Note="开始节点" />
|
|
5
|
|
- <cell Name="CELL_SQL" Pos="2" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88"
|
|
|
5
|
+ <cell Name="CELL_SQL" Pos="2" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3"
|
|
6
|
6
|
SqlStr="INSERT INTO T_Call_CallRecords(CallId,CallNumber,CallType,CallState,DealType,BeginTime,IvrStartTime,IvrEndTime,EndTime,LongTime,IsDeal,OperateType,MYD) VALUES('%[CallID]','%[CallerID]',0,0,0,GETDATE(),GETDATE(),GETDATE(),GETDATE(),0,0,0,1)"
|
|
7
|
7
|
IsSaved="no" SuccessPos="3" FailPos="3" Note="插入通话记录" />
|
|
8
|
8
|
<cell Name="CELL_DEFINEVAR" Pos="3" Next="4" Note="定义变量节点">
|
|
|
@@ -15,13 +15,13 @@
|
|
15
|
15
|
<DefVar VarType="1" VarName="HolidayVerify" VarVal="0" />
|
|
16
|
16
|
<DefVar VarType="1" VarName="zbdh" VarVal="0" />
|
|
17
|
17
|
</cell>
|
|
18
|
|
- <cell Name="CELL_SQL" Pos="4" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88"
|
|
|
18
|
+ <cell Name="CELL_SQL" Pos="4" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3"
|
|
19
|
19
|
SqlStr="select COUNT(*) FROM T_Call_Blacklist where F_TelPhone='%[CallerID]'" IsSaved="yes" SuccessPos="5" FailPos="5" Note="读取黑名单" />
|
|
20
|
20
|
<cell Name="CELL_RECORDSET" Pos="5" LPos="6" EPos="6" GPos="6" Note="取黑名单结果">
|
|
21
|
21
|
<Map Var="BlackListVerify" />
|
|
22
|
22
|
</cell>
|
|
23
|
23
|
<cell Name="CELL_COMPARE" Pos="6" Data1Type="2" Data2Type="1" Data3Type="1" Data1="BlackListVerify" Data2="0" Data3="" VarType="1" CompareType="2" TruePos="7" FalsePos="12" Note="判断黑名单" />
|
|
24
|
|
- <cell Name="CELL_SQL" Pos="7" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88"
|
|
|
24
|
+ <cell Name="CELL_SQL" Pos="7" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3"
|
|
25
|
25
|
SqlStr="update T_Call_CallRecords set CallState=1,DealType=1,IsDeal=1 where CallId='%[CallID]'" IsSaved="no" SuccessPos="26" FailPos="26" Note="黑名单通话记录" />
|
|
26
|
26
|
|
|
27
|
27
|
<cell Name="CELL_AUDIODTMF" Pos="12" PlayType="2" ContentType="1" Content="D:\CTI\wav\欢迎词.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
|
|
|
@@ -29,7 +29,7 @@
|
|
29
|
29
|
<!--
|
|
30
|
30
|
1.播放欢迎词-2.判断是否下班 是直接转入坐席,不是继续播报
|
|
31
|
31
|
-->
|
|
32
|
|
- <cell Name="CELL_SQL" Pos="8" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88"
|
|
|
32
|
+ <cell Name="CELL_SQL" Pos="8" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3"
|
|
33
|
33
|
SqlStr="SELECT count(*) FROM T_Sys_WorkCalendar WHERE getdate() between F_DateId and DATEADD(dd,1,F_DateId) AND F_WorkingFlag=1 AND Convert(varchar(20),getdate(),108)>=Convert(varchar(20),'07:30:00',108) and Convert(varchar(20),getdate(),108)<=Convert(varchar(20),'18:30:00',108)"
|
|
34
|
34
|
IsSaved="yes" SuccessPos="9" FailPos="603" Note="节假日查询" />
|
|
35
|
35
|
<cell Name="CELL_RECORDSET" Pos="9" LPos="10" EPos="10" GPos="10" Note="取节假日结果">
|
|
|
@@ -50,14 +50,14 @@
|
|
50
|
50
|
<Branch Pos="603" Value="4" /><!--4.投诉-->
|
|
51
|
51
|
</cell>
|
|
52
|
52
|
|
|
53
|
|
- <cell Name="CELL_SQL" Pos="603" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88"
|
|
|
53
|
+ <cell Name="CELL_SQL" Pos="603" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3"
|
|
54
|
54
|
SqlStr="select top 1 F_ZXZID from T_Sys_SeatGroup where F_ZXZCode='ZXZ'"
|
|
55
|
55
|
IsSaved="yes" SuccessPos="604" FailPos="24" Note="获取坐席组ID" />
|
|
56
|
56
|
<cell Name="CELL_RECORDSET" Pos="604" LPos="501" EPos="501" GPos="501" Note="获取坐席组ID结果">
|
|
57
|
57
|
<Map Var="GroupID" />
|
|
58
|
58
|
</cell>
|
|
59
|
59
|
|
|
60
|
|
- <cell Name="CELL_SQL" Pos="501" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88" SqlStr=" update T_Call_CallRecords set BusinessType=%[KeyGroup], WaitStartTime=GETDATE() where callid='%[CallID]' " IsSaved="no" SuccessPos="13" FailPos="13" Note="更新排队开始时间" />
|
|
|
60
|
+ <cell Name="CELL_SQL" Pos="501" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3" SqlStr=" update T_Call_CallRecords set BusinessType=%[KeyGroup], WaitStartTime=GETDATE() where callid='%[CallID]' " IsSaved="no" SuccessPos="13" FailPos="13" Note="更新排队开始时间" />
|
|
61
|
61
|
<!--坐席排队时,没有登录坐席直接转值班电话,无空闲坐席转坐席全忙放音,有空闲坐席继续播报-->
|
|
62
|
62
|
<cell Name="CELL_QUEUE" Pos="13" Strategy="1" VipLevelType="1" VipLevel="0" GroupType="2" Group="GroupID" AgentVar="AgentNo" ExtenVar="AgentExtNo"
|
|
63
|
63
|
NoAgentPos="14" NoFreePos="14" SuccessPos="18" HangupPos="24" Note="排队节点" />
|
|
|
@@ -81,7 +81,7 @@
|
|
81
|
81
|
<cell Name="CELL_LEAVEWORD" Pos="21" Path="%[CallID]_%[CallerID]_%[StartTime].wav" FinishKey="#" Timeout="60" TimeoutPos="22" HangupPos="23" FinishPos="22" Note="留言节点" />
|
|
82
|
82
|
<cell Name="CELL_AUDIODTMF" Pos="22" PlayType="2" ContentType="1" Content="D:\CTI\wav\留言结束提示音.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
|
|
83
|
83
|
TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="23" FailPos="23" HangupPos="23" Note="留言结束放音" />
|
|
84
|
|
- <cell Name="CELL_SQL" Pos="23" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88"
|
|
|
84
|
+ <cell Name="CELL_SQL" Pos="23" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3"
|
|
85
|
85
|
SqlStr="INSERT INTO T_Call_LeaveRecord(F_CallId,F_Phone,F_LeaveTime,F_Status,F_RecFileUrl) VALUES('%[CallID]','%[CallerID]',GETDATE(),0,'%[CallID]_%[CallerID]_%[StartTime].wav')" IsSaved="no"
|
|
86
|
86
|
SuccessPos="24" FailPos="24" Note="留言入库" />
|
|
87
|
87
|
<cell Name="CELL_HANGUP" Pos="24" Next="25" Note="挂机节点" />
|
|
|
@@ -98,7 +98,7 @@
|
|
98
|
98
|
</cell>
|
|
99
|
99
|
<cell Name="CELL_AUDIODTMF" Pos="29" PlayType="2" ContentType="1" Content="D:\CTI\wav\转值班电话提示.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
|
|
100
|
100
|
TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="0" FinishKey="#" KeyVar="" SuccessPos="701" FailPos="24" HangupPos="24" Note="转值班电话提示音" />
|
|
101
|
|
- <cell Name="CELL_SQL" Pos="701" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.1.88" SqlStr="EXEC proc_HR_ZZBDH " IsSaved="yes" SuccessPos="702" FailPos="24" Note="获取值班电话" />
|
|
|
101
|
+ <cell Name="CELL_SQL" Pos="701" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HX;Data Source=192.168.8.3" SqlStr="EXEC proc_HR_ZZBDH " IsSaved="yes" SuccessPos="702" FailPos="24" Note="获取值班电话" />
|
|
102
|
102
|
<cell Name="CELL_RECORDSET" Pos="702" LPos="30" EPos="30" GPos="30" Note="获取值班电话结果">
|
|
103
|
103
|
<Map Var="zbdh" />
|
|
104
|
104
|
</cell>
|