[Freeswitch-users] Delayed start of tone_detect
Michael Collins
msc at freeswitch.org
Tue Mar 22 08:33:24 MSK 2011
Add this to your dialplan...
<extension name="start tone detect">
<condition field="destination_number" data="custom_start_tone_detect">
<action application="sleep" data="500"/>
<action application="tone_detect" data="MYTONE 680 ro +5000 set
MYTONE=1"/>
</condition>
</extension>
...then change your export...
<action application="export"
data="nolocal:execute_on_answer=execute_extension
custom_start_tone_detect"/>
Let us know if that does the trick.
-MC
On Mon, Mar 21, 2011 at 12:33 PM, Stephen Wilde <wstephen80 at gmail.com>wrote:
> I start the tone_detect on answer using "execute_on_answer" as:
>
> <action application="export" data="nolocal:execute_on_answer=tone_detect
> MYTONE 680 ro +5000 set MYTONE=1" />
>
> but I have the necessity to start the tone_detect for example 500ms after
> answer: there is a way to do that in dialplan?
>
> _______________________________________________
> 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/20110321/b95bd3bc/attachment-0001.html
More information about the FreeSWITCH-users
mailing list