[Freeswitch-users] IVR problem
babak yakhchali
babak.freeswitch at gmail.com
Wed Sep 29 09:13:59 PDT 2010
Hi
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
<extension name="mymenue">
<condition field="destination_number"
expression="^(84210)|(88813996)$">
<action application="answer" />
<action application="start_dtmf" />
<action application="ivr" data="sepanta_ivr"/>
</condition>
</extension>
and this is my menu
<include>
<menu name="sepanta_ivr"
greet-long="sepanta/mainMenu.wav"
invalid-sound="sepanta/digitCollectError.wav"
confirm-key=""
confirm-attempts="3"
timeout="10000"
inter-digit-timeout="2000"
max-failures="3"
max-timeouts="3"
digit-len="1">
<entry action="menu-exec-app" digits="1" param="managed Answering
adsl"/> <!-- ADSL sale service -->
<entry action="menu-exec-app" digits="2" param="managed answering
adsl"/> <!-- site and customers -->
<entry action="menu-exec-app" digits="3" param="transfer 84211100 xml
public"/> <!-- Managing Director -->
<entry action="menu-sub" digits="4" param="sepanta_ivr_submenu"/>
<!-- demo sub menu -->
</menu>
<!-- Sub Menu -->
<menu name="sepanta_ivr_submenu"
greet-long="sepanta/subMenu.wav"
invalid-sound="sepanta/digitCollectError.wav"
timeout="15000"
max-failures="3"
max-timeouts="3">
<entry action="menu-exec-app" digits="0" param="managed Answering adsl"/> <!--
Free delivery -->
<entry action="menu-exec-app" digits="1" param="transfer 84211111 xml
public"/> <!-- Wireless and hosting -->
<entry action="menu-exec-app" digits="2" param="managed Answering
adsl"/> <!-- Software and web design -->
<entry action="menu-exec-app" digits="3" param="transfer 84211102 xml
public"/> <!-- Robotics research -->
<entry action="menu-exec-app" digits="4" param=""/> <!-- Notebool sale
-->
<entry action="menu-exec-app" digits="5" param=""/> <!-- Electronics and
borad design-->
<entry action="menu-exec-app" digits="6" param="managed Answering adsl"/>
<!-- ADSL tracking -->
<entry action="menu-exec-app" digits="7" param="managed Answering adsl"/>
<!-- ADSL communication organization tracking-->
<entry action="menu-exec-app" digits="8" param=""/> <!-- Accounting -->
<entry action="menu-exec-app" digits="9" param="transfer 84211911 xml
public"/> <!-- Fax -->
<entry action="menu-top" digits="*"/>
</menu>
</include>
thanx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100929/86e12fe2/attachment.html
More information about the FreeSWITCH-users
mailing list