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

name$.duration returns runtime of entire dialog

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
pinkatron
Posts: 6
Joined: Wed Sep 28, 2005 11:55 am

name$.duration returns runtime of entire dialog

Post by pinkatron »

From what I can tell, it looks like when we do a <record>, the variable name$.duration returns not the runtime of the recording, but of the entire dialog; that includes any prompts we have played, etc.

if name$.duration is only available in the <record> tag, I would think it should contain just the time of the recorded audio.

I'd like to use this to throw out any recordings that are below a threshold length (on the server side). If it doesn't give an accurate time of the recording itself, it is not useful to me.

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

IVR Programmer's Reference Manual- VXML 2.0 specifications

Post by support »

Hello,

The name$.duration contains the length of the recording in milliseconds and name$.size contains the length of the recording in bytes. This conforms with the VoiceXML 2.0 specification and is stated as such in our IVR Programmer's Reference Manual.

Regards,
Plum Support

Post Reply