Преглед на файлове

调整接口,ivr提交

zhengbingbing преди 7 години
родител
ревизия
ab4c3393a8

+ 6 - 6
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/callout/CallOutPlanController.cs

731
                     if (cusmodel != null)
731
                     if (cusmodel != null)
732
                     {
732
                     {
733
                         taskmodel.F_CusID = model.F_CusID.Value;//客户id                
733
                         taskmodel.F_CusID = model.F_CusID.Value;//客户id                
734
-                        taskmodel.F_CityID = cusmodel.F_CityID.Value;//乡镇id 
734
+                        //taskmodel.F_CityID = cusmodel.F_CityID.Value;//乡镇id 
735
                         taskmodel.F_Address = cusmodel.F_Address;//住址
735
                         taskmodel.F_Address = cusmodel.F_Address;//住址
736
                         taskmodel.F_CusName = cusmodel.F_CustomerName;//客户姓名                
736
                         taskmodel.F_CusName = cusmodel.F_CustomerName;//客户姓名                
737
-                        taskmodel.F_Phone = cusmodel.F_Telephone;//号码                
737
+                        //taskmodel.F_Phone = cusmodel.F_Telephone;//号码                
738
                         taskmodel.F_Telephone = cusmodel.F_Mobile;//手机号码        
738
                         taskmodel.F_Telephone = cusmodel.F_Mobile;//手机号码        
739
-                        taskmodel.F_City = cusmodel.F_City;//乡镇   
739
+                        //taskmodel.F_City = cusmodel.F_City;//乡镇   
740
                     }
740
                     }
741
                 }
741
                 }
742
                 taskmodel.F_Id = model.F_Id;//号码id
742
                 taskmodel.F_Id = model.F_Id;//号码id
973
                     if (cusmodel != null)
973
                     if (cusmodel != null)
974
                     {
974
                     {
975
                         taskmodel.F_CusID = model.F_CusID.Value;//客户id                
975
                         taskmodel.F_CusID = model.F_CusID.Value;//客户id                
976
-                        taskmodel.F_CityID = cusmodel.F_CityID.Value;//乡镇id                
976
+                        //taskmodel.F_CityID = cusmodel.F_CityID.Value;//乡镇id                
977
                         taskmodel.F_CusName = cusmodel.F_CustomerName;//客户姓名                
977
                         taskmodel.F_CusName = cusmodel.F_CustomerName;//客户姓名                
978
-                        taskmodel.F_Phone = cusmodel.F_Telephone;//号码                
978
+                        //taskmodel.F_Phone = cusmodel.F_Telephone;//号码                
979
                         taskmodel.F_Telephone = cusmodel.F_Mobile;//手机号码        
979
                         taskmodel.F_Telephone = cusmodel.F_Mobile;//手机号码        
980
-                        taskmodel.F_City = cusmodel.F_City;//乡镇   
980
+                        //taskmodel.F_City = cusmodel.F_City;//乡镇   
981
                         taskmodel.F_Address = cusmodel.F_Address;//住址
981
                         taskmodel.F_Address = cusmodel.F_Address;//住址
982
                     }
982
                     }
983
                 }
983
                 }

+ 9 - 11
ivr/IVR_XXDC.xml

1
 <?xml version="1.0" encoding="utf-8"?>
1
 <?xml version="1.0" encoding="utf-8"?>
2
 <ivr>
2
 <ivr>
3
-	<flow Name="IVR_XXDC" Type="normal" MatchedNum="." MatchedLine="|-1|" Concurrency="1">
3
+	<flow Name="IVR_HBMD" Type="normal" MatchedNum="." MatchedLine="|-1|" Concurrency="1">
4
 		<cell Name="CELL_START" Pos="1" Next="2" Note="开始节点" />
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" 
5
+		<cell Name="CELL_SQL" Pos="2" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;Data Source=192.168.4.18" 
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)" 
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="插入通话记录" />
7
 		IsSaved="no" SuccessPos="3" FailPos="3" Note="插入通话记录" />
8
 		<cell Name="CELL_DEFINEVAR" Pos="3" Next="4" Note="定义变量节点">
8
 		<cell Name="CELL_DEFINEVAR" Pos="3" Next="4" Note="定义变量节点">
15
 			<DefVar VarType="1" VarName="HolidayVerify" VarVal="0" />
15
 			<DefVar VarType="1" VarName="HolidayVerify" VarVal="0" />
16
 			<DefVar VarType="1" VarName="zbdh" VarVal="0" />
16
 			<DefVar VarType="1" VarName="zbdh" VarVal="0" />
17
 		</cell>
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" 
18
+		<cell Name="CELL_SQL" Pos="4" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;Data Source=192.168.4.18" 
19
 		SqlStr="select COUNT(*) FROM T_Call_Blacklist where F_TelPhone='%[CallerID]'" IsSaved="yes" SuccessPos="5" FailPos="5" Note="读取黑名单" />
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="取黑名单结果">
20
 		<cell Name="CELL_RECORDSET" Pos="5" LPos="6" EPos="6" GPos="6" Note="取黑名单结果">
21
 			<Map Var="BlackListVerify" />
21
 			<Map Var="BlackListVerify" />
22
 		</cell>
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="判断黑名单" />
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" 
24
+		<cell Name="CELL_SQL" Pos="7" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;Data Source=192.168.4.18" 
25
 		SqlStr="update T_Call_CallRecords set CallState=1,DealType=1,IsDeal=1 where CallId='%[CallID]'" IsSaved="no" SuccessPos="26" FailPos="26" Note="黑名单通话记录" />
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
 		<cell Name="CELL_AUDIODTMF" Pos="12" PlayType="2" ContentType="1" Content="D:\Midware\wav\欢迎词.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
27
 		<cell Name="CELL_AUDIODTMF" Pos="12" PlayType="2" ContentType="1" Content="D:\Midware\wav\欢迎词.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
29
 		<!--
29
 		<!--
30
 			1.播放欢迎词-2.判断是否下班 是直接转入坐席,不是继续播报
30
 			1.播放欢迎词-2.判断是否下班 是直接转入坐席,不是继续播报
31
 		-->
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" 
32
+		<cell Name="CELL_SQL" Pos="8" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;Data Source=192.168.4.18" 
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)" 
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="节假日查询" />
34
 		IsSaved="yes" SuccessPos="9" FailPos="603" Note="节假日查询" />
35
 		<cell Name="CELL_RECORDSET" Pos="9" LPos="10" EPos="10" GPos="10" Note="取节假日结果">
35
 		<cell Name="CELL_RECORDSET" Pos="9" LPos="10" EPos="10" GPos="10" Note="取节假日结果">
40
 		TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="keyh" SuccessPos="25" FailPos="24" HangupPos="25" Note="放节假日音" />
40
 		TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="keyh" SuccessPos="25" FailPos="24" HangupPos="25" Note="放节假日音" />
41
 		
41
 		
42
 		
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" 
43
+		<cell Name="CELL_SQL" Pos="603" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;Data Source=192.168.4.18" 
44
 		SqlStr="select top 1 F_ZXZID from T_Sys_SeatGroup where F_ZXZCode='ZXZ'" 
44
 		SqlStr="select top 1 F_ZXZID from T_Sys_SeatGroup where F_ZXZCode='ZXZ'" 
45
 		IsSaved="yes" SuccessPos="604" FailPos="24" Note="获取坐席组ID" />
45
 		IsSaved="yes" SuccessPos="604" FailPos="24" Note="获取坐席组ID" />
46
 		<cell Name="CELL_RECORDSET" Pos="604" LPos="13" EPos="13" GPos="13" Note="获取坐席组ID结果">
46
 		<cell Name="CELL_RECORDSET" Pos="604" LPos="13" EPos="13" GPos="13" Note="获取坐席组ID结果">
70
 		<cell Name="CELL_LEAVEWORD" Pos="21" Path="%[CallID]_%[CallerID]_%[StartTime].wav" FinishKey="#" Timeout="60" TimeoutPos="22" HangupPos="23" FinishPos="22" 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" 
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="留言结束放音" />
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=." 
73
+		<cell Name="CELL_SQL" Pos="23" ConnStr="Provider=SQLOLEDB.1;Password=hykj800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;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" 
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="留言入库" />
75
 		SuccessPos="24" FailPos="24" Note="留言入库" />
76
 		<cell Name="CELL_HANGUP" Pos="24" Next="25" Note="挂机节点" />
76
 		<cell Name="CELL_HANGUP" Pos="24" Next="25" Note="挂机节点" />
87
 		</cell>
87
 		</cell>
88
 		<cell Name="CELL_AUDIODTMF" Pos="29" PlayType="2" ContentType="1" Content="D:\Midware\wav\转值班电话提示.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50" 
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="转值班电话提示音" />
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="获取值班电话" />
90
+		<cell Name="CELL_SQL" Pos="701" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=CallCenter_HuaiBinMD;Data Source=192.168.4.18" 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="获取值班电话结果">
91
 		<cell Name="CELL_RECORDSET" Pos="702" LPos="30" EPos="30" GPos="30" Note="获取值班电话结果">
92
 			<Map Var="zbdh" />
92
 			<Map Var="zbdh" />
93
 		</cell>
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-->
94
+		<cell Name="CELL_TRANSFEROUT" Pos="30" CalleeNumType="2" CalleeNum="zbdh" Timeout="60" SuccessPos="25" FailPos="24" Note="转值班电话" />
97
 		<!--转值班电话-->
95
 		<!--转值班电话-->
98
 	</flow>		
96
 	</flow>		
99
 </ivr>
97
 </ivr>

BIN
ivr/wav/欢迎词.wav