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@100"/>
<action application="bridge" data="sofia/${domain}/510"/>
<action application="bridge" data="sofia/${domain}/520"/>
<action application="bridge" data="error/user_busy" />
</condition>
</extension>