hi, i thought there was a typo error in the parameter "na me". /nandy On Wed, Jul 18, 2012 at 1:18 PM, Piyush Sharma <piyush.sharma@coraltele.com>wrote:
Hello Nandy,
I didn't get you completely, I named my main menu "ps" it is just a test case, I want to prepare a IVR, that may have sub menus upto some level, so I will name menus & sub menus with some logic so that it is easy to maintain, If it is possible, I want to generate it automatically via a script on the basis of some input. I am new to this so your little support can help me a lot. If you are not clear, tell me I will explain more about this. (I am sick of visibility, it is not clear again.)
<menu name="ps"
greet-long="phrase: ps_main" greet-short="phrase: ps_short" ............ digit_len = 1>
------------------------------ *From: *"Nandy Dagondon" <gcd@i.ph>
*To: *"FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> *Sent: *Tuesday, July 17, 2012 6:48:28 PM
*Subject: *Re: [Freeswitch-users] Need help in IVR
how about this line? <menu name="ps"
On Tue, Jul 17, 2012 at 8:51 PM, Piyush Sharma < piyush.sharma@coraltele.com> wrote:
Thanks for the response, I don't know how semicolon came in the email, but I have no semicolon in my XML, and please avoid visible smiles as well.
<include> <menu na me="ps" greet-long="phrases_main" greet-short="phrases_short" exit-sound="ivr/good_bye.wav" invalid-sound="ivr/ivr-not_available.wav" t ts-engine="flite"
tts-voice="rms" timeout="3000" max-failures="2" phrase_lang="en" digit-len="1">
<entry action="menu-sub" digits="1" param="ps1"/> <entry action="menu-top" digits="9"/> </menu> <menu name="ps1"< br> greet-long="phrases1_main" greet-short="phrases1_short" exit-sound="ivr/good_bye.wav" invalid-sound="ivr/ivr-not_available.wav" timeout ="3000"
max-failure="3">
<entry action="menu-top" digit="*"/> </menu> </include>
------------------------------ *From: *"Vallimamod ABDULLAH" <vallimamod.abdullah@imtelecom.fr>
*To: *"FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> *Sent: *Tuesday, July 17, 2012 4:24:42 PM *Subject: *Re: [Freeswitch-users] Need help in IVR
hi,
On Jul 17, 2012, at 7:39 AM, Piyush Sharma wrote:
Hello Everyone,
I am trying to create an IVR with menu and sub menus, but getting following error when I make the call, 2012-07-17 11:05:37.755034 [ERR] switch_ivr_menu.c:870 Unable to build xml menu 2012-07-17 11:05:37.755034 [ERR ] switch_ivr_menu.c:870 Unable to build xml menu 2012-07-17 11:05:37.755034 [ERR] mod_dptools.c:1774 Unable to create menu
I am new to this, so there might be little or a big error.
My XML contents in ...conf/ivr_menus is
<include> <menu na me="ps" greet-long="phrase:ps_main" greet-short="phrase:ps_short" exit-sound="ivr/good_bye.wav" invalid-sound="ivr/ivr-not_available.wav" tts-engine="flite" tts-voice="rms" timeout="3000" max-failures="2" ; phrase_lang="en"
-------^^ This is strange: ";" is not a valid sign in xml for comments. All comments must be between "<!--" and "-->". Also, you cannot put a comment inside a tag. Try to remove it and test again.
Best Regards, -vma .
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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