Pause Voicemail 'beep' when using skip instructions
Hi Guys, Hope all are well? 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; <action application="answer"/> <action application="sleep" data="1000"/> <action application="set" data="skip_instructions=true"/> <action application="set" data="voicemail_greeting_number=1"/> <action application="voicemail" data="default Domain user"/> This works fine but some people are reporting the 'beep' kicks in too quickly after the audio file has stopped playing. Is there a way to pause/sleep the 'beep' so I can wait for a few seconds before it is generated? Many thanks Jon
Here's a solution that might be considered a hack: In your voicemail config /etc/freeswitch/autoload_configs/voicemail.conf.xml, you can do something like this with the tone-spec: <param name="tone-spec" value="v=-63;%(5000, 0, 640);v=0;%(1000, 0, 640)" /> 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. Of course change 5000 to whatever delay you want before the tone and check to make sure that v=0 is a comfortable volume. On 08/22/2017 09:08 AM, Jonathan Hunter wrote:
Hi Guys,
Hope all are well?
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;
<action application="answer"/> <action application="sleep" data="1000"/> <action application="set" data="skip_instructions=true"/> <action application="set" data="voicemail_greeting_number=1"/> <action application="voicemail" data="default Domain user"/>
This works fine but some people are reporting the 'beep' kicks in too quickly after the audio file has stopped playing.
Is there a way to pause/sleep the 'beep' so I can wait for a few seconds before it is generated?
Many thanks
Jon
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Ryan, works perfectly! Many thanks Jon ________________________________ From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Ryan Harris <ryharris@airmail.cc> Sent: 22 August 2017 18:44 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Pause Voicemail 'beep' when using skip instructions Here's a solution that might be considered a hack: In your voicemail config /etc/freeswitch/autoload_configs/voicemail.conf.xml, you can do something like this with the tone-spec: <param name="tone-spec" value="v=-63;%(5000, 0, 640);v=0;%(1000, 0, 640)" /> 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. Of course change 5000 to whatever delay you want before the tone and check to make sure that v=0 is a comfortable volume. On 08/22/2017 09:08 AM, Jonathan Hunter wrote: Hi Guys, Hope all are well? 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; <action application="answer"/> <action application="sleep" data="1000"/> <action application="set" data="skip_instructions=true"/> <action application="set" data="voicemail_greeting_number=1"/> <action application="voicemail" data="default Domain user"/> This works fine but some people are reporting the 'beep' kicks in too quickly after the audio file has stopped playing. Is there a way to pause/sleep the 'beep' so I can wait for a few seconds before it is generated? Many thanks Jon _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Jonathan Hunter
-
Ryan Harris