[Freeswitch-users] Need help in IVR
Piyush Sharma
piyush.sharma at coraltele.com
Tue Jul 17 16:51:12 MSD 2012
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="phrase s_main"
greet-short="phrase s_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"
digit-len="1">
<entry action="menu-sub" digits="1" param="ps1"/>
<entry action="menu-top" digits="9"/>
</menu>
<menu name="ps1"
greet-long="phrase s1_main"
greet-short="phrase s1_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>
----- Original Message -----
From: "Vallimamod ABDULLAH" <vallimamod.abdullah at imtelecom.fr>
To: "FreeSWITCH Users Help" <freeswitch-users at 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
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120717/34f9f95f/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list