testTrans_3.flow
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[var1]
type = string
name = playfile
initial = /home/huxiaolong/ivr20/hold_music.wav
[var2]
type = string
name = usrname
initial = kog
[var3]
type = string
name = agentname
initial=
[var4]
type = string
name = usrname_res
initial=
[var5]
type = string
name = imsres
initial=
[var6]
type = string
name = wcallid
initial=
[var7]
type = string
name = tid
initial=
[node1]
type = Answer
descript = answer
Callid = ${_CALLID}
_Success = 2
_Failure = 2
[node2]
type = RequestAgent
descript = request agent
Callid=${_CALLID}
TimeOut=60
ValidTime=30
ReqType=RR_TypeSkill
ReqArgs=321
filename=${playfile}
_Success = 3
_Failure = 11
[node3]
type = SetAssociateData
descript = set associatedata
key = usr
value = ${usrname}
_Success = 5
_Failure = 5
[node4]
type=WriteLog
descript = writedata
businame=IVR
exp=failed
_Success = 0
_Failure = 0
[node5]
type = WaitEvent
descript = wait response result
uuid=wcallid
data=imsres
_imsrouteresponse=6
_success = 5
_failure = 4
[node6]
type = RequestResponseCompare
descript = requestresult check
response=${imsres}
Agent=agentname
_Success=9
_Failure=11
[node7]
type = TransAgent
descript = trans agent
TransType= TT_ANSWER
_Success = 8
_Failure = 11
[node8]
type = GetAssociateData
descript = get usrname
key = usr
value = usrname_res
_Success=0
_Failure=4
[node9]
type = RegTimer
descript = addnewtimer
timerid = 1
waittime=60
_success=10
_failure=0
[node10]
type = WaitEvent
descript = wait stop ims
uuid=wcallid
data=tid
_timeout=7
_success = 10
_failure = 0
[node11]
type = RegTimer
descript = addnewtimer
timerid = 1
waittime=60
_success=12
_failure=0
[node12]
type = WaitEvent
descript = wait stop ims
uuid=wcallid
data=tid
_timeout=2
_success = 12
_failure = 0