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 <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> >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
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 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 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
Thx for the answer, but I tried but it doesnt work. Below is some of my code in my file v_IVR_demo.xml under folder ivr_menus <extension name="submenu"> <condition field="destination_number" expression="^(submenu)$"> <action application="ivr" data="m800_ivr_submenu_country_select"/> </condition> </extension> <entry action="menu-exec-app" digits="1" param="transfer submenu XML"/> The call dropped immediately after I press 1 in the phone Below is the log. Phone number and IP are masked with (MyPhone) and (MyIP) respectively. 2010-08-19 10:47:34.220750 [NOTICE] mod_dptools.c:720 Channel [sofia/external/(MyPhone)@ (MyIP)] has been answered 2010-08-19 10:47:44.892625 [NOTICE] switch_ivr.c:1450 Transfer sofia/external/(MyPhone)@ (MyIP) to XML[submenu@public] 2010-08-19 10:47:44.892625 [NOTICE] switch_cpp.cpp:597 Hangup sofia/external/(MyPhone)@ (MyIP) [CS_ROUTING] [NORMAL_CLEARING] 2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1188 Session 6 (sofia/external/(MyPhone)@ (MyIP)) Ended 2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1190 Close Channel sofia/external/(MyPhone)@ (MyIP) [CS_DESTROY] Alan _____ From: David Ponzone [mailto:david.ponzone@ipeva.fr] Sent: Wednesday, August 18, 2010 11:17 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] IVR menu failure/timeout action 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 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 <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://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 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 <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> >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
Alan, Please collect a debug trace of the call failing. Use "console loglevel debug" at the CLI. Also, use pastebin for the log so that this thread doesn't get too long. http://pastebin:freeswitch@pastebin.freeswitch.org/ After you have pastebin'd the logs please give us the URL of the pb entry and we'll have a look. Thanks, MC On Wed, Aug 18, 2010 at 8:10 PM, alan lo <alanlo@commverge.com> wrote:
Thx for the answer, but I tried but it doesn’t work.
Below is some of my code in my file ”v_IVR_demo.xml” under folder “ivr_menus”
*<extension name="submenu">*
* <condition field="destination_number" expression="^(submenu)$">*
* <action application="ivr" data="m800_ivr_submenu_country_select"/>*
* </condition>*
*</extension>*
*<entry action="menu-exec-app" digits="1" param="transfer submenu XML"/>*
The call dropped immediately after I press 1 in the phone
Below is the log. Phone number and IP are masked with (MyPhone) and (MyIP) respectively.
2010-08-19 10:47:34.220750 [NOTICE] mod_dptools.c:720 Channel [sofia/external/(MyPhone)@ (MyIP)] has been answered
2010-08-19 10:47:44.892625 [NOTICE] switch_ivr.c:1450 Transfer sofia/external/(MyPhone)@ (MyIP) to XML[submenu@public]
2010-08-19 10:47:44.892625 [NOTICE] switch_cpp.cpp:597 Hangup sofia/external/(MyPhone)@ (MyIP) [CS_ROUTING] [NORMAL_CLEARING]
2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1188 Session 6 (sofia/external/(MyPhone)@ (MyIP)) Ended
2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1190 Close Channel sofia/external/(MyPhone)@ (MyIP) [CS_DESTROY]
MC I have put the log on the following URL. http://pastebin.freeswitch.org/13682 Please help check it! Thanks. Alan _____ From: Michael Collins [mailto:msc@freeswitch.org] Sent: Friday, August 20, 2010 1:46 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] IVR menu failure/timeout action Alan, Please collect a debug trace of the call failing. Use "console loglevel debug" at the CLI. Also, use pastebin for the log so that this thread doesn't get too long. http://pastebin:freeswitch@pastebin.freeswitch.org/ After you have pastebin'd the logs please give us the URL of the pb entry and we'll have a look. Thanks, MC On Wed, Aug 18, 2010 at 8:10 PM, alan lo <alanlo@commverge.com> wrote: Thx for the answer, but I tried but it doesn’t work. Below is some of my code in my file â€v_IVR_demo.xml†under folder “ivr_menus†<extension name="submenu">  <condition field="destination_number" expression="^(submenu)$">    <action application="ivr" data="m800_ivr_submenu_country_select"/>  </condition> </extension>  <entry action="menu-exec-app" digits="1" param="transfer submenu XML"/>  The call dropped immediately after I press 1 in the phone Below is the log. Phone number and IP are masked with (MyPhone) and (MyIP) respectively. 2010-08-19 10:47:34.220750 [NOTICE] mod_dptools.c:720 Channel [sofia/external/(MyPhone)@ (MyIP)] has been answered 2010-08-19 10:47:44.892625 [NOTICE] switch_ivr.c:1450 Transfer sofia/external/(MyPhone)@ (MyIP) to XML[submenu@public] 2010-08-19 10:47:44.892625 [NOTICE] switch_cpp.cpp:597 Hangup sofia/external/(MyPhone)@ (MyIP) [CS_ROUTING] [NORMAL_CLEARING] 2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1188 Session 6 (sofia/external/(MyPhone)@ (MyIP)) Ended 2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1190 Close Channel sofia/external/(MyPhone)@ (MyIP) [CS_DESTROY] Â
Alan, I it looks like the transfer is going to the public context which I'm assuming is not what you want. Try changing this: *<entry action="menu-exec-app" digits="1" param="transfer submenu XML"/>* To this: *<entry action="menu-exec-app" digits="1" param="transfer submenu XML default"/>* Let us know if that helps. -MC On Thu, Aug 19, 2010 at 8:05 PM, alan lo <alanlo@commverge.com> wrote:
MC
I have put the log on the following URL.
http://pastebin.freeswitch.org/13682
Please help check it! Thanks.
Alan
------------------------------
*From:* Michael Collins [mailto:msc@freeswitch.org] *Sent:* Friday, August 20, 2010 1:46 AM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] IVR menu failure/timeout action
Alan,
Please collect a debug trace of the call failing. Use "console loglevel debug" at the CLI. Also, use pastebin for the log so that this thread doesn't get too long. http://pastebin:freeswitch@pastebin.freeswitch.org/
After you have pastebin'd the logs please give us the URL of the pb entry and we'll have a look. Thanks, MC
On Wed, Aug 18, 2010 at 8:10 PM, alan lo <alanlo@commverge.com> wrote:
Thx for the answer, but I tried but it doesn’t work.
Below is some of my code in my file †v_IVR_demo.xml†under folder “ ivr_menusâ€
*<extension name="submenu">*
*Â ** <condition field="destination_number" expression="^(submenu)$">*
*Â Â Â ** <action application="ivr" data="m800_ivr_submenu_country_select"/>*
*Â ** </condition>*
*</extension>*
Â
*<entry action="menu-exec-app" digits="1" param="transfer submenu XML"/>*
Â
The call dropped immediately after I press 1 in the phone
Below is the log. Phone number and IP are masked with (MyPhone) and (MyIP) respectively.
2010-08-19 10:47:34.220750 [NOTICE] mod_dptools.c:720 Channel [sofia/external/(MyPhone)@ (MyIP)] has been answered
2010-08-19 10:47:44.892625 [NOTICE] switch_ivr.c:1450 Transfer sofia/external/(MyPhone)@ (MyIP) to XML[submenu@public]
2010-08-19 10:47:44.892625 [NOTICE] switch_cpp.cpp:597 Hangup sofia/external/(MyPhone)@ (MyIP) [CS_ROUTING] [NORMAL_CLEARING]
2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1188 Session 6 (sofia/external/(MyPhone)@ (MyIP)) Ended
2010-08-19 10:47:44.892625 [NOTICE] switch_core_session.c:1190 Close Channel sofia/external/(MyPhone)@ (MyIP) [CS_DESTROY]
Â
_______________________________________________ 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 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 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 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
participants (3)
-
alan lo
-
David Ponzone
-
Michael Collins