<action application="playback" data="silence_stream://2500" />

blocks while playing nothing, should do the trick



On 15 July 2014 08:34, Oleg Stolyar <olegstolyar@gmail.com> wrote:
Guys,

is there a way to pause the execution of a dialplan?  The sleep and answer_delay commands only pause the media but the rest of the dialplan still executes right away.

The use case I have is this:

1. Dial FS from a WebRTC client.
2. Answer the call to start the handshake
3. Sleep for 2.5 sec to handle the handshake delay.
4. After that make a curl call to tell another system that the call is connected.




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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




--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director


T 03300 100 960  F 03300 100 961