Page 1 of 1

Recording stops prematurly

Posted: Sun Jan 28, 2007 5:05 pm
by brent.russell
Can anyone tell me why it stops recording even when the person is talking? It does not do it always, just some of the time. I think it happens if the person pauses when talking only for a second.

Code: Select all

<form id="record_greeting">
   <!-- the resulting recording is stored in the variable voice_message -->
   <record name="voice_message" 
         maxtime="60s" dtmfterm="true" beep="true" type="audio/x-wav">
      <prompt>
      <audio src="http://us.ivr.mobilemessenger.com:8080/voice_overs/VO8.mp3">At the tone, please record your message. When you're done, press pound.</audio>
      </prompt>

      <!-- if the user doesn't say anything 
         within finalsilence, catch the noinput -->
      <noinput>
      <audio src="http://us.ivr.mobilemessenger.com:8080/voice_overs/VO16.mp3">Sorry. I didn't hear you. Now returning to the main menu.</audio>
      <goto next="set_menu.php" maxage="0"/>
      </noinput>
   </record>
Thanks a bunch
Cheers,
Brent

using IVR <record> tag's "finalsilence" attr

Posted: Mon Jan 29, 2007 10:34 am
by support
You'll want to use the IVR tag, <record>, "finalsilence" attribute to allow for longer silence pauses within your recordings.

So, for instance, you would rewrite your IVR tag, record, as follows:

Code: Select all

<record name="voice_message" finalsilence="2s" maxtime="60s" dtmfterm="true" beep="true" type="audio/x-wav">
That'll allow for up to 2s of silence within your recordings allowing your callers to pause for a little longer.