<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>    &lt;extension name=&quot;inbound&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(XXXXXXXXXX)$&quot; /&gt;</div><div>
      &lt;condition wday=&quot;2-6&quot; hour=&quot;8-17&quot;&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;accountcode=Inbound&quot;/&gt;</div>
<div>        &lt;action application=&quot;answer&quot;/&gt;</div><div>        &lt;action application=&quot;start_dtmf&quot; /&gt;</div><div>        &lt;action application=&quot;ivr&quot; data=&quot;ivr_inbound&quot;/&gt;</div>
<div>        &lt;action application=&quot;record_session&quot; data=&quot;$${base_dir}/inbound/${destination_number}-${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}.gsm&quot;/&gt;</div><div>        &lt;action application=&quot;transfer&quot; data=&quot;1018 XML default&quot;/&gt;</div>
<div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>ivr_inbound.xml</div><div><br></div><div>&lt;menu name=&quot;ivr_inbound&quot;</div><div>     greet-long=&quot;/usr/local/freeswitch/sounds/en/us/callie/misc/8000/abc_pe/abc_pe_bus.wav&quot;</div>
<div>     invalid-sound=&quot;ivr/ivr-that_was_an_invalid_entry.wav&quot;</div><div>     exit-sound=&quot;voicemail/vm-goodbye.wav&quot;</div><div>     confirm-macro=&quot;&quot;</div><div>     confirm-key=&quot;&quot;</div>
<div>     tts-engine=&quot;flite&quot;</div><div>     tts-voice=&quot;rms&quot;</div><div>     confirm-attempts=&quot;3&quot;</div><div>     timeout=&quot;10000&quot;</div><div>     inter-digit-timeout=&quot;2000&quot;</div>
<div>     max-failures=&quot;3&quot;</div><div>     max-timeouts=&quot;1&quot;</div><div>     digit-len=&quot;4&quot;&gt;</div><div>   &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;/^([1-6][0-9][0-9][0-9])$/&quot; param=&quot;transfer $1 XML default&quot;/&gt;</div>
<div>   &lt;entry digits=&quot;0&quot; action=&quot;menu-exec-app&quot; param=&quot;transfer 6525 XML default&quot;/&gt;</div><div>&lt;/menu&gt;</div><div style="font-weight: bold; "><br></div></div><div><font class="Apple-style-span" color="#5b1094" face="&#39;Droid Sans&#39;, 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">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</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&#39;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">&lt;<a href="mailto:yudha2008@gmail.com" target="_blank">yudha2008@gmail.com</a>&gt;</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="&#39;Droid Sans&#39;, 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>