<div><div>Hi Michael,</div><div><br></div><div>Thanks for your quick reply. Below is the code for the dial plan inbound ivr. Can you please specify where i should be inserting the continue_on_fail=true line in the code.</div>
<div><br></div><div>Default.xml</div><div><br></div><div> <extension name="inbound"></div><div> <condition field="destination_number" expression="^(XXXXXXXXXX)$" /></div><div>
<condition wday="2-6" hour="8-17"></div><div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="accountcode=Inbound"/></div>
<div> <action application="answer"/></div><div> <action application="start_dtmf" /></div><div> <action application="ivr" data="ivr_inbound"/></div>
<div> <action application="record_session" data="$${base_dir}/inbound/${destination_number}-${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}.gsm"/></div><div> <action application="transfer" data="1018 XML default"/></div>
<div> </condition></div><div> </extension></div><div><br></div><div>ivr_inbound.xml</div><div><br></div><div><menu name="ivr_inbound"</div><div> greet-long="/usr/local/freeswitch/sounds/en/us/callie/misc/8000/abc_pe/abc_pe_bus.wav"</div>
<div> invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"</div><div> exit-sound="voicemail/vm-goodbye.wav"</div><div> confirm-macro=""</div><div> confirm-key=""</div>
<div> tts-engine="flite"</div><div> tts-voice="rms"</div><div> confirm-attempts="3"</div><div> timeout="10000"</div><div> inter-digit-timeout="2000"</div>
<div> max-failures="3"</div><div> max-timeouts="1"</div><div> digit-len="4"></div><div> <entry action="menu-exec-app" digits="/^([1-6][0-9][0-9][0-9])$/" param="transfer $1 XML default"/></div>
<div> <entry digits="0" action="menu-exec-app" param="transfer 6525 XML default"/></div><div></menu></div><div style="font-weight: bold; "><br></div></div><div><font class="Apple-style-span" color="#5b1094" face="'Droid Sans', arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><b><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; color: rgb(0, 0, 0); font-weight: normal; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">-- <br>
Thanks with Regards,<br><br>N.Baskar <br></span><br></b></span></font><br><div class="gmail_quote">On Wed, May 25, 2011 at 5:25 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If I understand correctly you're wanting to handle a bridge scenario where the target extension is busy, etc. Most likely you just need to set continue_on_fail=true so that your dialplan continues in the case of the target extension not picking up.<div>
<br></div><div>-MC<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, May 25, 2011 at 1:27 PM, Baskar <span dir="ltr"><<a href="mailto:yudha2008@gmail.com" target="_blank">yudha2008@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<font color="#202020" face="'Droid Sans', arial, sans-serif"><div style="border-collapse:collapse">Hi All,,</div>
<div style="border-collapse:collapse"> </div><div style="border-collapse:collapse">
In my inbound dial plan xml file i have set two conditions enabled </div><div style="border-collapse:collapse"><br></div><div style="border-collapse:collapse">
Condition1: </div><div><span style="border-collapse:collapse"><br></span></div><div><span style="border-collapse:collapse">In inbound dial plan callers are given an option to key in the extension number and reach the appropriate extension (Example: 1001 or 1002 or 1003 etc). </span></div>
<div style="border-collapse:collapse"><br></div><div style="border-collapse:collapse">
Condition2:</div><div style="border-collapse:collapse"><br></div><div style="border-collapse:collapse">
The second condition routes call to a default extension in scenarios where the caller does not specify any extension number (Example: Default extension is 1007).</div><div style="border-collapse:collapse">
<br></div><div style="border-collapse:collapse"> </div><div style="border-collapse:collapse">
Both the above conditions are working fine.</div><div style="border-collapse:collapse"><br></div><div style="border-collapse:collapse">
Now I need to set up another condition where after keying in the extension number the call gets transferred to the appropriate extension and if the extension is busy(Example: say extension 1003 is busy) it should be hunted to a default extension (example: 1007). How can we set up this condition in dial plan?</div>
</font><div><br></div>Can any one guide me.<br><font color="#888888">-- <br>Thanks with Regards,<br><br>N.Baskar <br><br>
</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br><br>
</div>