?? 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 + -