<html><body bgcolor="#FFFFFF"><div>Try doing the send_dtmf</div><div>in the execute_on_answer variable<br><br>Steve on iPhone</div><div><br>On 19 Jan 2011, at 00:04, "Charles Bujold" <<a href="mailto:cjbujold@accra.ca">cjbujold@accra.ca</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">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?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks<o:p></o:p></p><p class="MsoNormal">CJB<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><extension name="Local 7 digit calls" ><o:p></o:p></p><p class="MsoNormal"> <condition field="destination_number" expression="^(\d{7})$"> <o:p></o:p></p><p class="MsoNormal"> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/><o:p></o:p></p><p class="MsoNormal"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/><o:p></o:p></p><p class="MsoNormal"> <action application="set" data="hangup_after_bridge=true"/><o:p></o:p></p><p class="MsoNormal"> <action application="send_dtmf" data="W$1@100"/> <o:p></o:p></p><p class="MsoNormal"> <action application="bridge" data="sofia/${domain}/510"/> <o:p></o:p></p><p class="MsoNormal"> <action application="bridge" data="sofia/${domain}/520"/> <o:p></o:p></p><p class="MsoNormal"> <action application="bridge" data="error/user_busy" /><o:p></o:p></p><p class="MsoNormal"> </condition><o:p></o:p></p><p class="MsoNormal"></extension><o:p></o:p></p></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>