Problem in using expr in audio tag - UCCX 8.5

Version 1
    This document was generated from CDN thread

    Created by: Sethuramalingam Balasubramanian on 21-04-2011 05:09:27 AM
    We are using voice browser step in CCX editor to invoke a voice xml file. In the voice xml, if we play back an audio using following script it is working well
     
     <prompt>
            <audio src="Transfer.wav">Please hold while I transfer the call</audio> 
     </prompt>
     
    Whereas, if we use ¿expr¿ in audio, the prompt is not played back and we are not getting any error message. When we are using in expr in audio it is not playing TTS prompt as well.  
     
     <block>
                <var name = ¿TransferAudio¿  expr="'Transfer.wav'"/>
    <prompt>
               <audio expr="TransferAudio">Please hold while I transfer the call</audio> 
     </prompt>
     </block>
     
    We also looked at voicexml.dtd and this was tested in Version of UCCX : 8.5.1.10000-37 and also in UCCX: 7.01(1)
     
    Kindly help us to resolve this issue.
     
    Thanks!
    -Sethu

    Subject: RE: Problem in using expr in audio tag - UCCX 8.5
    Replied by: Steven Pawlak on 21-04-2011 02:46:42 PM
    try this

    <form>
      <var name = "TransferAudio" expr="crtp:/Prompts/lang,en_US/ <rest of path here>  " />
      <block>
        <audio expr="TransferAudio  + 'Transfer.wav' " >Please hold while I transfer the call</audio>
      </block>
    </form>

    I do not see why you need the prompt tags.

    Subject: RE: Problem in using expr in audio tag - UCCX 8.5
    Replied by: Steven Pawlak on 21-04-2011 02:55:32 PM
    Correction, put single quotes around the crtp string in <var>

    Subject: RE: Problem in using expr in audio tag - UCCX 8.5
    Replied by: Sethuramalingam Balasubramanian on 25-04-2011 06:13:53 AM
    We tried the following options, but still no luck.


    1.
    <form>
    <block>
    <audio src="Thanks.wav"> Thanks .Good bye </audio>
    <disconnect/>
    </block>
    </form>

    Output: Thanks .Good bye (played in TTS)

    Note :Thanks.wav file  is not kept in prompts path


    2.

    TryAgain.wav placed in Prompt Management path.

    <form>
    <block>
    <audio src="TryAgain.wav"> Please try again. </audio>
    <disconnect/>
    </block>
    </form>

    </vxml>

    Output : TryAgain.wav is played back


    3. <form>
    <var name = "TransferAudio" expr="'crtp:/Prompts/lang,en_US/SERVION/BOARD/' " />
    <block>
    <audio expr="TransferAudio + 'TryAgain.wav'"> Please try again </audio>
    <disconnect/>
    </block>
    </form>

    Output : no prompt is played back

    4.
    <form>
    <var name = "TransferAudio" expr="'TryAgain.wav' " />
    <block>
    <audio expr="TransferAudio"> Please try again </audio>
    <disconnect/>
    </block>
    </form>

    Output : no prompt is played back

    Thanks!
    -Sethu