[Freeswitch-users] Delayed start of tone_detect
Stephen Wilde
wstephen80 at gmail.com
Tue Mar 22 10:54:13 MSK 2011
Thank you Michael, with this trick it works fine!
On Tue, Mar 22, 2011 at 6:33 AM, Michael Collins <msc at freeswitch.org> wrote:
> 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
>>
>>
>
> _______________________________________________
> 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/20110322/aa9e8426/attachment.html
More information about the FreeSWITCH-users
mailing list