⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkline.xml

📁 这是一个完整的呼叫中心端口检测程序.是我自已亲手写的.也是因为工作需要.奉献出来.希望大家喜欢.
💻 XML
📖 第 1 页 / 共 2 页
字号:
		<readinifile id="m1150" remark="查找指定的坐席" 
                 varname="checkseatno" 
                 inifile="ivr.ini"
                 section="ROUTE"
                 paramer="CheckSeatNo"
                 default=""
                 next="m11510"/>
		
		<if id="m11510" cond="errorport[0]=''" thengoto="m1155" elsegoto="m1151"/>
		
		<callseat id="m1151"
              remark="呼叫坐席"
              callerno=""
              calledno="checkseatno"
              seatno="checkseatno"
              waittime="45"
              waitid="1"
              returnchntype="chntype1"
              returnchnno="chnno1"
              returnseatno="checkseatno"
              next="m1152"/>
		
		<catch id="m1152" remark="等待呼叫结果">
      <onevent event="OnLinkHangon" goto="m1155"/>
      <onevent event="OnACDAns" goto="m1153"/>
      <onevent event="OnACDBusy" goto="m1155"/>
      <onevent event="OnACDTimeOut" goto="m1155"/>
      <onevent event="OnACDFail" goto="m1155"/>
      <onevent event="OnACDUNN" goto="m1155"/>
      <onevent event="OnHangon" goto="m1155"/>
    </catch>
		
		<fork id="m1153"
          remark="新产生1个会话"
          chntype="chntype1"
          chnno="chnno1"
          callerno="$S_CallerNo"
          calledno="checkseatno"
          inout="2"
          returnsession="callsession"
          goto="m1200"
          next="m1154"/>
		
		<switch id="m1154" remark="判断克窿是否成功">
       <case cond="callsession>0" goto="m1155"/>
       <default goto="m9"/>
    </switch>
		
		<starttimer id="m1155"
              remark="设置定时器1,定时延时五分钟"
              timerid="timer2"
              timelen="300"
              next="m1156"/>
		
		<catch id="m1156" 
           remark="判断定时器结果">
           <onevent event="OnHangon" goto="m9"/>
           <onevent event="OnTimer2" goto="m1000"/>
    </catch>
		
		<!--呼叫座席子会话-->
		<answer id="m1200"
            remark="呼入应答"
            answertype="1"
            next="m1201"/>
		
		<callsubformex id="m1201" subformid="SubForm01" next="m1202"/>
		
		<if id="m1202" cond="pr6<pr5" thengoto="m1203" elsegoto="m9"/>
		
		<multiplay id="m1203"
              remark="xxxx号端口测试失败"
              dtmfruleid="1"
              playruleid="1"
              mixtype1="value"
              content1="errorport[pr6]"
              mixtype2="file"
              content2="demovoc/checkline.voc"
              next="m1204"/>
		
		<catch id="m1204" remark="判断放音收码结果">
      <onevent event="OnHangon" goto="m9"/>
      <onevent event="OnPlayEnd" goto="m1205"/>
      <onevent event="OnRecvDTMF" goto="m1205"/>
      <onevent event="OnPlayError" goto="m1205"/>
      <onevent event="OnErrDTMF" goto="m1205"/>
    </catch>
		
		<inc id="m1205" varname="pr6" next="m1202"/>
		
		<!-- 测试子会话 -->
		<callout id="m1300"
             remark="呼出"
             callerno="111111"
             calledno="123456"
             waittime="10"
             outchnno="checkchnno"
             outchntype="1"
             returnchntype="chntype1"
             returnchnno="chnno1"
             next="m1302"/>
		
		<catch id="m1302">
      <onevent event="OnHangon" goto="m1304"/>
      <onevent event="OnOutAnswer" goto="m1304"/>
      <onevent event="OnOutCGC" goto="m1303"/>
      <onevent event="OnOutFail" goto="m1303"/>
    </catch>
		
		<math id="m1303" varname="statgroup[pr3]" expr="statgroup[pr3]+1" next="m1304"/>
		
		<hangon id="m1304" 
            remark="先释放内线然后释放"
            chntype="chntype1" 
            chnno="chnno1" 
            next="m9"/>

	<hangon id="m9"/>
</mainform>

<!-- 按键放音规则子流程 -->
  <subform id="SubForm01" remark="按键放音规则子流程" type="1" startid="s1000">
    <!-- 按键规则 -->
    <dtmfrule id="s1000"
              remark="收码规则1定义,不收按键"
              ruleid="1"
              digits=""
              break="true"
              transtype="0"
              minlength="0"
              maxlength="0"
              timeout="0"
              termdigits=""
              termid="false"
              next="s1001"/>
              
    <dtmfrule id="s1001"
              remark="收码规则2定义,收1位所有键"
              ruleid="2"
              digits="0123456789*#"
              break="true"
              transtype="0"
              minlength="1"
              maxlength="1"
              timeout="0"
              termdigits=""
              termid="false"
              next="s1002"/>

    <dtmfrule id="s1002"
              remark="收码规则3定义,收多位所有按健"
              ruleid="3"
              digits="0123456789*"
              break="true"
              transtype="0"
              minlength="1"
              maxlength="20"
              timeout="5"
              termdigits="#"
              termid="false"
              next="s1003"/>
              
    <dtmfrule id="s1003"
              remark="收码规则4定义,收2位所有键"
              ruleid="4"
              digits="0123456789"
              break="true"
              transtype="0"
              minlength="6"
              maxlength="6"
              timeout="5"
              termdigits=""
              termid="false"
              next="s1004"/>
              
  <dtmfrule id="s1004" 
  					remark="按键规则1:接收单号" 
  					ruleid="5" 
  					digits="1234567890*" 
  					break="true" 
  					transtype="false" 
  					minlength="1" 
  					maxlength="20" 
  					timeout="5" 
  					termdigits="#" 
  					termid="false" 
  					next="s1005"/>
  
  <dtmfrule id="s1005" 
  					remark="按键规则2:" 
  					ruleid="6" 
  					digits="1*" 
  					break="true" 
  					transtype="false" 
  					minlength="1" 
  					maxlength="1" 
  					timeout="0" 
  					termdigits="" 
  					termid="false" 
  					next="s1006"/>
  
  <dtmfrule id="s1006" 
  					remark="按键规则3:" 
  					ruleid="7" 
  					digits="19#" 
  					break="true" 
  					transtype="false" 
  					minlength="1" 
  					maxlength="1" 
  					timeout="0" 
  					termdigits="" 
  					termid="false" 
  					next="s1007"/>
  
  <dtmfrule id="s1007" 
  					remark="按键规则4:" 
  					ruleid="8" 
  					digits="10" 
  					break="true" 
  					transtype="false" 
  					minlength="1" 
  					maxlength="1" 
  					timeout="0" 
  					termdigits="" 
  					termid="false" 
  					next="s1008"/>
  
  <dtmfrule id="s1008"
              remark="收码规则3定义:接收固定长度数字串"
              ruleid="9"
              digits="0123456789"
              break="true"
              transtype="0"
              minlength="3"
              maxlength="3"
              timeout="5"
              termdigits=""
              termid="false"
              next="s1020"/>
              
    <!-- 放音规则 -->
    <playrule id="s1020"
              remark="放音规则1定义,放1遍"
              ruleid="1"
              format="1"
              repeat="1"
              broadcast="false"
              volume="0"
              speech="chinese"
              voice="female"
              pause="0"
              error="false"
              next="s1021"/>

    <playrule id="s1021"
              remark="放音规则2定义,放3遍"
              ruleid="2"
              format="1"
              repeat="3"
              broadcast="false"
              volume="0"
              speech="chinese"
              voice="female"
              pause="3"
              error="false"
              next="s1022"/>
              
    <playrule id="s1022"
              remark="放音规则3定义,循环放音"
              ruleid="3"
              format="1"
              repeat="0"
              broadcast="false"
              volume="0"
              speech="chinese"
              voice="female"
              pause="0"
              error="false"
              next="s1025"/>

    <asrrule id="s1025"
             ruleid="1"
             grammar="gram.xml"
             next="s1030"/>
              
    <return id="s1030"/>
  </subform>
  </myvxml>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -