<div dir="ltr">From the FreeSWITCH Wiki (<a href="https://wiki.freeswitch.org/wiki/IVR_Menu#How_to_route_the_call_if_no_DTMF_is_pressed">https://wiki.freeswitch.org/wiki/IVR_Menu#How_to_route_the_call_if_no_DTMF_is_pressed</a>):<div><h3 style="color:rgb(0,0,0);margin:0px 0px 0.3em;overflow:hidden;padding-top:0.5em;padding-bottom:0.17em;border-bottom-style:none;font-size:17px;font-family:sans-serif;line-height:19.2000007629395px;background-image:none;background-repeat:initial"><span class="" id="How_to_route_the_call_if_no_DTMF_is_pressed">How to route the call if no DTMF is pressed</span></h3><p style="margin:0.4em 0px 0.5em;line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">First, define the IVR main menu like this:</p><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);line-height:1.3em;font-size:13px;background-color:rgb(249,249,249)">    &lt;menu name=&quot;ivr-test&quot;
          greet-long=&quot;/usr/local/freeswitch/sounds/greetings.wav&quot;
          timeout=&quot;10000&quot;
          inter-digit-timeout=&quot;2000&quot;
          max-failures=&quot;1&quot;
          max-timeouts=&quot;2&quot;
          digit-len=&quot;1&quot;&gt;
      &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;1&quot; param=&quot;bridge sofia/internal/1001%10.10.10.10&quot;/&gt;
      &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;2&quot; param=&quot;bridge sofia/internal/1002%10.10.10.10&quot;/&gt;
      &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;3&quot; param=&quot;bridge sofia/internal/1003%10.10.10.10&quot;/&gt;
    &lt;/menu&gt;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">and then in your dialplan, you need:</p><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);line-height:1.3em;font-size:13px;background-color:rgb(249,249,249)"> 
   &lt;extension name=&quot;from_carrier_to_ivr-test&quot;&gt;
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^15559876543$&quot;&gt;
        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;
        &lt;action application=&quot;ivr&quot; data=&quot;ivr-test&quot;/&gt;
        &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/1000%10.10.10.10&quot;/&gt;
      &lt;/condition&gt;
    &lt;/extension&gt;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">With this config, if the IVR manages to bridge the call, it will hang up when the bridge ends.</p><p style="margin:0.4em 0px 0.5em;line-height:19.2000007629395px;color:rgb(0,0,0);font-family:sans-serif;font-size:13px">But if no DTMF is sent, twice in a row (max-timeouts control that), FreeSWITCH will exit the IVR menu and process the next dialplan line, which bridges to 1000.</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-12 2:13 GMT+03:00 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Test to confirm but if no digits are dialed and the IVR times out then it should move on in the dialplan. You can have the &#39;exit&#39; action just be the next thing in the dp.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">-MC<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 10, 2014 at 7:50 AM, Денис <span dir="ltr">&lt;<a href="mailto:denis@ringme.ru" target="_blank">denis@ringme.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We need action on timeout, made digits = &quot;/^$/&quot; - nothing.<br>
How to do it correctly?<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<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>
</blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>С уважением,</div><div>Борисов Дмитрий</div><div>ответственный за разработку VoIP решения</div><div>системный администратор отдела облачных технологий</div></div></div>
</div>