<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)"> <menu name="ivr-test"
         greet-long="/usr/local/freeswitch/sounds/greetings.wav"
         timeout="10000"
         inter-digit-timeout="2000"
         max-failures="1"
         max-timeouts="2"
         digit-len="1">
<entry action="menu-exec-app" digits="1" param="bridge sofia/internal/1001%10.10.10.10"/>
<entry action="menu-exec-app" digits="2" param="bridge sofia/internal/1002%10.10.10.10"/>
<entry action="menu-exec-app" digits="3" param="bridge sofia/internal/1003%10.10.10.10"/>
</menu>
</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)">
<extension name="from_carrier_to_ivr-test">
<condition field="destination_number" expression="^15559876543$">
        <action application="set" data="hangup_after_bridge=true"/>
<action application="ivr" data="ivr-test"/>
<action application="bridge" data="sofia/internal/1000%10.10.10.10"/>
</condition>
</extension>
</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"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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 'exit' 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"><<a href="mailto:denis@ringme.ru" target="_blank">denis@ringme.ru</a>></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 = "/^$/" - 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>