Page 1 of 1

Voicemail cutt off

Posted: Mon Oct 11, 2010 9:54 am
by sbaraian
Hi,
I am using the code attached at the end of this topic to record a voicemail and to post it to our servers. Everything works fine, but there are days when some callers try 2-3 times to record a voicemail and still they get cut of after less then 10 seconds. Please advise.

Sergiu


<form id="voicemail">
<script>
tries=0;
</script>
<block>
<var name="Duration" expr="'0'"/>
<assign name="MenuId" expr="'14'" />
</block>
<record beep="true" dtmfterm="true" name="R1" type="audio/basic" maxtime="600s" finalsilence="5s">
<prompt>
<audio src="Files/Voicemail.wav">
After the beep, please leave a message for the operator.
</audio>
</prompt>
<filled>
<assign name="Duration" expr="R1$.duration"/>
<data name="info1" src="getIVR.ashx" method="post" namelist="SessionId MenuId R1 Duration CalledId CallerId" enctype="multipart/form-data"/>
<audio src="Files/Goodbye.wav">Goodbye.</audio>
<exit />
</filled>
<catch event="connection.disconnect.hangup">
<assign name="Duration" expr="R1$.duration"/>
<data name="info1" src="getIVR.ashx" method="post" namelist="SessionId MenuId R1 Duration CalledId CallerId" enctype="multipart/form-data"/>
<exit/>
</catch>
<noinput>
<script>
tries++;
</script>
<audio src="Files/NoInput.wav">
We did not hear anything from you.
</audio>
<if cond="tries==2">
<goto next="#NoOrInvalidInput"/>
<else />
<reprompt />
</if>
</noinput>
<nomatch>
<script>
tries++;
</script>
<audio src="Files/NoMatch.wav">
We did not understand you.
</audio>
<if cond="tries==2">
<goto next="#NoOrInvalidInput"/>
<else />
<reprompt />
</if>
</nomatch>
</record>
</form>

Re: Voicemail cutt off

Posted: Mon Oct 11, 2010 12:13 pm
by support
Hi Sergiu,

Since you have said that in general, everything works fine, but that callers are sometimes cut off when trying to record a voicemail, it is likely that the issue is not with your application, but instead with user error. After taking a look at your code, we can confirm that there are no apparent issues with your application. You could try upping your finalsilence to something longer than 5 seconds, for example:

Code: Select all

<record name="R1" beep="true" dtmfterm="true" maxtime="600s" finalsilence="300s" type="audio/basic">
If you are able to reliably reproduce this issue, please let us know so we can attempt to troubleshoot the problem.

Regards,
Plum Support