I guess if you use:
transfer sub_menu_1 XML
it will stay in the current context.

And if you use:
transfer sub_menu_1 XML foo
it will transfer to context foo.

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 18/08/2010 à 11:39, alan lo a écrit :

Dear all,
 
Referring to the threat below, where should the dp extension stored? In the same XML of ivr or should store it in other locations?
 
Thx!
 
Alan
 
I have confirmed this behavior in the latest git as of last night. I don't
know if this is by design or not. I would open JIRA as a feature request to
have this behavior modified. The other alternative would be to have each IVR
submenu called via transfer instead of menu-sub:
 
<snip>
<!-- go to sub menu -->
<entry action="menu-exec-app" digits="1" param="transfer sub_menu_1 XML"/>
</snip>
 
Then have a dp extension to handle that:
<extension name="sub menu 1">
  <condition field="destination_number" expression="^(sub_menu_1)$">
    <action application="ivr" data="m800_ivr_submenu-m_ch"/>
  </condition>
</extension>
 
-MC
 
On Mon, Jul 19, 2010 at 2:37 AM, Raymond Chan <raymondchan at commverge.com>wrote:
 
>  Hi all,
> 
> 
> 
> I am experiencing an IVR problem. Except the top menu, all other sub menu
> will not hang up after reached max invalid input or timeout limit. It will
> go back up upper menu. I want it to load the exit-sound and then hang the
> call when it reached max invalid input or timeout limit. Do you tell how to
> configure?
> 
> 
> 
>          <menu name="m800_ivr_submenu-m_ch"
> 
> 
> greet-long="C:/FreeSWITCH/recordings/800-ivr-2nd-m.wav"
> 
> 
> greet-short="C:/FreeSWITCH/recordings/greet-short-m.wav"
> 
> 
> invalid-sound="ivr/ivr-that_was_an_invalid_entry-m.wav"
> 
>                         exit-sound="voicemail/vm-goodbye-m.wav"
> 
>                         timeout="5000"
> 
>                         max-failures="2">
> 
>                  <entry action="menu-exec-app" digits="1" param="playback
> C:/FreeSWITCH/recordings/800-ivr-announcement-m_ch.wav"/>
> 
>                  <entry action="menu-exec-app" digits="2" param="lua
> endcall-m.lua"/>
> 
>          </menu>
> 
> 
> 
> Thanks
> 
> 
> 
> Raymond
 
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org