Author Message
AnkitaKapil
Joined: Jun 5, 2007
Messages: 0
Offline
Hello All,
I am trying to use random feature to play some wav files on a PnC node for my application.
As per trace log, system is setting correct wav files and grammar and they are reachable also through the URL being set. Trace log has NO errors and still none of the wav files are played
MPP is not generating any transaction logs so i am not sure if it is failing from there.
Below are the vxml log explaining the behavior, can someone help??
AnkitaKapil
Joined: Jun 5, 2007
Messages: 0
Offline
Logs are:
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" application="AppRoot?___DDSESSIONID=88E91C00D5E37F58F9AFBC288CF46688%3A%2FCL_Test">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="04.01.10.01"/>
4:<meta name="runtimecommon-version" content="04.01.10.01"/>
5:<meta name="copyright" content="Copyright (c) 2002-2008, Avaya"/>
6:<form id="CL_GetCustomerProblemInitialHandling_backup">
7:<block>
8:</block>
9:<var name="CL_InitialCallHandling_PP" expr="((Math.floor(Math.random()*100))%3)+1"/>
10:<property name="maxnbest" value="1"/>
11:<var name="nbest" expr="1"/>
12:<var name="CL_GetCustomerProblemInitialHandling_backup___value"/>
13:<var name="CL_GetCustomerProblemInitialHandling_backup___confidence"/>
14:<var name="CL_GetCustomerProblemInitialHandling_backup___utterance"/>
15:<var name="CL_GetCustomerProblemInitialHandling_backup___inputmode"/>
16:<var name="CL_GetCustomerProblemInitialHandling_backup___interpretation" expr="'undefined'"/>
17:<var name="CL_GetCustomerProblemInitialHandling_backup___TRADE"/>
18:<var name="CL_GetCustomerProblemInitialHandling_backup___SVCITEM"/>
19:<var name="CL_GetCustomerProblemInitialHandling_backup___SYMPTOM"/>
20:<var name="graminterp___CL_GetProblem" expr="'undefined'"/>
21:<field name="CL_GetCustomerProblemInitialHandling_backup" modal="false">
22:<prompt bargein="true" bargeintype="speech" timeout="8000ms" cond="CL_InitialCallHandling_PP == 1">
23:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init2.wav"/>
24:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init2.wav"/>
25:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init5.wav"/>
26:</prompt>
27:<prompt bargein="true" bargeintype="speech" timeout="8000ms" cond="CL_InitialCallHandling_PP == 2">
28:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init1.wav"/>
29:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init2.wav"/>
30:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init3.wav"/>
31:</prompt>
32:<prompt bargein="true" bargeintype="speech" timeout="8000ms" cond="CL_InitialCallHandling_PP == 3">
33:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init2.wav"/>
34:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init2.wav"/>
35:<audio src="http://148.147.228.76:8888/Claims_CustomAudios/CL_GetCustomerProblem_init6.wav"/>
36:</prompt>
37:<grammar mode="voice" xml:lang="en-us" maxage="0" weight="1.0" src="http://148.147.228.76:8888/Claims_Data/Grammars/CL_GetProblem.gram" type="application/x-swi-grammar"/>
38:<catch event="noinput">
39:<goto next="CL_GetCustomerProblemErrorCountCheck?___DDSESSIONID=88E91C00D5E37F58F9AFBC288CF46688%3A%2FCL_Test"/>
40:</catch>
41:<catch event="nomatch">
42:<goto next="CL_GetCustomerProblemTimeOutCountCheck?___DDSESSIONID=88E91C00D5E37F58F9AFBC288CF46688%3A%2FCL_Test"/>
43:</catch>
44:<filled>
45:<assign name="CL_GetCustomerProblemInitialHandling_backup___confidence" expr="getnbest('confidence', nbest)"/>
46:<assign name="CL_GetCustomerProblemInitialHandling_backup___utterance" expr="getnbest('utterance', nbest)"/>
47:<assign name="CL_GetCustomerProblemInitialHandling_backup___inputmode" expr="getnbest('inputmode', nbest)"/>
48:<assign name="CL_GetCustomerProblemInitialHandling_backup___TRADE" expr="getnbest('interpretation.TRADE', nbest)"/>
49:<assign name="CL_GetCustomerProblemInitialHandling_backup___SVCITEM" expr="getnbest('interpretation.SVCITEM', nbest)"/>
50:<assign name="CL_GetCustomerProblemInitialHandling_backup___SYMPTOM" expr="getnbest('interpretation.SYMPTOM', nbest)"/>
51:<if cond="CL_GetCustomerProblemInitialHandling_backup___inputmode == 'dtmf'">
52:<assign name="graminterp___CL_GetProblem" expr="CL_GetCustomerProblemInitialHandling_backup___TRADE + ' ' + CL_GetCustomerProblemInitialHandling_backup___SVCITEM + ' ' + CL_GetCustomerProblemInitialHandling_backup___SYMPTOM"/>
53:<if cond="containsUndefined(graminterp___CL_GetProblem) == false">
54: <assign name="CL_GetCustomerProblemInitialHandling_backup___interpretation" expr="graminterp___CL_GetProblem"/>
55:</if>
56:<else/>
57: <assign name="CL_GetCustomerProblemInitialHandling_backup___interpretation" expr="getnbest('interpretation.cxtag', nbest)"/>
58:</if>
59:<if cond="startswith(CL_GetCustomerProblemInitialHandling_backup___interpretation, 'undefined') == true ">
60: <assign name="CL_GetCustomerProblemInitialHandling_backup___interpretation" expr="getnbest('interpretation', nbest)"/>
61:</if>
62:<assign name="CL_GetCustomerProblemInitialHandling_backup___value" expr="CL_GetCustomerProblemInitialHandling_backup___interpretation"/>
63:</filled>
64:</field>
65:<block>
66:<submit next="CL_setConfidenceInitial?___DDSESSIONID=88E91C00D5E37F58F9AFBC288CF46688%3A%2FCL_Test" namelist="CL_GetCustomerProblemInitialHandling_backup___value CL_GetCustomerProblemInitialHandling_backup___confidence CL_GetCustomerProblemInitialHandling_backup___utterance CL_GetCustomerProblemInitialHandling_backup___inputmode CL_GetCustomerProblemInitialHandling_backup___interpretation CL_GetCustomerProblemInitialHandling_backup___TRADE CL_GetCustomerProblemInitialHandling_backup___SVCITEM CL_GetCustomerProblemInitialHandling_backup___SYMPTOM" method="post"/>
67:</block>
68:</form>
69:</vxml>
70:
ErikJohnson2
Joined: Jan 18, 2006
Messages: 0
Offline
Can you describe in more detail what you mean by "not working"?
Are none of the audio files playing? Is it just silence?

If you turn off random, is the behavior different?

AnkitaKapil
Joined: Jun 5, 2007
Messages: 0
Offline
Yes, none of the files are playing with random feature.Its silence and then it moves to next node.. My prompt has barge-in, but it doesnt even let me enter any value (speech/DTMF) when call is on that node

If I change the behavior from random to standard than it is behaving even more confusing. If each prompt level has just one phrase to play than it works.. but if I change the prompt having 3 phrases at each level than it stops working...

I apologies, I should have been more clear with question! I hope this clarifies
ErikJohnson2
Joined: Jan 18, 2006
Messages: 0
Offline
This sounds like bad fetches to me, or possibly improperly formatted audio files.

When you change to be 1 audio file in a prompt, does each audio file work individually? Or is it possible that one or two of the audio files have problems so that when you add multiple to the prompt it then fails?

I would take a look at the VB logs on the MPP to look for any errors -- in particular badfetch or transcoding/format problems.
Go to:   
Mobile view