We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

record time not accurate

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
dwaynemcgee
Posts: 4
Joined: Thu Nov 02, 2006 9:45 am
Contact:

record time not accurate

Post by dwaynemcgee »

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>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR hosting system

Post by support »

Hello,

We are currently testing a fix to the IVR hosting systems to resolve this IVR issue. We expect to release this patch later this week and will post a response here once it has been deployed.

Regards,
Plum Support
Last edited by support on Sat Feb 20, 2010 2:48 pm, edited 2 times in total.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR hosting system

Post by support »

Hello,

A patch was deployed to the IVR hosting system earlier this week to resolve the record time not being accurate.

Regards,
Plum Support
Last edited by support on Wed Dec 30, 2009 3:20 pm, edited 1 time in total.

dwaynemcgee
Posts: 4
Joined: Thu Nov 02, 2006 9:45 am
Contact:

Record time still not accurate

Post by dwaynemcgee »

I have tried my code and it still does not appear to give an accurate time. I'm getting about 10seconds of record time.

My code is listed below:

<record name="prmOrderID" type="audio/x-wav" beep="true" maxtime="40s" 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>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Set finalsilence equal to maxtime in IVR code

Post by support »

If you're only getting 10 seconds of record time with maxtime set to 40 seconds, it's likely your finalsilence setting is too low. If you want to guarantee that you'll _always_ get 40 seconds of recording with the IVR system, you should set finalsilence equal to maxtime.

Post Reply