Author Message
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Dear Sir,

I have condition to handle and stamp information to DB as detail below:-
Start = > data_node1 = > Announce 1 = > data node2 = > Announce 2 = > MainMenu

- use the flush prompt in all node.
- Check Ondisconnect in Approot

I would like to stamp DB as folllow: -
- Hangup during listen the Announce 1 => Stamp DB with status = 1
- Hangup during listen the Announce 2 => Stamp DB with status = 2
- Hangup during listen the MainMenu => Stamp DB with status = 3

But I have the problem that it always stamp DB with status =3 in all case above.

In trace.log, I found that everytime this IVR App start running. it will read all until the MainMenu node.
it always stamp DB with status =3 in all case above.

I would like you please help me how to handle this all case above.

And Can I handle the AVB to read or hold the line until caller finished listening the Announce in each node.

Please give me any suggestion.
Thank you.

Chukiat D.

log file:

17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : Retrieve_DB
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___vprdnis to complex: session:vprdnis as [undefined]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :redirectinfo___uri to complex: redirectinfo:uri as []
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :redirectinfo___presentationinfo to complex: redirectinfo:presentationinfo as []
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___channel to complex: session:channel as [51201]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :shareduui___value to complex: shareduui:value as [unknown]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___sessionlabel to complex: session:sessionlabel as [undefined]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :shareduui___id to complex: shareduui:id as [unknown]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :redirectinfo___reason to complex: redirectinfo:reason as []
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___vpcalledextension to complex: session:vpcalledextension as [51201]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___ani to complex: session:ani as [undefined]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___protocolname to complex: session:protocolname as [H323]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :redirectinfo___screeninginfo to complex: redirectinfo:screeninginfo as []
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___vpcoveragereason to complex: session:vpcoveragereason as [undefined]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___sharedmode to complex: session:sharedmode as [serviceprovider]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___calltag to complex: session:calltag as [CCVPDP01-51201-2009198071737]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___dnis to complex: session:dnis as [tel:64996]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___vpcoveragetype to complex: session:vpcoveragetype as [undefined]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___uui to complex: session:uui as [1_20090422]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___protocolversion to complex: session:protocolversion as [1.0]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Storing :session___aai to complex: session:aai as [1_20090422]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : [condition1] Condition [session:uui] Is Empty
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : [condition2] Condition [session:uui] String Equal Ignorecase [unknown] next [null]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : IndexOf [_] in [Operations:Agent] to [Operations:IndexOf_]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Substring [Operations:Agent] to [Operations:Record_no] start [0] number of characters [1]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Adding [Operations:IndexOf_] and [1] to [Operations:IndexOf_]
17/07/2552 14:27:50 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Substring [Operations:Agent] to [Operations:Date_Imported] start [2] number of characters [8]
17/07/2552 14:27:50 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Executing DB statement : [SELECT OBC_CACHE_MASTER.DATE_IMPORTED, OBC_CACHE_MASTER.RECORD_NO, OBC_CACHE_MASTER.MSISDN, OBC_CACHE_MASTER.DEBT_AGE, OBC_CACHE_MASTER.CREDIT_CLASS, OBC_CACHE_MASTER.CONTACT_LANGUAGE, OBC_CACHE_MASTER.PAST_DUE_AMOUNT, OBC_CACHE_MASTER.CURRENT_STATUS, OBC_CACHE_MASTER.TOTAL_RETRY, OBC_CACHE_MASTER.IN_USE_FLAG FROM AVP1.OBC_CACHE_MASTER WHERE ( ( OBC_CACHE_MASTER.DATE_IMPORTED = ? ) AND ( OBC_CACHE_MASTER.RECORD_NO = ? ) )]
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Rows affected : [1]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [DB_Record:C04_MSISDN] to [Operations:Outbound_Phone]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [DB_Record:C09_Past_Due_Amount] to [Operations:Past_Due_Amount]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [DB_Record:C10_Current_Status] to [Operations:Current_Status]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [DB_Record:C11_Total_Retry] to [Operations:Total_Retry]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : SetLanguage
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : Set_State_1
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [1] to [Operations:State]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [6] to [DB_Record:C10_Current_Status]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [0] to [DB_Record:C12_In_Use_Flag]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [Operations:Total_Retry] to [DB_Record:C11_Total_Retry]
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Executing DB statement : [UPDATE AVP1.OBC_CACHE_MASTER SET CURRENT_STATUS = ? , TOTAL_RETRY = ? , IN_USE_FLAG = ? WHERE ( ( OBC_CACHE_MASTER.DATE_IMPORTED = ? ) AND ( OBC_CACHE_MASTER.RECORD_NO = ? ) )]
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Rows affected : [1]
17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : True_Debt_Info
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : *** Reply for [/True_OB_CL/Retrieve_DB] ***
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="fetchaudio" value="http://172.30.175.82:8080/True_OB_CL/data/ddfetchAudio.wav" />
8:<form id="True_Debt_Info">
9:<block>
10:<prompt bargein="true" bargeintype="speech" timeout="8000ms">
11:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/m500.wav"/>
12:</prompt>
13:</block>
14:<block>
15:<submit next="Set_State_2?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
16:</block>
17:</form>
18:</vxml>
19:

17/07/2552 14:27:51 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : AppRoot
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : *** Reply for [/True_OB_CL/AppRoot] ***
17/07/2552 14:27:51 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUp?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUp?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
116:</catch>
117:</vxml>
118:

17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : Set_State_2
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : [condition1] Condition [MainMenu:value] String Equal Ignorecase [0] next [null]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [2] to [Operations:State]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [7] to [DB_Record:C10_Current_Status]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [0] to [DB_Record:C12_In_Use_Flag]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [Operations:Total_Retry] to [DB_Record:C11_Total_Retry]
17/07/2552 14:27:54 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Executing DB statement : [UPDATE AVP1.OBC_CACHE_MASTER SET CURRENT_STATUS = ? , TOTAL_RETRY = ? , IN_USE_FLAG = ? WHERE ( ( OBC_CACHE_MASTER.DATE_IMPORTED = ? ) AND ( OBC_CACHE_MASTER.RECORD_NO = ? ) )]
17/07/2552 14:27:54 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Rows affected : [1]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : Past_Due_Amount
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : [condition] Condition [DB_Record:C05_DEBT_AGE] Numeric Equal [7] next [null]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : [condition] Condition [DB_Record:C05_DEBT_AGE] Numeric Equal [8] next [null]
17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : [condition] Condition [DB_Record:C05_DEBT_AGE] Numeric Equal [9] next [null]
17/07/2552 14:27:54 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : *** Reply for [/True_OB_CL/Set_State_2] ***
17/07/2552 14:27:54 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="fetchaudio" value="http://172.30.175.82:8080/True_OB_CL/data/ddfetchAudio.wav" />
8:<form id="Past_Due_Amount">
9:<block>
10:<prompt bargein="true" bargeintype="speech" timeout="8000ms">
11:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/m503.wav"/>
12:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/0033.wav">:3</audio>
13:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/0094.wav">:100s</audio>
14:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/0032.wav">:2</audio>
15:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/1015.wav">baht</audio>
16:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/3047.wav">:80th</audio>
17:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/0035.wav">:5</audio>
18:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/1016.wav">satang</audio>
19:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/m501.wav"/>
20:</prompt>
21:</block>
22:<block>
23:<submit next="Set_State_3?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
24:</block>
25:</form>
26:</vxml>
27:

17/07/2552 14:27:54 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : AppRoot
17/07/2552 14:27:54 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : *** Reply for [/True_OB_CL/AppRoot] ***
17/07/2552 14:27:54 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUp?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUp?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
116:</catch>
117:</vxml>
118:

17/07/2552 14:28:12 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : Set_State_3
17/07/2552 14:28:12 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Assigning [3] to [Operations:State]
17/07/2552 14:28:12 INFO - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : Using SCESession 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL servlet : MainMenu
17/07/2552 14:28:12 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : *** Reply for [/True_OB_CL/Set_State_3] ***
17/07/2552 14:28:12 DEBUG - 2A36CFCB18C5341EFBCC2A49E284E0B1:/True_OB_CL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="maxnbest" value="1"/>
8:<var name="nbest" expr="1"/>
9:<var name="MainMenu___value"/>
10:<var name="MainMenu___confidence"/>
11:<var name="MainMenu___utterance"/>
12:<var name="MainMenu___inputmode"/>
13:<var name="MainMenu___interpretation" expr="'undefined'"/>
14:<var name="ddmenuchoice"/>
15:<menu id="MainMenu">
16:<property name="fetchtimeout" value="10s" />
17:<prompt bargein="true" bargeintype="speech" timeout="8000ms">
18:<audio src="http://172.30.175.82:8080/True_OB_CL/data/thai/phrases/m506.wav"/>
19:</prompt>
20:<choice dtmf="0" accept="exact" next="#choice0">
21:</choice>
22:<choice dtmf="#" accept="exact" next="#choice1">
23:</choice>
24:<catch event="noinput">
25: <throw event="NoInput"/>
26:</catch>
27:<catch event="nomatch">
28: <throw event="NoMatch"/>
29:</catch>
30:<catch event="NoInput" count="1">
31:<reprompt/>
32:</catch>
33:<catch event="NoInput" count="3">
34:<goto next="Updated_DB_HangUp?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
35:</catch>
36:<catch event="NoMatch" count="1">
37:<reprompt/>
38:</catch>
39:<catch event="NoMatch" count="3">
40:<goto next="Updated_DB_HangUp?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL"/>
41:</catch>
42:</menu>
43:<form id="choice0">
44:<block>
45:<assign name="ddmenuchoice" expr="'Set_TransferAgent?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL'"/>
46:<goto next="#ddfinish"/>
47:</block>
48:</form>
49:<form id="choice1">
50:<block>
51:<assign name="ddmenuchoice" expr="'True_Debt_Info?___DDSESSIONID=2A36CFCB18C5341EFBCC2A49E284E0B1%3A%2FTrue_OB_CL'"/>
52:<goto next="#ddfinish"/>
53:</block>
54:</form>
55:<form id="ddfinish">
56:<block>
57:<assign name="MainMenu___confidence" expr="getnbest('confidence', nbest)"/>
58:<assign name="MainMenu___utterance" expr="getnbest('utterance', nbest)"/>
59:<assign name="MainMenu___inputmode" expr="getnbest('inputmode', nbest)"/>
60:<assign name="MainMenu___interpretation" expr="getnbest('interpretation', nbest)"/>
61:<if cond="startswith(MainMenu___interpretation, 'undefined') == true ">
62: <assign name="MainMenu___interpretation" expr="getnbest('interpretation', nbest)"/>
63:</if>
64:<assign name="MainMenu___value" expr="MainMenu___interpretation"/>
65:<submit expr="ddmenuchoice" namelist="MainMenu___value MainMenu___confidence MainMenu___utterance MainMenu___inputmode MainMenu___interpretation " method="post"/>
66:</block>
67:</form>
68:</vxml>
69:
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
I created a sample application per you description and has some success with it in simulation. (5.0) there is a hangup bug in the 4.1 avb on the desktop.
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

Thank you for your response.

It work on the simulation (4.1) but I export to the war file
And Deploy the Tomcat Server and test on the AVP 4.1 SP2.

It can detect the hangup, When I am listening the announce 1, But as I see in the trace.log that it stamp log from stat node until the Mainmenu node.

So when I hangup the data will Stamp DB with status = 3

Please give me any suggestion how to hold to played announce in announce node before transitioning to the next node.

Besides, what is the different between adding the flush prompt item before / after the prompt item ?

Chukiat D.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
It does not matter where the "flush prompts" is places as it just translates to a VXML property. This sounds like an issue with the platform voice browser. You may need to open a support request against the platform.

I do not have access to a 4.1 vp system at the moment to test this. I but will try it on a vp 5.0 system.
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

Thank you for information.

It means that AVB in VP 4.1 should normally hold to played announce in announce node before transitioning to the next node, is it ?

And during this time, trace.log should see the log until the Announce node only, it it ?

However, What is the reason I can see the yellow highlight in the announce node if I input the flush prompt in simulation node. So is it should not be the bug in the VP4 because in simulation can hold ?

Please advice.
Thank you.

Chukiat D.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Here is what the platform folks tell me:

"It has a lot to do with bargein setting. If bargein is "true", VP will put all 4 prompts in the queue and then start playing them. Otherwise, it will put one in queue, play it, then put the next in queue, play it, then the next one"
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi Ross,

Thank you for information.

As checking in trace.log, I found the bargin is "true".

So I have some questions as detail below:-
- So it means that if I set the bargein = "False", it will put one in queue, play it, then put the next in queue, play it, then the next one , isn't it ?


- If yes, Can I use the DD app to overwrite the bargein ?
- And how can I set the bargein = false ?
- Normally, Should I set the bargein = "true" or "False" ?

Please give me advise.
Thank you.

Chukiat
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

I follow up your advise by setup the bargein = 'false'.
in order to AVB will put one in queue, play it, then put the next in queue, play it, then the next one.

But I got the same problem that the AVB read all node until the Menu node and go to the next node in the item "no input ". So I could not handle the which node that customer hand up.

Note: I use the AppInfws to outbound call and trigger the VXMLMethod to call the DD App.


Could you please give me how to queue or hold the AVB to waiting for finished Announce prompt before read the next node ?

Please advise.

This is the trace.log

20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Retrieve_DB
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___vprdnis to complex: session:vprdnis as [undefined]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :redirectinfo___uri to complex: redirectinfo:uri as []
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :redirectinfo___presentationinfo to complex: redirectinfo:presentationinfo as []
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___channel to complex: session:channel as [51206]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :shareduui___value to complex: shareduui:value as [unknown]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___sessionlabel to complex: session:sessionlabel as [undefined]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :shareduui___id to complex: shareduui:id as [unknown]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :redirectinfo___reason to complex: redirectinfo:reason as []
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___vpcalledextension to complex: session:vpcalledextension as [51206]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___ani to complex: session:ani as [undefined]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___protocolname to complex: session:protocolname as [H323]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :redirectinfo___screeninginfo to complex: redirectinfo:screeninginfo as []
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___vpcoveragereason to complex: session:vpcoveragereason as [undefined]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___sharedmode to complex: session:sharedmode as [serviceprovider]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___calltag to complex: session:calltag as [CCVPMP01-51206-2009201111115]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___dnis to complex: session:dnis as [tel:00813922940]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___vpcoveragetype to complex: session:vpcoveragetype as [undefined]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___uui to complex: session:uui as [2_20090422]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___protocolversion to complex: session:protocolversion as [1.0]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Storing :session___aai to complex: session:aai as [2_20090422]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition1] Condition [session:uui] Is Empty
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition2] Condition [session:uui] String Equal Ignorecase [unknown] next [null]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : IndexOf [_] in [session:uui] to [Operations:IndexOf_]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Substring [session:uui] to [Operations:Record_no] start [0] number of characters [1]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Adding [Operations:IndexOf_] and [1] to [Operations:IndexOf_]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Substring [session:uui] to [Operations:Date_Imported] start [2] number of characters [8]
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Executing DB statement : [SELECT OBC_CACHE_MASTER.DATE_IMPORTED, OBC_CACHE_MASTER.RECORD_NO, OBC_CACHE_MASTER.MSISDN, OBC_CACHE_MASTER.DEBT_AGE, OBC_CACHE_MASTER.CREDIT_CLASS, OBC_CACHE_MASTER.CONTACT_LANGUAGE, OBC_CACHE_MASTER.PAST_DUE_AMOUNT, OBC_CACHE_MASTER.CURRENT_STATUS, OBC_CACHE_MASTER.TOTAL_RETRY, OBC_CACHE_MASTER.IN_USE_FLAG FROM AVP1.OBC_CACHE_MASTER WHERE ( ( OBC_CACHE_MASTER.DATE_IMPORTED = ? ) AND ( OBC_CACHE_MASTER.RECORD_NO = ? ) )]
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Rows affected : [1]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [DB_Record:C04_MSISDN] to [Operations:Outbound_Phone]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [DB_Record:C09_Past_Due_Amount] to [Operations:Past_Due_Amount]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [DB_Record:C10_Current_Status] to [Operations:Current_Status]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [DB_Record:C11_Total_Retry] to [Operations:Total_Retry]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : SetLanguage
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Set_State_1
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [1] to [Operations:State]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [time:second] to [Operations:Start_Time]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [6] to [DB_Record:C10_Current_Status]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [1] to [DB_Record:C12_In_Use_Flag]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [Operations:Total_Retry] to [DB_Record:C11_Total_Retry]
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Executing DB statement : [UPDATE AVP1.OBC_CACHE_MASTER SET CURRENT_STATUS = ? , TOTAL_RETRY = ? , IN_USE_FLAG = ? WHERE ( ( OBC_CACHE_MASTER.DATE_IMPORTED = ? ) AND ( OBC_CACHE_MASTER.RECORD_NO = ? ) )]
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Rows affected : [1]
20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : True_Debt_Info
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/Retrieve_DB] ***
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="fetchaudio" value="http://172.30.175.82:8080/True_OUTBCL/data/ddfetchAudio.wav" />
8:<form id="True_Debt_Info">
9:<block>
10:<prompt bargein="false" timeout="8000ms">
11:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/m500.wav"/>
12:</prompt>
13:</block>
14:<block>
15:<submit next="True_Past_Due_Amount_1?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
16:</block>
17:</form>
18:</vxml>
19:

20/07/2552 18:12:21 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : AppRoot
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/AppRoot] ***
20/07/2552 18:12:21 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
116:</catch>
117:</vxml>
118:

20/07/2552 18:12:25 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : True_Past_Due_Amount_1
20/07/2552 18:12:25 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/True_Past_Due_Amount_1] ***
20/07/2552 18:12:25 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="fetchaudio" value="http://172.30.175.82:8080/True_OUTBCL/data/ddfetchAudio.wav" />
8:<form id="True_Past_Due_Amount_1">
9:<block>
10:<prompt bargein="false" timeout="8000ms">
11:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/m503.wav"/>
12:</prompt>
13:</block>
14:<block>
15:<submit next="Past_Due_Amount?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
16:</block>
17:</form>
18:</vxml>
19:

20/07/2552 18:12:25 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : AppRoot
20/07/2552 18:12:25 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/AppRoot] ***
20/07/2552 18:12:25 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
116:</catch>
117:</vxml>
118:

20/07/2552 18:12:28 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Past_Due_Amount
20/07/2552 18:12:28 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/Past_Due_Amount] ***
20/07/2552 18:12:28 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="fetchaudio" value="http://172.30.175.82:8080/True_OUTBCL/data/ddfetchAudio.wav" />
8:<form id="Past_Due_Amount">
9:<block>
10:<prompt bargein="false" timeout="8000ms">
11:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/0031.wav">:1</audio>
12:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/0095.wav">:1000s</audio>
13:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/0032.wav">:2</audio>
14:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/0094.wav">:100s</audio>
15:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/3046.wav">:70th</audio>
16:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/1015.wav">baht</audio>
17:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/3045.wav">:60th</audio>
18:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/0034.wav">:4</audio>
19:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/1016.wav">satang</audio>
20:</prompt>
21:</block>
22:<block>
23:<submit next="Past_Due_Amount_3?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
24:</block>
25:</form>
26:</vxml>
27:

20/07/2552 18:12:28 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : AppRoot
20/07/2552 18:12:28 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/AppRoot] ***
20/07/2552 18:12:28 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
116:</catch>
117:</vxml>
118:

20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Past_Due_Amount_3
20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition] Condition [DB_Record:C05_DEBT_AGE] Numeric Equal [7] next [null]
20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition] Condition [DB_Record:C05_DEBT_AGE] Numeric Equal [8] next [null]
20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition] Condition [DB_Record:C05_DEBT_AGE] Numeric Equal [9] next [null]
20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition] Condition [DB_Record:C07_Credit_Class] String Equal Ignorecase [A] next [null]
20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition] Condition [DB_Record:C07_Credit_Class] String Equal Ignorecase [B] next [null]
20/07/2552 18:12:34 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/Past_Due_Amount_3] ***
20/07/2552 18:12:34 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="fetchaudio" value="http://172.30.175.82:8080/True_OUTBCL/data/ddfetchAudio.wav" />
8:<form id="Past_Due_Amount_3">
9:<block>
10:<prompt bargein="false" timeout="8000ms">
11:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/m503.wav"/>
12:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/m505.wav"/>
13:</prompt>
14:</block>
15:<block>
16:<submit next="MainMenu?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
17:</block>
18:</form>
19:</vxml>
20:

20/07/2552 18:12:34 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : AppRoot
20/07/2552 18:12:34 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/AppRoot] ***
20/07/2552 18:12:34 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
116:</catch>
117:</vxml>
118:

20/07/2552 18:12:50 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : MainMenu
20/07/2552 18:12:50 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/MainMenu] ***
20/07/2552 18:12:50 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<property name="maxnbest" value="1"/>
8:<var name="nbest" expr="1"/>
9:<var name="MainMenu___value"/>
10:<var name="MainMenu___confidence"/>
11:<var name="MainMenu___utterance"/>
12:<var name="MainMenu___inputmode"/>
13:<var name="MainMenu___interpretation" expr="'undefined'"/>
14:<var name="ddmenuchoice"/>
15:<menu id="MainMenu">
16:<prompt bargein="false" timeout="8000ms">
17:<audio src="http://172.30.175.82:8080/True_OUTBCL/data/thai/phrases/m506.wav"/>
18:</prompt>
19:<choice dtmf="0" accept="exact" next="#choice0">
20:</choice>
21:<choice dtmf="#" accept="exact" next="#choice1">
22:</choice>
23:<catch event="noinput">
24:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
25:</catch>
26:<catch event="nomatch">
27:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
28:</catch>
29:</menu>
30:<form id="choice0">
31:<block>
32:<assign name="ddmenuchoice" expr="'Set_TransferAgent?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL'"/>
33:<goto next="#ddfinish"/>
34:</block>
35:</form>
36:<form id="choice1">
37:<block>
38:<assign name="ddmenuchoice" expr="'Set_Flag?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL'"/>
39:<goto next="#ddfinish"/>
40:</block>
41:</form>
42:<form id="ddfinish">
43:<block>
44:<assign name="MainMenu___confidence" expr="getnbest('confidence', nbest)"/>
45:<assign name="MainMenu___utterance" expr="getnbest('utterance', nbest)"/>
46:<assign name="MainMenu___inputmode" expr="getnbest('inputmode', nbest)"/>
47:<assign name="MainMenu___interpretation" expr="getnbest('interpretation', nbest)"/>
48:<if cond="startswith(MainMenu___interpretation, 'undefined') == true ">
49: <assign name="MainMenu___interpretation" expr="getnbest('interpretation', nbest)"/>
50:</if>
51:<assign name="MainMenu___value" expr="MainMenu___interpretation"/>
52:<submit expr="ddmenuchoice" namelist="MainMenu___value MainMenu___confidence MainMenu___utterance MainMenu___inputmode MainMenu___interpretation " method="post"/>
53:</block>
54:</form>
55:</vxml>
56:

20/07/2552 18:12:50 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : AppRoot
20/07/2552 18:12:50 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/AppRoot] ***
20/07/2552 18:12:50 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<script>
8:function getnbest( item, nbest ) {
9: var len = application.lastresult$.length;
10: var result = "";
11:
12: if ( len &gt; nbest) {
13: len = nbest;
14: }
15: for (var i = 0; i &lt; len; i++) {
16: if (i &gt; 0) {
17: result += " |";
18: }
19: var temp = "application.lastresult$[" + i + "]." + item;
20: result += extractprops( "", eval(temp));
21: }
22: return result;
23:}
24:
25:function extractprops ( parent, obj ) {
26: var prop, name, result = "";
27: var count = 1;
28: if ( typeof ( obj ) == "object" ) {
29: for ( prop in obj ) {
30: name = parent + prop;
31: if ( typeof ( obj [ prop ] ) == "object" ) {
32: result += extractprops( name+".", obj [ prop ] );
33: } else {
34: if (count == 1) {
35: result = obj [ prop ];
36: } else {
37: result += " " + obj [ prop ];
38: }
39: }
40: count = count + 1;
41: }
42: } else {
43: if (obj == undefined ) {
44: result += "undefined";
45: } else {
46: result += obj;
47: }
48: }
49: return result;
50:}
51:
52:function startswith ( value, startwith ) {
53: var index;
54: index = value.indexOf(startwith, 0);
55: if ( index == 0 ) {
56: return true;
57: } else {
58: return false;
59: }
60:}
61:
62:function containsUndefined ( value ) {
63: var index;
64: index = value.indexOf('undefined', 0);
65: if ( index == -1 ) {
66: return false;
67: } else {
68: return true;
69: }
70:}
71:
72:</script>
73:<script>
74:function objectToString( obj ) {
75: try {
76: var result = "";
77: result += getobjectprops( "", obj);
78: if (result.charAt(0) == '|' ) {
79: result = result.substring(1);
80: }
81: } catch (errMsg) {
82: return("undefined");
83: }
84: return result;
85:}
86:
87:function getobjectprops ( parent, obj ) {
88: var prop, name, result = "";
89: if ( typeof ( obj ) == "object" ) {
90: for ( prop in obj ) {
91: name = parent + prop;
92: if ( typeof ( obj [ prop ] ) == "object" ) {
93: result += extractprops( name+".", obj [ prop ] );
94: } else {
95: result += "|" + obj [ prop ];
96: }
97: }
98: } else {
99: if (obj == undefined ) {
100: result += "undefined";
101: } else {
102: result += obj;
103: }
104: }
105: return result;
106:}
107:</script>
108:<catch event="error.badfetch.http.500">
109:<goto next="Error?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
110:</catch>
111:<catch event="connection.disconnect.hangup">
112:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
113:</catch>
114:<catch event="connection.disconnect">
115:<goto next="Updated_DB_HangUpCopy2?___DDSESSIONID=A4C0BCF04D4DA5FD6E1E4E6505D2CF85%3A%2FTrue_OUTBCL"/>
116:</catch>
117:</vxml>
118:

20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Updated_DB_HangUpCopy2
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [time:second] to [Operations:Exit_time]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Subtracting [Operations:Exit_time] and [Operations:Start_Time] to [Operations:Dif_Time]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition1] Condition [session:currentlanguage] String Equal Ignorecase [thai] next [null]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [3.7] to [Operations:D_Time]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition2] Condition [session:currentlanguage] String Equal Ignorecase [english] next [null]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : [condition3] Condition [Operations:Dif_Time] Numeric Less Than [Operations:D_Time] next [null]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [6] to [DB_Record:C10_Current_Status]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [0] to [DB_Record:C12_In_Use_Flag]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Assigning [Operations:Total_Retry] to [DB_Record:C11_Total_Retry]
20/07/2552 18:13:03 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Executing DB statement : [UPDATE AVP1.OBC_CACHE_MASTER SET CURRENT_STATUS = ? , TOTAL_RETRY = ? , IN_USE_FLAG = ? WHERE ( ( OBC_CACHE_MASTER.DATE_IMPORTED = ? ) AND ( OBC_CACHE_MASTER.RECORD_NO = ? ) )]
20/07/2552 18:13:03 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Rows affected : [1]
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Exit1
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : Using SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL servlet : Exit
20/07/2552 18:13:03 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : ***!!*** Setting Exit Timer
20/07/2552 18:13:03 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : *** Reply for [/True_OUTBCL/Updated_DB_HangUpCopy2] ***
20/07/2552 18:13:03 DEBUG - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.09.p4"/>
4:<meta name="runtimecommon-version" content="04.01.09.p4"/>
5:<meta name="runtime-hotfixes" content="wi00110228"/>
6:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
7:<form id="Exit">
8:<block>
9:<exit/>
10:</block>
11:</form>
12:</vxml>
13:

20/07/2552 18:13:04 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : ***!!*** Invalidating From Exit Timer
20/07/2552 18:13:04 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : HTTP Session lost removing SCESession A4C0BCF04D4DA5FD6E1E4E6505D2CF85
20/07/2552 18:13:04 INFO - A4C0BCF04D4DA5FD6E1E4E6505D2CF85:/True_OUTBCL : SCESession Removed
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Yes if bargin is false it will play a prompt before moving on to the next node.

In the prompt editor, click the tab "Prompt Main" and then select the prompt level and look in the properties view.
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi Ross,

Thank you.
I have edit barge-in='false' in the prompt editor in tab Prompt Main.
But it move to the next node, eventhough the prompt is playing in announce node.

For play a prompt before moving on to the next node, is it associate with the flush prompt or not ?

Please advise and see the "trace.log" from detail below.

Chukiat D.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
I think you need to open a support request on the Voice Portal platform.
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

So it means that if I set barge-in="false".
The AVB should be playing the prompt before go to the next node.
It is the problem base on the VP system.
The DD app is working properly.

Besides, Could you give me more information whether I set barge-in=false, Do I have to add the flush prompt in the announce node ?

Please advise.
Thank you.

Chukiat D.
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
Prompts aren't played immediately. They won't play until you encounter an input node or the end of the app. You can force them to play by flushing the prompt. If are hearing the prmopt start to play and then it is interrupted, then check the VXML that is passed via your app log (make sure VXML output is enabled) and make sure barge-in is really set to false.

If it is and the prompt is still getting interrupted, then it is something on the platform and you should go to Voice Portal support and see if they can help.
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi Neil,

Thank you for your information.

Now, I can fix this problem.

It is the problem on the analog line and ISDN line from the PBX.

It cannot control the DD app if the customer outcall from the CO line.
But it is work on the customer which outcall from the ISDN line.

Chukiat D.
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
ah ok, glad you resolved.
Go to:   
Mobile view