<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier New; font-size: 10pt; color: #000000'><br>It seems that issue is regarding menu-sub. If I comment that line(<entry action="menu-sub" digits="1" param="ps1"/>) from main menu, IVR starts but when I want to work with sub menu, I get these error messages<br><br>2012-07-18 16:25:07.623017 [ERR] switch_ivr_menu.c:870 Unable to build xml menu<br>2012-07-18 16:25:07.623017 [ERR] switch_ivr_menu.c:870 Unable to build xml menu<br>2012-07-18 16:25:07.623017 [ERR] mod_dptools.c:1774 Unable to create menu<br><br>this is the code of sub menu in XML.<br><br><menu name="ps1"<br>greet-long="phrase: ps1_main"<br>greet-short="phrase: ps1_short"<br>exit-sound="ivr/good_bye.wav"<br>invalid-sound="ivr/ivr-not_available.wav"<br>timeout="3000"<br>max-failure="3"<br>max-timeouts="3"><br> <br><entry action="menu-top" digit="*"/><br><br></menu><br><br>is there anything wrong in this, well I have made the macros as same as in main menu ?<br><br><hr id="zwchr"><b>From: </b>"Nandy Dagondon" <nandy1925@gmail.com><br><b>To: </b>"FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><br><b>Sent: </b>Wednesday, July 18, 2012 11:26:34 AM<br><b>Subject: </b>Re: [Freeswitch-users] Need help in IVR<br><br>
hi,<br><br>i thought there was a typo error in the parameter "na me". <br><br>/nandy<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 1:18 PM, Piyush Sharma <span dir="ltr"><<a href="mailto:piyush.sharma@coraltele.com" target="_blank">piyush.sharma@coraltele.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:Courier New"><br>Hello Nandy,<br><br>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.)<br>
<br><menu name="ps"<div class="im"><br>greet-long="phrase: ps_main"<br>greet-short="phrase: ps_short"<br></div>............<br>digit_len = 1><br><br><hr><b>From: </b>"Nandy Dagondon" <<a href="mailto:gcd@i.ph" target="_blank">gcd@i.ph</a>><div class="im">
<br><b>To: </b>"FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br></div><b>Sent: </b>Tuesday, July 17, 2012 6:48:28 PM<div>
<div class="h5"><br><b>Subject: </b>Re: [Freeswitch-users] Need help in IVR<br><br>how about this line?<br> <menu name="ps"<br><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 8:51 PM, Piyush Sharma <span dir="ltr"><<a href="mailto:piyush.sharma@coraltele.com" target="_blank">piyush.sharma@coraltele.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:Courier New"><br>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.<br>
<span><div><br><include><br> <menu na
me="ps"<br></div> greet-long="phrase<span style="min-height:18;width:18;padding:9px 18px 9px 0;background:none no-repeat 0 50%" title=":P - tongue"></span>s_main"<br> greet-short="phrase<span style="min-height:18;width:18;padding:9px 18px 9px 0;background:none no-repeat 0 50%" title=":P - tongue"></span>s_short"<br>
exit-sound="ivr/good_bye.wav"<br> invalid-sound="ivr/ivr-not_available.wav"<br> t
ts-engine="flite"<div><br> tts-voice="rms"<br> timeout="3000"<br> max-failures="2"<br> phrase_lang="en"<br>
</div><div> digit-len="1"><br><br> <entry action="menu-sub" digits="1" param="ps1"/><br> <entry action="menu-top" digits="9"/><br>
</menu><br></div> <menu name="ps1"<
br> greet-long="phrase<span style="min-height:18;width:18;padding:9px 18px 9px 0;background:none no-repeat 0 50%" title=":P - tongue"></span>s1_main"<br> greet-short="phrase<span style="min-height:18;width:18;padding:9px 18px 9px 0;background:none no-repeat 0 50%" title=":P - tongue"></span>s1_short"<br>
exit-sound="ivr/good_bye.wav"<br> invalid-sound="ivr/ivr-not_available.wav"<br> timeout
="3000"<div><br> max-failure="3"><br><br> <entry action="menu-top" digit="*"/><br> </menu><br></include><br></div>
</span><br><br><hr><b>From: </b>"Vallimamod ABDULLAH" <<a href="mailto:vallimamod.abdullah@imtelecom.fr" target="_blank">vallimamod.abdullah@imtelecom.fr</a>><div><br><b>To: </b>"FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
</div><b>Sent: </b>Tuesday, July 17, 2012 4:24:42 PM<br><b>Subject: </b>Re: [Freeswitch-users] Need help in IVR<div><div><br><br>hi,<br><br>On Jul 17, 2012, at 7:39 AM, Piyush Sharma wrote:<br><br>> Hello Everyone,<br>
> <br>> I am trying to create an IVR with menu and sub menus, but getting following error when I make the call,<br>> 2012-07-17 11:05:37.755034 [ERR] switch_ivr_menu.c:870 Unable to build xml menu<br>> 2012-07-17 11:05:37.755034 [ERR
] switch_ivr_menu.c:870 Unable to build xml menu<br>> 2012-07-17 11:05:37.755034 [ERR] mod_dptools.c:1774 Unable to create menu<br>> <br>> I am new to this, so there might be little or a big error.<br>> <br>
> My XML contents in ...conf/ivr_menus is<br>> <br>> <include><br>> <menu na me="ps"<br>> greet-long="phrase:ps_main"<br>> greet-short="phrase:ps_short"<br>
> exit-sound="ivr/good_bye.wav"<br>> invalid-sound="ivr/ivr-not_available.wav"<br>> tts-engine="flite"<br>> tts-voice="rms"<br>
> timeout="3000"<br>>
max-failures="2"<br>> ; phrase_lang="en"<br><br>-------^^<br>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.<br>
Try to remove it and test again.<br><br>Best Regards,<br>-vma<br>.<br><br><br><br></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></body></html>