VXML

birvin's picture

I have a "Tell" Node setup to play Text to Speech for the current time, current date and balance information and in between that information, it's supposed to play a .wav file.  For some reason, it's not playing the .wav file.  It's playing the text-to-speech instead of the .wav file that I have selected.  The documentation says that it will only play text-to-speech if it cannot find the .wav file.  When using the IVR Play Task, it finds the .wav files just fine.  Is there a special path that I have to use when using the "Tell" task for playing .wav files?  Below are both the VXML Snippet and a snippet from the VOXEO logs.

 

VXML Snippet:

 

   <form id="TellStep_form">

        <block>

            <prompt count="1" bargein="false">

                <audio maxstale="0" src="Audio/ClosedLoop/prompt_1006.wav">

                    <voice>As of</voice>

                </audio>

                <voice>

                    <say-as interpret-as="time" format="hm">#{BDD/MyGlobalVars/currentTime}</say-as>

                </voice>

                <audio maxstale="0" src="Audio/ClosedLoop/prompt_1007.wav">

                    <voice>on</voice>

                </audio>

                <voice>

                    <say-as interpret-as="date" format="mdy">#{BDD/MyGlobalVars/currentDate}</say-as>

                </voice>

                <audio maxstale="0" src="Audio/ClosedLoop/prompt_1008.wav">

                    <voice>The available balance is</voice>

                </audio>

                <voice>

                    <say-as interpret-as="currency">#{BDD/MyGlobalVars/formattedBalance}</say-as>

                </voice>

            </prompt>

            <goto next="#StepAsk_form" fetchtimeout="30s"/>

        </block>

    </form>

 

Log Snippet from VOXEO:

 

 

11:51:57,016 - 66f5b1d687b9ec7feb48598a6c0c965c - Playing a prompt with bargein=false and timeout=5000

  •  
  •  

11:51:57,016 - 66f5b1d687b9ec7feb48598a6c0c965c - TTS: <voice xml:lang="en-US">CREDIT</voice><voice xml:lang="en-US">on</voice><voice xml:lang="en-US"><say-as interpret-as="date" format="mdy">07/29/2010</say-as></voice><voice xml:lang="en-US">In the amount of</voice><voice xml:lang="en-US"><say-as interpret-as="currency">$30.00</say-as></voice>

 

 

birvin's picture

 I gave you the wrong Log for

 I gave you the wrong Log for Voxeo.  Here is the correct one:

 

11:51:36,530 - b3513e9b44c1d1d8fd94eb60897f4e05 - TTS: <audio src="http://10.4.4.35:8081/vim/Incomm/ClosedLoop-87/ClosedLoop/prompt_1006.wav" maxstale="0"><voice xml:lang="en-US">As of</voice></audio><voice xml:lang="en-US"><say-as interpret-as="time" format="hm">11:51 AM</say-as></voice><audio src="http://10.4.4.35:8081/vim/Incomm/ClosedLoop-87/ClosedLoop/prompt_1007.wav" maxstale="0"><voice xml:lang="en-US">on</voice></audio><voice xml:lang="en-US"><say-as interpret-as="date" format="mdy">08/08/2010</say-as></voice><audio src="http://10.4.4.35:8081/vim/Incomm/ClosedLoop-87/ClosedLoop/prompt_1008.wav" maxstale="0"><voice xml:lang="en-US">The available balance is</voice></audio><voice xml:lang="en-US"><say-as interpret-as="currency">$90.00</say-as></voice>

birvin's picture

 I think I see the issue.  It

 I think I see the issue.  It seems that the Tell task and the IVR Play task are pulling the .wav files from different locations.  The IVR Play Task is pulling the .wav files from [jboss install dir]/server/default/deploy/starpound-appserver/runtime.ear/META-INF/orgprofiles/Incomm/ClosedLoop where the files are there.  The Tell task seems to be looking for the files in [jboss install directory]/server/default/deploy/starpound-appserver/runtime.ear/vim.war/Incomm/ClosedLoop-87 directory where they aren't there.  Was I supposed to configure a path for the .wav files in Voxeo?

wwang's picture

 The path needs to be

 The path needs to be configured in deployment target (Audio File Root URI and Audio Http Path).

epetrova's picture

>I was thinking that when I

>I was thinking that when I deploy a .jar file that contains the .wav files that the .wav files would get deployed to the Media Server that was configured in the Resource Pool in the specified directory

If you set location of a wav file via BDD these wav files can be not deploy. You should set location directly.

Thanks,
Evgenia