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