Hi<div>I&#39;m using an ivr menu to route my calls to different scripts but some times during execution of scripts ivr starts again and caller goes to ivr menu</div><div><div>&lt;extension name=&quot;mymenue&quot;&gt;</div>
<div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(84210)|(88813996)$&quot;&gt;<span class="Apple-tab-span" style="white-space:pre">        </span>  </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>  &lt;action application=&quot;answer&quot; /&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>  &lt;action application=&quot;start_dtmf&quot; /&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>  &lt;action application=&quot;ivr&quot; data=&quot;sepanta_ivr&quot;/&gt;</div>
<div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>and this is my menu</div><div><br></div><div><div>&lt;include&gt; </div><div>  &lt;menu name=&quot;sepanta_ivr&quot;</div><div>      greet-long=&quot;sepanta/mainMenu.wav&quot;      </div>
<div>      invalid-sound=&quot;sepanta/digitCollectError.wav&quot;            </div><div>      confirm-key=&quot;&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;3&quot;</div><div>      digit-len=&quot;1&quot;&gt;    </div><div>    &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;1&quot; param=&quot;managed Answering adsl&quot;/&gt;<span class="Apple-tab-span" style="white-space:pre">        </span>&lt;!-- ADSL sale service  --&gt;</div>
<div>    &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;2&quot; param=&quot;managed answering adsl&quot;/&gt;<span class="Apple-tab-span" style="white-space:pre">                                </span>&lt;!-- site and customers  --&gt;    </div>
<div>   &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;3&quot; param=&quot;transfer 84211100 xml public&quot;/&gt;    &lt;!-- Managing Director --&gt;</div><div>    &lt;entry action=&quot;menu-sub&quot; digits=&quot;4&quot; param=&quot;sepanta_ivr_submenu&quot;/&gt;                  &lt;!-- demo sub menu --&gt;    </div>
<div>  &lt;/menu&gt;</div><div><br></div><div>  &lt;!-- Sub Menu --&gt;</div><div>  &lt;menu name=&quot;sepanta_ivr_submenu&quot;</div><div>      greet-long=&quot;sepanta/subMenu.wav&quot;</div><div>      invalid-sound=&quot;sepanta/digitCollectError.wav&quot;                        </div>
<div>      timeout=&quot;15000&quot;</div><div>      max-failures=&quot;3&quot;</div><div>      max-timeouts=&quot;3&quot;&gt;   </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;0&quot; param=&quot;managed Answering adsl&quot;/&gt;<span class="Apple-tab-span" style="white-space:pre">        </span>&lt;!-- Free delivery  --&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;1&quot; param=&quot;transfer 84211111 xml public&quot;/&gt;    &lt;!-- Wireless and hosting  --&gt;</div>
<div>    &lt;entry action=&quot;menu-exec-app&quot; digits=&quot;2&quot; param=&quot;managed Answering adsl&quot;/&gt;    &lt;!-- Software and web design --&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;3&quot; param=&quot;transfer 84211102 xml public&quot;/&gt;    &lt;!-- Robotics research --&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;4&quot; param=&quot;&quot;/&gt;    &lt;!-- Notebool sale --&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;5&quot; param=&quot;&quot;/&gt;    &lt;!-- Electronics and borad design--&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;6&quot; param=&quot;managed Answering adsl&quot;/&gt;    &lt;!-- ADSL tracking --&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;7&quot; param=&quot;managed Answering adsl&quot;/&gt;    &lt;!-- ADSL communication organization tracking--&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;8&quot; param=&quot;&quot;/&gt;    &lt;!-- Accounting --&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;9&quot; param=&quot;transfer 84211911 xml public&quot;/&gt;    &lt;!-- Fax --&gt;    </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;entry action=&quot;menu-top&quot; digits=&quot;*&quot;/&gt;</div><div>   &lt;/menu&gt;</div><div>&lt;/include&gt;</div><div><br></div></div><div>thanx</div>
</div>