Thanks Andrew,I guess I should have mentioned that I need to run the curl application inline because I am determining subsequent dialplan actions based on what it returns.If I don't run it inline, then it is delayed even with "sleep" or "answer_delay".However, your answer gave me an idea - I can split the curl into two calls - one inline to set the conditions and one not inline to let the other system know that the connection happened.
Thanks!On Tue, Jul 15, 2014 at 11:04 AM, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:
<action application="playback" data="silence_stream://2500" />blocks while playing nothing, should do the trickOn 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 handshake3. 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 SSCAManaging Director
_________________________________________________________________________
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
_________________________________________________________________________
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