Page 1 of 1

<record> is truncated

Posted: Sun Aug 05, 2007 3:41 pm
by tparker
I cannot get a recording longer than about 8 seconds no matter how long I set maxtime or finalsilence. I have tried maxtime = "30000" and finalsilence = "3s" in addition to other combinations of lengths (see below for my current settings). I get the same result from several different testers using land lines, cell phones, from different parts of the country, so it's not just my testing phone. Code is below:

<form id="yes">
<record name="wave" beep="true" maxtime="30s" finalsilence="maxtime" type="audio/x-wav">
<prompt>
<voice name="crystal">
Please leave a message.
</voice>
</prompt>
<filled>

<submit next="http://domain.com/response.lasso"
method="post" namelist="wave" enctype="multipart/form-data"/>
</filled>

</record>

</form>

Call log needed for IVR developers to determine problem

Posted: Mon Aug 06, 2007 9:02 am
by support
Hi,

Can you post an IVR call log of when it is not working? This information would help us better assess your IVR problem.

Regards,
Plum Support

Posted: Mon Aug 06, 2007 9:23 am
by tparker
Here is the end of the call log where the caller can leave a message. Seems the units are wrong for maxtime: what is the correct way to specify maxtime if I want a maxtime = 30 seconds? (Note: I subsitituted "domain" for my domain below.)

--------------

Sun 05 Aug 2007 05:42:02 PM EDT:

dtmf input: 1
Found grammar match
hypothesis #0: 1 (0.9990)
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="crystal"><speak>
Please leave a message.
</speak></voice></speak>
---------
bargein set to true
Cache Miss: file:///usr/local/plumvp/resources/beep.ulaw
Attempting to fetch file:///usr/local/plumvp/resources/beep.ulaw
Audio segment from the URL resources/beep.ulaw added to prompt queue
PropertyList::ConvertTimeToMilliseconds - Invalid units in value "maxtime".
PromptManager::Play()
Newly queued prompts are now being played


Sun 05 Aug 2007 05:42:09 PM EDT:

DocumentParser::FetchDocument(http://domain/response.lasso)
Posting binary content "wave" of size 30382 and type "audio/x-wav"
Posted form data is multipart encoded
Attempting to fetch http://domain/response.lasso
Click here to view saved VoiceXML script
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="crystal"><speak>
Thank you. Goodbye.
</speak></voice></speak>
---------
Newly queued prompts are now being played


Sun 05 Aug 2007 05:42:12 PM EDT:

received event: connection.disconnect.hangup
Disconnect
Disconnecting On Channel 78
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 78

IVR code to record message for 30s

Posted: Mon Aug 06, 2007 9:28 am
by support
Hi,

We replaced your section of IVR code:

Code: Select all

<record name="wave" beep="true" maxtime="30s" finalsilence="maxtime" type="audio/x-wav"> 
with this:

Code: Select all

<record name="wave" beep="true" maxtime="30s" finalsilence="30s" type="audio/x-wav">
After this change, we were able to get your IVR code working to <record> a message for 30 seconds. Let us know if this helps.

Regards,
Plum Support

Posted: Wed Aug 08, 2007 3:33 pm
by tparker
Thank you. This worked.

Record finalsilence="Xs" where X = maxtime works f

Posted: Thu Nov 08, 2007 1:53 pm
by pacview
Thanks for the post. When we made both finalsilence and maxtime to "15s" then it started recording for 15 seconds always. Good workaround!