Default action on IVR menus
Hi all, Is is possible to define a default action in an IVR menu? i.e. an action that is taken when the user does NOT press any key. For example: <menu name="ppn_ivr_VoiceMail_Play" greet-long="phrase:PlayVM" timeout="3000" inter-digit-timeout="3000" timeout="3000" max-failures="0" max-timeouts="1" digit-len="1"> <entry action="menu-exec-app" digits="4" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 4"/> <entry action="menu-exec-app" digits="7" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 7"/> <entry action="menu-exec-app" digits="8" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 8"/> <entry action="menu-exec-app" digits="5" param="managed PPNSystem.Telephony.ReturnCallVoicemailHandler 5"/> <entry action="menu-exec-app" digits="" param="managed PPNSystem.Telephony.PlayVoicemailHandler"/> </menu> In the above I would like the last action to kick in if the user does not press any keys after 3 secs. Any help appreciated! Thanks Pj
Phillip, you just to add an action in the diaplan after the call to the ivr app, and use hangup_after_bridge=true, so that it is not parsed if the ivr successfully bridged the call. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com 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 26/09/2010 à 19:14, Phillip Jones a écrit :
Hi all,
Is is possible to define a default action in an IVR menu? i.e. an action that is taken when the user does NOT press any key.
For example:
<menu name="ppn_ivr_VoiceMail_Play" greet-long="phrase:PlayVM" timeout="3000" inter-digit-timeout="3000" timeout="3000" max-failures="0" max-timeouts="1" digit-len="1">
<entry action="menu-exec-app" digits="4" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 4"/> <entry action="menu-exec-app" digits="7" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 7"/> <entry action="menu-exec-app" digits="8" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 8"/> <entry action="menu-exec-app" digits="5" param="managed PPNSystem.Telephony.ReturnCallVoicemailHandler 5"/> <entry action="menu-exec-app" digits="" param="managed PPNSystem.Telephony.PlayVoicemailHandler"/>
</menu>
In the above I would like the last action to kick in if the user does not press any keys after 3 secs.
Any help appreciated!
Thanks
Pj _______________________________________________ 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
Thanks David - unfortunately this is a sub menu, so is not called from the dailplan. I am trying to avoid it returning to the calling menu. I am looking to see if something like: <default action="menu-exec-app" param="managed PPNSystem.Telephony.PlayVoicemailHandler"/> exists. On Sun, Sep 26, 2010 at 1:35 PM, David Ponzone <david.ponzone@ipeva.fr>wrote:
Phillip,
you just to add an action in the diaplan after the call to the ivr app, and use hangup_after_bridge=true, so that it is not parsed if the ivr successfully bridged the call.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*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 26/09/2010 à 19:14, Phillip Jones a écrit :
Hi all,
Is is possible to define a default action in an IVR menu? i.e. an action that is taken when the user does NOT press any key.
For example:
<menu name="ppn_ivr_VoiceMail_Play" greet-long="phrase:PlayVM" timeout="3000" inter-digit-timeout="3000" timeout="3000" max-failures="0" max-timeouts="1" digit-len="1">
<entry action="menu-exec-app" digits="4" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 4"/> <entry action="menu-exec-app" digits="7" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 7"/> <entry action="menu-exec-app" digits="8" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 8"/> <entry action="menu-exec-app" digits="5" param="managed PPNSystem.Telephony.ReturnCallVoicemailHandler 5"/> <entry action="menu-exec-app" digits="" param="managed PPNSystem.Telephony.PlayVoicemailHandler"/>
</menu>
In the above I would like the last action to kick in if the user does not press any keys after 3 secs.
Any help appreciated!
Thanks
Pj _______________________________________________ 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
_______________________________________________ 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
I had this same problem and was told to just put the app after the voicemail app in the dialplan so after exiting it will do what you want, however if there is a transfer in the menu it will never get there. Hope that helps. Phillip Jones <pjintheusa@gmail.com> wrote:
Hi all,
Is is possible to define a default action in an IVR menu? i.e. an action that is taken when the user does NOT press any key.
For example:
<menu name="ppn_ivr_VoiceMail_Play" greet-long="phrase:PlayVM" timeout="3000" inter-digit-timeout="3000" timeout="3000" max-failures="0" max-timeouts="1" digit-len="1">
<entry action="menu-exec-app" digits="4" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 4"/> <entry action="menu-exec-app" digits="7" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 7"/> <entry action="menu-exec-app" digits="8" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 8"/> <entry action="menu-exec-app" digits="5" param="managed PPNSystem.Telephony.ReturnCallVoicemailHandler 5"/> <entry action="menu-exec-app" digits="" param="managed PPNSystem.Telephony.PlayVoicemailHandler"/>
</menu>
In the above I would like the last action to kick in if the user does not press any keys after 3 secs.
Any help appreciated!
Thanks
Pj
---------------------------------------------------- Alternatives:
---------------------------------------------------- _______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Thanks Guys - I was thinking about it the wrong way. This makes perfect sense now. On Sun, Sep 26, 2010 at 2:30 PM, <covici@ccs.covici.com> wrote:
I had this same problem and was told to just put the app after the voicemail app in the dialplan so after exiting it will do what you want, however if there is a transfer in the menu it will never get there.
Hope that helps.
Phillip Jones <pjintheusa@gmail.com> wrote:
Hi all,
Is is possible to define a default action in an IVR menu? i.e. an action that is taken when the user does NOT press any key.
For example:
<menu name="ppn_ivr_VoiceMail_Play" greet-long="phrase:PlayVM" timeout="3000" inter-digit-timeout="3000" timeout="3000" max-failures="0" max-timeouts="1" digit-len="1">
<entry action="menu-exec-app" digits="4" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 4"/> <entry action="menu-exec-app" digits="7" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 7"/> <entry action="menu-exec-app" digits="8" param="managed PPNSystem.Telephony.ChangeStatusVoicemailHandler 8"/> <entry action="menu-exec-app" digits="5" param="managed PPNSystem.Telephony.ReturnCallVoicemailHandler 5"/> <entry action="menu-exec-app" digits="" param="managed PPNSystem.Telephony.PlayVoicemailHandler"/>
</menu>
In the above I would like the last action to kick in if the user does not press any keys after 3 secs.
Any help appreciated!
Thanks
Pj
---------------------------------------------------- Alternatives:
---------------------------------------------------- _______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
Is it possible to access the digits introduced by the caller in the IVR from some variable (${ivr_digits} or similar)? It would allow a later dialplan action (ej: the default action run after the IVR app?) to use those digits. François. On Sun, 2010-09-26 at 14:47 -0400, Phillip Jones wrote:
Thanks Guys - I was thinking about it the wrong way.
This makes perfect sense now.
On Sun, Sep 26, 2010 at 2:30 PM, <covici@ccs.covici.com> wrote: I had this same problem and was told to just put the app after the voicemail app in the dialplan so after exiting it will do what you want, however if there is a transfer in the menu it will never get there.
Hope that helps.
Phillip Jones <pjintheusa@gmail.com> wrote:
> Hi all, > > Is is possible to define a default action in an IVR menu? i.e. an action > that is taken when the user does NOT press any key. > > For example: > > <menu name="ppn_ivr_VoiceMail_Play" > greet-long="phrase:PlayVM" > timeout="3000" > inter-digit-timeout="3000" > timeout="3000" > max-failures="0" > max-timeouts="1" > digit-len="1"> > > <entry action="menu-exec-app" digits="4" param="managed > PPNSystem.Telephony.ChangeStatusVoicemailHandler 4"/> > <entry action="menu-exec-app" digits="7" param="managed > PPNSystem.Telephony.ChangeStatusVoicemailHandler 7"/> > <entry action="menu-exec-app" digits="8" param="managed > PPNSystem.Telephony.ChangeStatusVoicemailHandler 8"/> > <entry action="menu-exec-app" digits="5" param="managed > PPNSystem.Telephony.ReturnCallVoicemailHandler 5"/> > <entry action="menu-exec-app" digits="" param="managed > PPNSystem.Telephony.PlayVoicemailHandler"/> > > </menu> > > In the above I would like the last action to kick in if the user does not > press any keys after 3 secs. > > Any help appreciated! > > Thanks > > > Pj >
> ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _______________________________________________ > 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
_______________________________________________ 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
participants (4)
-
covici@ccs.covici.com
-
David Ponzone
-
François Delawarde
-
Phillip Jones