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
.