Record tag behaviour issue
Posted: Mon Dec 05, 2005 1:02 pm
Hi there,
I'm having fun and games with the <record> tag.
The vxml I am using looks like this:
<form id="doRecord_Record">
<record name="freddie" beep="true" type="audio/basic" dtmfterm="true" maxtime="120" finalsilence="3s">
<catch event="nomatch noinput error">
<assign expr="'STATUS_FAILED'" name="varLastStatus"/>
<goto next="#doDialog"/>
</catch>
</record>
....
What happens is that sometimes the catch fires with noinput even thought something was actually said.
At other times the recording only contains a segment of the actual speech. Of the dozen of so attempts I have made to run this I have yet to record the entire message.
I ran the example that you provide in the Plum Audio Repository Developer's Guide and it recorded the whole message (all be it at a poor quality) so it must be something I have configured differently.
The record element I ran from your example is:
<record name="recording" beep="true" type="audio/basic">
<prompt bargein="false">
Please record your message after the beep.
</prompt>
<catch event="nomatch noinput">
<reprompt/>
</catch>
</record>
I can't see what I am doing wrong. I am calling the Plum development platform hosted in the USA from the UK in case that is a factor.
Any clues would be most helpful.
Regards
Adrian Naude
I'm having fun and games with the <record> tag.
The vxml I am using looks like this:
<form id="doRecord_Record">
<record name="freddie" beep="true" type="audio/basic" dtmfterm="true" maxtime="120" finalsilence="3s">
<catch event="nomatch noinput error">
<assign expr="'STATUS_FAILED'" name="varLastStatus"/>
<goto next="#doDialog"/>
</catch>
</record>
....
What happens is that sometimes the catch fires with noinput even thought something was actually said.
At other times the recording only contains a segment of the actual speech. Of the dozen of so attempts I have made to run this I have yet to record the entire message.
I ran the example that you provide in the Plum Audio Repository Developer's Guide and it recorded the whole message (all be it at a poor quality) so it must be something I have configured differently.
The record element I ran from your example is:
<record name="recording" beep="true" type="audio/basic">
<prompt bargein="false">
Please record your message after the beep.
</prompt>
<catch event="nomatch noinput">
<reprompt/>
</catch>
</record>
I can't see what I am doing wrong. I am calling the Plum development platform hosted in the USA from the UK in case that is a factor.
Any clues would be most helpful.
Regards
Adrian Naude