升龙物业 老版本 ocx IPO, 加密狗 转值班电话

Ivr4JYSD.xml 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ivr>
  3. <flow Name="Ivr4JYSD" 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=800100;Persist Security Info=True;User ID=sa;Initial Catalog=JYSD_HouseFundCallCenterServer;Data Source=192.168.1.88"
  6. SqlStr="INSERT INTO T_Call_CallRecords(CallId,CallNumber,CallType,CallState,DealType,BeginTime,IvrStartTime,IvrEndTime,EndTime,LongTime,IsDeal,OperateType) VALUES('%[CallID]','%[CallerID]',0,0,0,GETDATE(),GETDATE(),GETDATE(),GETDATE(),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="Key" VarVal="0" />
  12. <DefVar VarType="1" VarName="BlackListVerify" VarVal="0" />
  13. <DefVar VarType="1" VarName="HolidayVerify" VarVal="0" />
  14. </cell>
  15. <cell Name="CELL_SQL" Pos="4" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=JYSD_HouseFundCallCenterServer;Data Source=192.168.1.88"
  16. SqlStr="select COUNT(*) FROM T_Call_Blacklist where F_TelPhone='%[CallerID]'" IsSaved="yes" SuccessPos="5" FailPos="5" Note="读取黑名单" />
  17. <cell Name="CELL_RECORDSET" Pos="5" LPos="6" EPos="6" GPos="6" Note="取黑名单结果">
  18. <Map Var="BlackListVerify" />
  19. </cell>
  20. <cell Name="CELL_COMPARE" Pos="6" Data1Type="2" Data2Type="1" Data3Type="1" Data1="BlackListVerify" Data2="0" Data3="" VarType="1" CompareType="2" TruePos="7" FalsePos="21" Note="判断黑名单" />
  21. <cell Name="CELL_SQL" Pos="7" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=JYSD_HouseFundCallCenterServer;Data Source=192.168.1.88"
  22. SqlStr="update T_Call_CallRecords set CallState=1,DealType=1,IsDeal=1 where CallId='%[CallID]'" IsSaved="no" SuccessPos="19" FailPos="19" Note="黑名单通话记录" />
  23. <cell Name="CELL_AUDIODTMF" Pos="8" PlayType="2" ContentType="1" Content="D:\midware\wav\welcome.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
  24. TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="27" FailPos="19" HangupPos="20" Note="放欢迎词" />
  25. <cell Name="CELL_QUEUE" Pos="9" Strategy="1" VipLevelType="1" VipLevel="0" GroupType="1" Group="1" AgentVar="AgentNo" ExtenVar="AgentExtNo"
  26. NoAgentPos="10" NoFreePos="10" SuccessPos="25" HangupPos="20" Note="排队节点" />
  27. <cell Name="CELL_AUDIODTMF" Pos="10" PlayType="1" ContentType="1" Content="D:\midware\wav\BusyWait.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
  28. TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="Key" SuccessPos="11" FailPos="13" HangupPos="20" Note="坐席全忙放音" />
  29. <cell Name="CELL_BRANCH" Pos="11" Var="Key" DefaultPos="10" Note="分支节点">
  30. <Branch Value="1" Pos="12" />
  31. <Branch Value="2" Pos="15" />
  32. </cell>
  33. <cell Name="CELL_CONTINUEQUEUE" Pos="12" Agent="AgentNo" Exten="AgentExtNo" Audio="D:\midware\wav\Queue.wav" Timeout="60" SuccessPos="25" HangupPos="20" TimeoutPos="10" Note="继续排队节点" />
  34. <cell Name="CELL_CANCELQUEUE" Pos="13" Reason="等烦了" Next="19" Note="放弃排队节点" />
  35. <cell Name="CELL_TURNAGENT" Pos="14" Exten="AgentExtNo" SuccessPos="20" FailPos="10" HangupPos="20" Note="转座席节点">
  36. <BandData Var="CallID" />
  37. </cell>
  38. <cell Name="CELL_AUDIODTMF" Pos="15" PlayType="2" ContentType="1" Content="D:\midware\wav\BeginTape.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
  39. TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="16" FailPos="19" HangupPos="20" Note="留言开始放音" />
  40. <cell Name="CELL_LEAVEWORD" Pos="16" Path="%[CallID]_%[CallerID]_%[StartTime].wav" FinishKey="#" Timeout="60" TimeoutPos="17" HangupPos="18" FinishPos="17" Note="留言节点" />
  41. <cell Name="CELL_AUDIODTMF" Pos="17" PlayType="2" ContentType="1" Content="D:\midware\wav\OverTape.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
  42. TTSEngine="0" StopWhenDtmf="2" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="18" FailPos="18" HangupPos="18" Note="留言结束放音" />
  43. <cell Name="CELL_SQL" Pos="18" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=JYSD_HouseFundCallCenterServer;Data Source=192.168.1.88"
  44. SqlStr="INSERT INTO T_Call_LeaveRecord(F_Phone,F_LeaveTime,F_Status,F_RecFileUrl) VALUES('%[CallerID]',GETDATE(),0,'%[CallID]_%[CallerID]_%[StartTime].wav')" IsSaved="no"
  45. SuccessPos="19" FailPos="19" Note="留言入库" />
  46. <cell Name="CELL_HANGUP" Pos="19" Next="20" Note="挂机节点" />
  47. <cell Name="CELL_END" Pos="20" Note="结束节点" />
  48. <cell Name="CELL_SQL" Pos="21" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=JYSD_HouseFundCallCenterServer;Data Source=192.168.1.88"
  49. 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),'07:30:00',108) and Convert(varchar(20),getdate(),108)&lt;=Convert(varchar(20),'19:30',108)"
  50. IsSaved="yes" SuccessPos="22" FailPos="19" Note="节假日查询" />
  51. <cell Name="CELL_RECORDSET" Pos="22" LPos="23" EPos="23" GPos="23" Note="取节假日结果">
  52. <Map Var="HolidayVerify" />
  53. </cell>
  54. <cell Name="CELL_COMPARE" Pos="23" Data1Type="2" Data2Type="1" Data3Type="1" Data1="HolidayVerify" Data2="0" Data3="" VarType="1" CompareType="2" TruePos="8" FalsePos="24" Note="判断节假日" />
  55. <cell Name="CELL_AUDIODTMF" Pos="24" PlayType="1" ContentType="1" Content="D:\midware\wav\holiday.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
  56. TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="Key" SuccessPos="26" FailPos="19" HangupPos="20" Note="放节假日音" />
  57. <cell Name="CELL_AUDIODTMF" Pos="25" PlayType="2" ContentType="2" Content=" `vs40 为了保证服务质量, `p300 您的通话可能会被录音. `dig`vs30 %[AgentNo] `vs50 号话务员为您服务."
  58. TTSNumMode="1" TTSSpeed="50" TTSVolume="50" TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="2" FinishKey="#" KeyVar="" SuccessPos="14" FailPos="14" HangupPos="20" Note="播报工号" />
  59. <cell Name="CELL_BRANCH" Pos="26" Var="Key" DefaultPos="24" Note="节假日分支">
  60. <Branch Value="1" Pos="15" />
  61. </cell>
  62. <cell Name="CELL_SQL" Pos="27" ConnStr="Provider=SQLOLEDB.1;Password=800100;Persist Security Info=True;User ID=sa;Initial Catalog=JYSD_HouseFundCallCenterServer;Data Source=192.168.1.88"
  63. SqlStr="EXEC P_Sys_GetAreaAgent '%[CallerID]','%[CallID]'" IsSaved="yes" SuccessPos="28" FailPos="9" Note="读取专员号码" />
  64. <cell Name="CELL_RECORDSET" Pos="28" LPos="6" EPos="29" GPos="29" Note="取专员号码">
  65. <Map Var="AgentNo" />
  66. </cell>
  67. <cell Name="CELL_COMPARE" Pos="29" Data1Type="2" Data2Type="1" Data3Type="1" Data1="AgentNo" Data2="0" Data3=""
  68. VarType="1" CompareType="2" TruePos="30" FalsePos="9" Note="判断专员号码" />
  69. <cell Name="CELL_QUEUE" Pos="30" Strategy="4" VipLevelType="1" VipLevel="0" GroupType="1" Group="10" AgentVar="AgentNo" ExtenVar="AgentExtNo"
  70. NoAgentPos="31" NoFreePos="31" SuccessPos="32" HangupPos="20" Note="专员排队" />
  71. <cell Name="CELL_CANCELQUEUE" Pos="31" Reason="等烦了" Next="33" Note="放弃专员排队" />
  72. <cell Name="CELL_TURNAGENT" Pos="32" Exten="AgentExtNo" SuccessPos="20" FailPos="31" HangupPos="20" Note="转专员">
  73. <BandData Var="CallID" />
  74. </cell>
  75. <cell Name="CELL_AUDIODTMF" Pos="33" PlayType="2" ContentType="1" Content="D:\midware\wav\TurnAgentFailed.wav" TTSNumMode="1" TTSSpeed="50" TTSVolume="50"
  76. TTSEngine="0" StopWhenDtmf="1" MaxKeyCount="1" KeyPressInterval="3" FinishKey="#" KeyVar="" SuccessPos="19" FailPos="19" HangupPos="20" Note="转专员失败结束语" />
  77. </flow>
  78. </ivr>