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

Recording stops prematurly

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
brent.russell
Posts: 50
Joined: Wed Oct 04, 2006 1:34 pm
Location: SOCAL
Contact:

Recording stops prematurly

Post 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

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

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

Post 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.

Post Reply