📄 kitrule.xml
字号:
<?xml version="1.0" encoding="gb2312"?>
<rulelist kitnum="2">
<sorttype sorttype="0" sortname="系统子流程类">
<rule kitid="0">
<!-- 系统指令套件定义 -->
<name>SysForm01</name>
<explain>放音收码规则</explain>
<type>0</type>
<icon>SysForm01.ico</icon>
<remark>用来定义会话的放音及按键规则</remark>
<attrlist attrnum="3">
<attr attrid="0">
<attrname>id</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault>SubForm01</attrdefault>
<attrremark>子流程地址标志(id)</attrremark>
</attr>
<attr attrid="1">
<attrname>remark</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault></attrdefault>
<attrremark>备注</attrremark>
</attr>
<attr attrid="2">
<attrname>next</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault></attrdefault>
<attrremark>调用完后返回的指令行标识(id)</attrremark>
</attr>
</attrlist>
<!-- 系统指令套件代码 -->
<!-- 脚本原代码区 -->
<!-- 按键放音规则子流程 -->
<subform id="SysForm01" remark="按键放音规则子流程" type="2" startid="s2011">
<!-- 按键规则 -->
<dtmfrule id="s2011"
remark="收码规则1定义,不收按键"
ruleid="1"
digits=""
break="false"
transtype="0"
minlength="0"
maxlength="0"
timeout="0"
termdigits=""
termid="false"
next="s2012"/>
<dtmfrule id="s2012"
remark="收码规则2定义,收1位所有键"
ruleid="2"
digits="0123456789*#"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s2013"/>
<dtmfrule id="s2013"
remark="收码规则3定义:输入一串数字"
ruleid="3"
digits="0123456789"
break="true"
transtype="0"
minlength="1"
maxlength="20"
timeout="5"
termdigits="#"
termid="false"
next="s2014"/>
<dtmfrule id="s2014"
remark="收码规则4定义:接收固定长度数字串"
ruleid="4"
digits="0123456789"
break="true"
transtype="0"
minlength="6"
maxlength="10"
timeout="5"
termdigits="#"
termid="false"
next="s2015"/>
<dtmfrule id="s2015"
remark="收码规则5定义,收1位01234键"
ruleid="5"
digits="0123456"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s2016"/>
<dtmfrule id="s2016"
remark="收码规则6定义,收1位123*键"
ruleid="6"
digits="123*"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s2017"/>
<dtmfrule id="s2017"
remark="收码规则7定义,收1位12*键"
ruleid="7"
digits="12*"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s2018"/>
<dtmfrule id="s2018"
remark="收码规则8定义,收1位#键"
ruleid="8"
digits="#"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s2019"/>
<dtmfrule id="s2019"
remark="收码规则9定义,收1位1*键"
ruleid="9"
digits="1*"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s20110"/>
<dtmfrule id="s20110"
remark="收码规则10定义,收1位01键"
ruleid="10"
digits="01"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s20111"/>
<dtmfrule id="s20111"
remark="收码规则11定义,收1位012*键"
ruleid="11"
digits="012*"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s20112"/>
<dtmfrule id="s20112"
remark="收码规则11定义,收1位01*键"
ruleid="12"
digits="01*"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s20113"/>
<dtmfrule id="s20113"
remark="收码规则6定义,收1位1234*键"
ruleid="13"
digits="1234*"
break="true"
transtype="0"
minlength="1"
maxlength="1"
timeout="0"
termdigits=""
termid="false"
next="s20114"/>
<!-- 放音规则 -->
<playrule id="s20114"
remark="放音规则1定义,放1遍"
ruleid="1"
format="1"
repeat="1"
broadcast="false"
volume="0"
speech="chinese"
voice="female"
pause="0"
error="false"
next="s20115"/>
<playrule id="s20115"
remark="放音规则2定义,放3遍"
ruleid="2"
format="1"
repeat="3"
broadcast="false"
volume="0"
speech="chinese"
voice="female"
pause="3"
error="false"
next="s20116"/>
<playrule id="s20116"
remark="放音规则3定义,循环放音"
ruleid="3"
format="1"
repeat="0"
broadcast="false"
volume="0"
speech="chinese"
voice="female"
pause="0"
error="false"
next="s20117"/>
<playrule id="s20117"
remark="放音规则3定义,放1遍停3秒"
ruleid="4"
format="1"
repeat="1"
broadcast="false"
volume="0"
speech="chinese"
voice="female"
pause="3"
error="false"
next="s20118"/>
<playrule id="s20118"
remark="放音规则3定义,放1遍停1秒"
ruleid="5"
format="1"
repeat="1"
broadcast="false"
volume="0"
speech="chinese"
voice="female"
pause="2"
error="false"
next="s20119"/>
<asrrule id="s20119"
ruleid="1"
grammar="gram.xml"
next="s20120"/>
<return id="s20120"/>
</subform>
</rule>
<rule kitid="1">
<!-- 系统指令套件定义 -->
<name>SysForm02</name>
<explain>挂机处理子流程</explain>
<type>0</type>
<icon>SysForm02.ico</icon>
<remark>用来处理挂机事务</remark>
<attrlist attrnum="4">
<attr attrid="0">
<attrname>id</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault>SubForm01</attrdefault>
<attrremark>子流程地址标志(id)</attrremark>
</attr>
<attr attrid="1">
<attrname>remark</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault></attrdefault>
<attrremark>备注</attrremark>
</attr>
<attr attrid="2">
<attrname>startbilltime</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault></attrdefault>
<attrremark>起始计费时间</attrremark>
</attr>
<attr attrid="3">
<attrname>endbilltime</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault></attrdefault>
<attrremark>终止计费时间</attrremark>
</attr>
<attr attrid="4">
<attrname>next</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
<attrmacrotype>0</attrmacrotype>
<attrmacrono>0</attrmacrono>
<attrdefault></attrdefault>
<attrremark>调用完后返回的指令行标识(id)</attrremark>
</attr>
</attrlist>
<!-- 系统指令套件代码 -->
<!-- 脚本原代码区 -->
<!-- 挂机子流程 -->
<subform id="SysForm02" remark="写话单及挂机子流程" type="2" startid="s2021">
<writebill id="s2021" funcgroup="1" funcno="1" tollid="0"
callerno="$S_CallerNo"
calledno="$S_CalledNo"
account=""
starttime="startbilltime"
endtime="endbilltime"
next="s2022"/>
<catch id="s2022" remark="判断数据库操作结果">
<onevent event="OnDBSuccess" goto="s2023"/>
<onevent event="OnDBFail" goto="s2023"/>
</catch>
<hangon id="s2023"/>
</subform>
</rule>
<rule kitid="1">
<name>SysForm01</name>
<explain>收码规则子流程</explain>
<type>2</type>
<icon>SysForm01.ico</icon>
<remark>
$S_PRA0:按键长度
</remark>
<attrlist attrnum="0">
<attr attrid="0">
<attrname>S_PRA0</attrname>
<attrvartype>5</attrvartype>
<attropertype>0</attropertype>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -