The following code:
Code: Select all
<!--
## #####################################################################
## FORM: recorddva
##
## Record the new DVA.
##
## ######################################################################
-->
<form id="recorddva">
<block>
<assign name="recordPath" expr="GB_recordPath"/>
<assign name="fileName" expr="dvaID+'.wav'"/>
<log>
fileName: <value expr="fileName"/>
</log>
</block>
<record name="callerrecording" beep="true" type="audio/basic" finalsilence="4000ms">
<property name="bargein" value="false"/>
<property name="inputmodes" value="voice dtmf"/>
<audio expr="basePath+'main.recorddva.wav'">
After the beep, please record your message.
</audio>
<filled>
<audio expr="basePath+'main.recorddva.recorded.wav'">
You recorded:
</audio>
<value expr="callerrecording"/>
</filled>
</record>
VXI::DoOuterJump(#recorddva)
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::FindDialog(recorddva)
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::FormInit()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::FormInit - Done
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::DoInnerJump()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::CollectPhase - 2
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::block_element()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::execute_content()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::executable_element - 0
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] EVENT: VXI::assign_element(name="recordPath" expr = "GB_recordPath"
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::executable_element - 0
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] EVENT: VXI::assign_element(name="fileName" expr = "dvaID+'.wav'"
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::executable_element - 28
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [label] LOCAL: fileName: undefined.wav
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::DoInnerJump()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::CollectPhase - 44
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::record_element()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] EVENT: VXI::queue_prompts()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: VXI::PlayPrompt()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] DEBUG: PromptManager::Queue()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Queueing audio
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: bargein set to false
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: INPUTMODES set to "DTMF VOICE"
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Constructing a PVXpromptSourceURL object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Merging properties VXIMap with ref VXIMap
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Opening VXIinet connection to dvas/main.recorddva.wav
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [inet] EVENT: Attempting to fetch http://localhost/apps/dva/dvas/main.recorddva.wav
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Audio segment from the URL dvas/main.recorddva.wav added to prompt queue
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Stripping WAV header
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Stripping WAV header -- starting with RIFF header
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Stripping WAV header -- moving on to analyzing file encoding
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Stripping WAV header -- starting into the data chunk of size 42000
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: WAV file is linear 16-bit
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Converted and copied audio source of size 21000 to queue
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Audio data from audio source object successfully added to prompt queue
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Destructing a PVXpromptSourceURL object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Closing VXIinet connection
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: In OSBpromptPlay()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Waiting for old audio to finish in OSBpromptPlay()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Clearing the last play file from the PVXpromptQueue object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Previously playing audio (if any) has finished
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: impl->queue->cutqueuefile() in OSBpromptPlay()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Cutting the queue file of size 21000
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Renaming queue file: /tmp/fileobIb7Y
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Initializing PVXpromptQueue object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Opening a file descriptor for the play file
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: File descriptor for play file opened
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] DEBUG: dx_play(dxxxB2C4, iott, tpt, EV_ASYNC) Success
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Newly queued prompts are now being played
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Queueing audio
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: bargein set to true
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Constructing a PVXpromptSourceURL object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Merging properties VXIMap with ref VXIMap
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Opening VXIinet connection to resources/beep.ulaw
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [inet] EVENT: Attempting to fetch file:///usr/local/plumvp/resources/beep.ulaw
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Audio segment from the URL resources/beep.ulaw added to prompt queue
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Converted and copied audio source of size 1600 to queue
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Audio data from audio source object successfully added to prompt queue
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Destructing a PVXpromptSourceURL object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Closing VXIinet connection
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] EVENT: PromptManager::Play()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: In OSBpromptWait()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Waiting for any playing audio to finish in Wait()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: ec_stream(dxxxB2C4, EV_ASYNC) Failed
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: ec_stream error Function not supported
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: impl->queue->clearlastplay() in OSBpromptWait
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Clearing the last play file from the PVXpromptQueue object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Deleting play file: /tmp/fileobIb7Y
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Closing the file descriptor for the last play file
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Clearing last stream in OSBpromptWait
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Previously playing audio (if any) has finished
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: In OSBpromptPlay()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Waiting for old audio to finish in OSBpromptPlay()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: ec_stream(dxxxB2C4, EV_ASYNC) Failed
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: ec_stream error Function not supported
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Clearing the last play file from the PVXpromptQueue object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Previously playing audio (if any) has finished
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: impl->queue->cutqueuefile() in OSBpromptPlay()
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Cutting the queue file of size 1600
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Renaming queue file: /tmp/fileYMiBja
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: > Initializing PVXpromptQueue object
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: Opening a file descriptor for the play file
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] DEBUG: File descriptor for play file opened
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: dx_play(dxxxB2C4, iott, tpt, EV_ASYNC) Failed
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: dx_play error Device busy
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [prompt] EVENT: Newly queued prompts are now being played
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: ec_stream(dxxxB2C4, EV_ASYNC) Failed
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [dlg] ERROR: ec_stream error Function not supported
Fri 21 Oct 2005 03:56:15 PM EDT (000031;007;1129924194) [vxi] ERROR: errno: 209 message Fatal exception
Code: Select all