<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Thanks Ryan, works perfectly!</p>
<p><br>
</p>
<p>Many thanks</p>
<p><br>
</p>
<p>Jon</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Ryan Harris <ryharris@airmail.cc><br>
<b>Sent:</b> 22 August 2017 18:44<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] Pause Voicemail 'beep' when using skip instructions</font>
<div> </div>
</div>
<div>
<p>Here's a solution that might be considered a hack:<br>
</p>
<p><br>
</p>
<p>In your voicemail config /etc/freeswitch/autoload_configs/voicemail.conf.xml, you can do something like this with the tone-spec:<br>
</p>
<p><br>
</p>
<p><param name="tone-spec" value="v=-63;%(5000, 0, 640);v=0;%(1000, 0, 640)" /></p>
<p><br>
</p>
<p>What's happening here is you are setting the volume to imperceptible and then playing a tone for 5000 ms; then, the volume gets set to 0 dB and plays the regular tone.
<br>
</p>
<p><br>
</p>
<p>Of course change 5000 to whatever delay you want before the tone and check to make sure that v=0 is a comfortable volume.<br>
</p>
<br>
<div class="moz-cite-prefix">On 08/22/2017 09:08 AM, Jonathan Hunter wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div>Hi Guys,</div>
<div><br>
</div>
<div>Hope all are well?</div>
<div><br>
</div>
<div>I am using using skip_instructions with the voicemail module, so that we dont have any instructions and just the audio file is played (voicemail_greeting_number=1), which I am doing in dialplan as below;</div>
<div><br>
</div>
<div><br>
</div>
<div><action application="answer"/></div>
<div> <action application="sleep" data="1000"/></div>
<div><action application="set" data="skip_instructions=true"/></div>
<div><action application="set" data="voicemail_greeting_number=1"/></div>
<div><action application="voicemail" data="default Domain user"/></div>
<div><br>
</div>
<div>This works fine but some people are reporting the 'beep' kicks in too quickly after the audio file has stopped playing.</div>
<div><br>
</div>
<div>Is there a way to pause/sleep the 'beep' so I can wait for a few seconds before it is generated?</div>
<div><br>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Jon</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>