[Freeswitch-users] Pausing dialplan execution

Oleg Stolyar olegstolyar at gmail.com
Tue Jul 15 13:13:43 MSD 2014


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 at cassidywebservices.co.uk> wrote:

> <action application="playback" data="silence_stream://2500" />
>
> blocks while playing nothing, should do the trick
>
>
>
> On 15 July 2014 08:34, Oleg Stolyar <olegstolyar at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 <info at cassidywebservices.co.uk> *03300 100 960  *F
> <info at cassidywebservices.co.uk> *03300 100 961
> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140715/5e0b893e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list