record time not accurate
Posted: Sun Mar 25, 2007 9:02 am
I am trying to record a 20 second message from a caller. I'm using the Demo account. I've tried specifying the MaxTime attribute in seconds (MaxTime="20sec") and milli-seconds (MaxTime="20000ms"). But I never seem to get a 20 second recording. It's usually about 30 seconds long. MY code is below. Any help would be greatly appreciated.
<record name="prmOrderID" type="audio/x-wav" beep="true" maxtime="20000" finalsilence="3s">
<prompt>
After the beep, please record a message.
</prompt>
<filled>
<if cond="prmOrderID$.termchar == '*'">
<clear/>
<reprompt/>
<else/>
<assign name="reviewOrderID" expr="prmOrderID"/>
</if>
</filled>
<catch event="noinput nomatch">
Sorry, I didn't hear you.
<reprompt />
</catch>
</record>
<record name="prmOrderID" type="audio/x-wav" beep="true" maxtime="20000" finalsilence="3s">
<prompt>
After the beep, please record a message.
</prompt>
<filled>
<if cond="prmOrderID$.termchar == '*'">
<clear/>
<reprompt/>
<else/>
<assign name="reviewOrderID" expr="prmOrderID"/>
</if>
</filled>
<catch event="noinput nomatch">
Sorry, I didn't hear you.
<reprompt />
</catch>
</record>