Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] IVR Timeout/Invalid Option Actions


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
marc at avvatel.com
Guest





PostPosted: Fri Sep 05, 2008 7:02 pm    Post subject: [Freeswitch-users] IVR Timeout/Invalid Option Actions Reply with quote

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


_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Sep 05, 2008 7:20 pm    Post subject: [Freeswitch-users] IVR Timeout/Invalid Option Actions Reply with quote

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:

Quote:

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







_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services