[Freeswitch-users] Dial Plan timing error

Steven Ayre steveayre at gmail.com
Wed Jan 19 11:28:32 MSK 2011


Try doing the send_dtmf
in the execute_on_answer variable

Steve on iPhone

On 19 Jan 2011, at 00:04, "Charles Bujold" <cjbujold at accra.ca> wrote:

>  
> 
> Need help configuring the following dial plan.  To make a PSTN call I have to call extension 510 or 520, then bridge and answer the call to get a dial tone.  Then dial the outgoing number.  My problem is that the send_dtmf  command does not wait 1 second (W command) after the answer.  It seems to delay the answer command by 1 second.   How do I get the call to answer and then wait 1 second and then send /dial the number?
> 
>  
> 
> Thanks
> 
> CJB
> 
>  
> 
>  
> 
> <extension name="Local 7 digit calls" >
> 
>    <condition field="destination_number" expression="^(\d{7})$">  
> 
>        <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
> 
>        <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
> 
>        <action application="set" data="hangup_after_bridge=true"/>
> 
>        <action application="send_dtmf" data="W$1 at 100"/>
> 
>        <action application="bridge" data="sofia/${domain}/510"/>
> 
>        <action application="bridge" data="sofia/${domain}/520"/>
> 
>        <action application="bridge" data="error/user_busy" />
> 
>    </condition>
> 
> </extension>
> 
> _______________________________________________
> 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/20110119/8a923f8c/attachment.html 


More information about the FreeSWITCH-users mailing list