IVR Timeout/Invalid Option Actions
Is there a way to have an IVR menu take an action besides disconnecting if the digit timeout is reached or if there is an invalid option? An IVR that looks like this would be ideal, with two additional actions menu-timeout and menu-invalid. This would give the IVR a great deal more flexibility. <menu name="demo_ivr" greet-long="phrase:demo_ivr_main_menu" greet-short="phrase:demo_ivr_main_menu_short" invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" exit-sound="voicemail/vm-goodbye.wav" timeout ="10000" inter-digit-timeout="2000" max-failures="3" digit-len="4"> <entry action="menu-exec-app" digits="1" param="bridge sofia/$${domain}/888@conference.freeswitch.org"/> <entry action="menu-exec-app" digits="2" param="transfer 9996 XML default"/> <!-- FS echo --> <entry action="menu-exec-app" digits="3" param="transfer 9999 XML default"/> <!-- MOH --> <entry action="menu-sub" digits="4" param="demo_ivr_submenu"/> <!-- demo sub menu --> <entry action="menu-exec-app" digits="5" param="transfer 1234*256 enum"/> <!-- Screaming monkeys --> <entry action="menu-exec-app" digits="/^(10[01][0-9])$/" param="transfer $1 XML default"/> <entry action="menu-top" digits="9"/> <!-- Repeat this menu --> <entry action="menu-timeout" param="menu-exec-app;param=transfer 100 XML default"/> <!-- Send to an extension --> <entry action="menu-invalid" param="menu-top"/> <!-- Send to an extension --> </menu> <!-- Demo IVR, Sub Menu --> <menu name="demo_ivr_submenu" greet-long="phrase:demo_ivr_sub_menu" greet-short="phrase:demo_ivr_sub_menu_short" invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" exit-sound="voicemail/vm-goodbye.wav" timeout="15000" max-failures="3"> <entry action="menu-top" digits="*"/> </menu> -- Marc Lewis Avvatel Corporation
You would put something in the dialplan after the application="ivr" and transfer it elsewhere or execute another ivr. Thats what I would do. On Sep 5, 2008, at 7:01 PM, Marc Lewis wrote:
An IVR that looks like this would be ideal, with two additional actions menu-timeout and menu-invalid. This would give the IVR a great deal more flexibility.
Brian West sip:brian@freeswitch.org
participants (2)
-
Brian West
-
Marc Lewis