lihai %!s(int64=6) %!d(string=hace) años
padre
commit
2bae3e6db0
Se han modificado 1 ficheros con 99 adiciones y 0 borrados
  1. 99 0
      ivr/IVR_XinXiangMD - 副本.xml

+ 99 - 0
ivr/IVR_XinXiangMD - 副本.xml

@@ -0,0 +1,99 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<ivr>
3
+	<flow Name="XinXiangMD" Type="normal" MatchedNum="." MatchedLine="|-1|" Concurrency="1">
4
+		<cell Name="CELL_START" Pos="1" Next="2" Note="开始节点" />
5
+		<cell Name="CELL_SQL" Pos="2" ConnStr="Provider=SQLOLEDB.1;Password=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=192.168.1.2" 
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,0)" 
7
+		IsSaved="no" SuccessPos="3" FailPos="3" Note="插入通话记录" />
8
+		<cell Name="CELL_DEFINEVAR" Pos="3" Next="4" Note="定义变量节点">
9
+			<DefVar VarType="1" VarName="AgentNo" VarVal="0" />
10
+			<DefVar VarType="1" VarName="AgentExtNo" VarVal="0" />
11
+			<DefVar VarType="1" VarName="KeyGroup" VarVal="0" /><!--坐席组按键值-->
12
+			<DefVar VarType="1" VarName="GroupID" VarVal="0" /><!--通过坐席组按键值 获取相应的坐席组ID-->
13
+			<DefVar VarType="1" VarName="Key" VarVal="0" />
14
+			<DefVar VarType="1" VarName="BlackListVerify" VarVal="0" />
15
+			<DefVar VarType="1" VarName="HolidayVerify" VarVal="0" />
16
+			<DefVar VarType="1" VarName="zbdh" VarVal="0" />
17
+		</cell>
18
+		<cell Name="CELL_SQL" Pos="4" ConnStr="Provider=SQLOLEDB.1;Password=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=192.168.1.2" 
19
+		SqlStr="select COUNT(*) FROM T_Call_Blacklist where F_TelPhone='%[CallerID]'" IsSaved="yes" SuccessPos="5" FailPos="5" Note="读取黑名单" />
20
+		<cell Name="CELL_RECORDSET" Pos="5" LPos="6" EPos="6" GPos="6" Note="取黑名单结果">
21
+			<Map Var="BlackListVerify" />
22
+		</cell>
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=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=192.168.1.2" 
25
+		SqlStr="update T_Call_CallRecords set CallState=1,DealType=1,IsDeal=1 where CallId='%[CallID]'" IsSaved="no" SuccessPos="26" FailPos="26" Note="黑名单通话记录" />
26
+		
27
+		<cell Name="CELL_AUDIODTMF" Pos="12" PlayType="2" ContentType="1" Content="D:\Midware\wav\欢迎词.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
28
+		TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="0" FinishKey="#" KeyVar="" SuccessPos="8" FailPos="24" HangupPos="25" Note="放欢迎词" />
29
+		<!--
30
+			1.播放欢迎词-2.判断是否下班 是直接转入坐席,不是继续播报
31
+		-->
32
+		<cell Name="CELL_SQL" Pos="8" ConnStr="Provider=SQLOLEDB.1;Password=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=192.168.1.2" 
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)&gt;=Convert(varchar(20),'08:00:00',108) and Convert(varchar(20),getdate(),108)&lt;=Convert(varchar(20),'18:00:00',108)" 
34
+		IsSaved="yes" SuccessPos="9" FailPos="603" Note="节假日查询" />
35
+		<cell Name="CELL_RECORDSET" Pos="9" LPos="10" EPos="10" GPos="10" Note="取节假日结果">
36
+			<Map Var="HolidayVerify" />
37
+		</cell>
38
+		<cell Name="CELL_COMPARE" Pos="10" Data1Type="2" Data2Type="1" Data3Type="1" Data1="HolidayVerify" Data2="0" Data3="" VarType="1" CompareType="2" TruePos="603" FalsePos="11" Note="判断节假日" />
39
+		<cell Name="CELL_AUDIODTMF" Pos="11" PlayType="1" ContentType="1" Content="D:\Midware\wav\假期提示音.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
40
+		TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="keyh" SuccessPos="25" FailPos="24" HangupPos="25" Note="放节假日音" />
41
+		
42
+		
43
+		<cell Name="CELL_SQL" Pos="603" ConnStr="Provider=SQLOLEDB.1;Password=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=192.168.1.2" 
44
+		SqlStr="select top 1 F_ZXZID from T_Sys_SeatGroup where F_ZXZCode='ZXZ'" 
45
+		IsSaved="yes" SuccessPos="604" FailPos="24" Note="获取坐席组ID" />
46
+		<cell Name="CELL_RECORDSET" Pos="604" LPos="13" EPos="13" GPos="13" Note="获取坐席组ID结果">
47
+			<Map Var="GroupID" />
48
+		</cell>
49
+		
50
+		<!--坐席排队时,没有登录坐席直接转值班电话,无空闲坐席转坐席全忙放音,有空闲坐席继续播报-->
51
+		<cell Name="CELL_QUEUE" Pos="13" Strategy="1" VipLevelType="1" VipLevel="0" GroupType="2" Group="GroupID" AgentVar="AgentNo" ExtenVar="AgentExtNo" 
52
+		NoAgentPos="14" NoFreePos="14" SuccessPos="18" HangupPos="25" Note="排队节点" />
53
+		
54
+		<cell Name="CELL_AUDIODTMF" Pos="14" PlayType="1" ContentType="1" Content="D:\Midware\wav\坐席全忙.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
55
+		TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="Key" SuccessPos="15" FailPos="24" HangupPos="25" Note="坐席全忙放音" />
56
+		<cell Name="CELL_BRANCH" Pos="15" Var="Key" DefaultPos="14" Note="分支节点">
57
+			<Branch Value="1" Pos="16" />
58
+			<!-- <Branch Value="2" Pos="29" /> -->
59
+		</cell>		
60
+		<cell Name="CELL_CONTINUEQUEUE" Pos="16" Agent="AgentNo" Exten="AgentExtNo" Audio="D:\Midware\wav\保持音.wav" Timeout="60" SuccessPos="18" HangupPos="25" TimeoutPos="14" Note="继续排队节点" />
61
+		<cell Name="CELL_CANCELQUEUE" Pos="17" Reason="等烦了" Next="25" Note="放弃排队节点" />		
62
+		<cell Name="CELL_AUDIODTMF" Pos="18" PlayType="2" ContentType="1" Content="D:\Midware\wav\通话录音提示音.wav" TTSNumMode="1" 
63
+		TTSSpeed="50" TTSVolume="50" TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="0" FinishKey="#" KeyVar="" SuccessPos="31" FailPos="24" HangupPos="25" Note="转接电话提示录音" />
64
+		<cell Name="CELL_AUDIODTMF" Pos="31" PlayType="2" ContentType="2" Content=" `vs40 您好, `dig`vs30 %[AgentNo] `vs50 号话务员为您服务." TTSNumMode="1" TTSSpeed="50" TTSVolume="50" TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="0" FinishKey="#" KeyVar="" SuccessPos="19" FailPos="24" HangupPos="25" Note="播报工号" />
65
+		<cell Name="CELL_TURNAGENT" Pos="19" Exten="AgentExtNo" SuccessPos="25" FailPos="17" HangupPos="24" Note="转座席节点">
66
+		  <BandData Var="CallID" />
67
+		</cell>
68
+		<cell Name="CELL_AUDIODTMF" Pos="20" PlayType="2" ContentType="1" Content="D:\Midware\wav\留言提示音.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
69
+		TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="21" FailPos="24" HangupPos="25" Note="留言开始放音" />
70
+		<cell Name="CELL_LEAVEWORD" Pos="21" Path="%[CallID]_%[CallerID]_%[StartTime].wav" FinishKey="#" Timeout="60" TimeoutPos="22" HangupPos="23" FinishPos="22" Note="留言节点" />
71
+		<cell Name="CELL_AUDIODTMF" Pos="22" PlayType="2" ContentType="1" Content="D:\Midware\wav\留言结束提示音.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
72
+		TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="23" FailPos="23" HangupPos="23" Note="留言结束放音" />
73
+		<cell Name="CELL_SQL" Pos="23" ConnStr="Provider=SQLOLEDB.1;Password=hykjhykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=." 
74
+		SqlStr="INSERT INTO T_Call_LeaveRecord(F_Phone,F_LeaveTime,F_Status,F_RecFileUrl) VALUES('%[CallerID]',GETDATE(),0,'%[CallID]_%[CallerID]_%[StartTime].wav')" IsSaved="no" 
75
+		SuccessPos="24" FailPos="24" Note="留言入库" />
76
+		<cell Name="CELL_HANGUP" Pos="24" Next="25" Note="挂机节点" />
77
+		<cell Name="CELL_END" Pos="25" Note="结束节点" />	
78
+		
79
+		<!--黑名单提示音-->
80
+		<cell Name="CELL_AUDIODTMF" Pos="26" PlayType="2" ContentType="1" Content="D:\Midware\wav\黑名单提示音.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
81
+		TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="25" FailPos="24" HangupPos="25" Note="黑名单提示音" />
82
+		<!--黑名单提示音-->
83
+		
84
+		<!--转值班电话-->
85
+		<cell   Name="CELL_BRANCH"  Pos="28" Var="keyh" DefaultPos="14" Note="是否转值班电话-比较按键值" >
86
+			<Branch   Pos="29" Value="1" />
87
+		</cell>
88
+		<cell Name="CELL_AUDIODTMF" Pos="29" PlayType="2" ContentType="1" Content="D:\Midware\wav\转值班电话提示.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
89
+		TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="0" FinishKey="#" KeyVar="" SuccessPos="701" FailPos="24" HangupPos="25" Note="转值班电话提示音" />
90
+		<cell Name="CELL_SQL" Pos="701" ConnStr="Provider=SQLOLEDB.1;Password=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_XiXianDC;Data Source=192.168.1.2" SqlStr="EXEC proc_HR_ZZBDH " IsSaved="yes" SuccessPos="702" FailPos="24" Note="获取值班电话" />
91
+		<cell Name="CELL_RECORDSET" Pos="702" LPos="30" EPos="30" GPos="30" Note="获取值班电话结果">
92
+			<Map Var="zbdh" />
93
+		</cell>
94
+		<cell Name="CELL_TRANSFEROUT" Pos="30" CalleeNumType="1" CalleeNum="zbdh" Timeout="60" SuccessPos="25" FailPos="24" Note="转值班电话" />
95
+		<!--20170515:::13523455559-->
96
+		<!--20170510:::13523455555-->
97
+		<!--转值班电话-->
98
+	</flow>		
99
+</ivr>