<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier New; font-size: 10pt; color: #000000'><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"<br>greet-long="phrase: ps_main"<br>greet-short="phrase: ps_short"<br>............<br>digit_len = 1><br><br><hr id="zwchr"><b>From: </b>"Nandy Dagondon" <gcd@i.ph><br><b>To: </b>"FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><br><b>Sent: </b>Tuesday, July 17, 2012 6:48:28 PM<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 class="im"><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 class="im"><br> tts-voice="rms"<br> timeout="3000"<br> max-failures="2"<br> phrase_lang="en"<br>
</div><div class="im"> 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 class="im"><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 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 4:24:42 PM<br><b>Subject: </b>Re: [Freeswitch-users] Need help in IVR<div><div class="h5"><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></body></html>