hi,<br><br>i thought there was a typo error in the parameter &quot;na me&quot;.   <br><br>/nandy<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 1:18 PM, Piyush Sharma <span dir="ltr">&lt;<a href="mailto:piyush.sharma@coraltele.com" target="_blank">piyush.sharma@coraltele.com</a>&gt;</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&#39;t get you completely, I named my main menu &quot;ps&quot; 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 &amp; 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>&lt;menu name=&quot;ps&quot;<div class="im"><br>greet-long=&quot;phrase: ps_main&quot;<br>greet-short=&quot;phrase: ps_short&quot;<br></div>............<br>digit_len = 1&gt;<br><br><hr><b>From: </b>&quot;Nandy Dagondon&quot; &lt;<a href="mailto:gcd@i.ph" target="_blank">gcd@i.ph</a>&gt;<div class="im">
<br><b>To: </b>&quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<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>                   &lt;menu name=&quot;ps&quot;<br><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 8:51 PM, Piyush Sharma <span dir="ltr">&lt;<a href="mailto:piyush.sharma@coraltele.com" target="_blank">piyush.sharma@coraltele.com</a>&gt;</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&#39;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>&lt;include&gt;<br>        &lt;menu na
 me=&quot;ps&quot;<br></div>                greet-long=&quot;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&quot;<br>                greet-short=&quot;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&quot;<br>

                exit-sound=&quot;ivr/good_bye.wav&quot;<br>                invalid-sound=&quot;ivr/ivr-not_available.wav&quot;<br>                t
 ts-engine=&quot;flite&quot;<div><br>                tts-voice=&quot;rms&quot;<br>                timeout=&quot;3000&quot;<br>                max-failures=&quot;2&quot;<br>                phrase_lang=&quot;en&quot;<br>
</div><div>                digit-len=&quot;1&quot;&gt;<br><br>                &lt;entry action=&quot;menu-sub&quot; digits=&quot;1&quot; param=&quot;ps1&quot;/&gt;<br>                &lt;entry action=&quot;menu-top&quot; digits=&quot;9&quot;/&gt;<br>

        &lt;/menu&gt;<br></div>        &lt;menu name=&quot;ps1&quot;&lt;
 br&gt;                greet-long=&quot;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&quot;<br>                greet-short=&quot;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&quot;<br>

                exit-sound=&quot;ivr/good_bye.wav&quot;<br>                invalid-sound=&quot;ivr/ivr-not_available.wav&quot;<br>                timeout
 =&quot;3000&quot;<div><br>                max-failure=&quot;3&quot;&gt;<br><br>                &lt;entry action=&quot;menu-top&quot; digit=&quot;*&quot;/&gt;<br>        &lt;/menu&gt;<br>&lt;/include&gt;<br></div>
</span><br><br><hr><b>From: </b>&quot;Vallimamod ABDULLAH&quot; &lt;<a href="mailto:vallimamod.abdullah@imtelecom.fr" target="_blank">vallimamod.abdullah@imtelecom.fr</a>&gt;<div><br><b>To: </b>&quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<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>&gt; Hello Everyone,<br>

&gt; <br>&gt; I am trying to create an IVR with menu and sub menus, but getting following error when I make the call,<br>&gt; 2012-07-17 11:05:37.755034 [ERR] switch_ivr_menu.c:870 Unable to build xml menu<br>&gt; 2012-07-17 11:05:37.755034 [ERR
 ] switch_ivr_menu.c:870 Unable to build xml menu<br>&gt; 2012-07-17 11:05:37.755034 [ERR] mod_dptools.c:1774 Unable to create menu<br>&gt; <br>&gt; I am new to this, so there might be little or a big error.<br>&gt; <br>

&gt; My XML contents in ...conf/ivr_menus is<br>&gt; <br>&gt; &lt;include&gt;<br>&gt;         &lt;menu na me=&quot;ps&quot;<br>&gt;                 greet-long=&quot;phrase:ps_main&quot;<br>&gt;                 greet-short=&quot;phrase:ps_short&quot;<br>

&gt;                 exit-sound=&quot;ivr/good_bye.wav&quot;<br>&gt;                 invalid-sound=&quot;ivr/ivr-not_available.wav&quot;<br>&gt;                 tts-engine=&quot;flite&quot;<br>&gt;                 tts-voice=&quot;rms&quot;<br>

&gt;                 timeout=&quot;3000&quot;<br>&gt; 
                 max-failures=&quot;2&quot;<br>&gt;       ;           phrase_lang=&quot;en&quot;<br><br>-------^^<br>This is strange: &quot;;&quot; is not a valid sign in xml for comments. All comments must be between &quot;&lt;!--&quot; and &quot;--&gt;&quot;. 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">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">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>