[Freeswitch-users] Dial Plan timing error

Charles Bujold cjbujold at accra.ca
Wed Jan 19 03:04:19 MSK 2011


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?






<extension name="Local 7 digit calls" >

   <condition field="destination_number" expression="^(\d{7})$">   

       <action application="set"

       <action application="set"

       <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" />



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110118/e859f8af/attachment.html 

More information about the FreeSWITCH-users mailing list