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.
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
IVR Programmer's Reference Manual- VXML 2.0 specifications
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
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