<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Here is a sample from my server, I
highlighted the missing stuff.<br>
<br>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document type="freeswitch/xml"><br>
<section name="configuration"><br>
<font color="#ff0000"><b> <configuration name="ivr.conf"
description="IVR menus"></b><b><br>
</b><b> <menus></b></font><br>
<menu name="ivrmenu1"<br>
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"<br>
exit-sound="voicemail/vm-goodbye.wav"<br>
timeout ="3000"<br>
inter-digit-timeout="2000"<br>
max-failures="2"<br>
digit-len="3"<br>
phrase-lang="en"><br>
<entry action="menu-exec-app" digits="0"
param="transfer 11 XML voicemail " /><br>
<entry action="menu-exec-app" digits="1"
param="transfer ivrmenu2 XML ivr " /><br>
<entry action="menu-exec-app" digits="2"
param="transfer ivrmenu3 XML ivr " /><br>
</menu><br>
<b><font color="#ff0000"> </menus><br>
</configuration></font></b><br>
</section><br>
</document><br>
<br>
On 12/24/2012 4:22 PM, Tim Meade wrote:<br>
</div>
<blockquote
cite="mid:804D48104511D4468F0D60DF9D3100350AF8A9E3@MAIL.millicorp.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">The items I
pasted below are from the cat of the xml_curl debug_on
command. It certainly appears to me that freeswitch is
getting the correct name in this case ‘tivr’ which is what
shows in both the dialplan and the curl’d ivr menu.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My concerns now
are dealing with the xml format for the ivr as I have found
several different versions on the wiki and in the prior
postings.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Abaci<br>
<b>Sent:</b> Monday, December 24, 2012 3:42 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] xml_curl and ivr
menus<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">on freeswitch enable xml_curl debug and
see if freeswitch is actually getting the correct ivr<br>
'xml_curl debug_on'<br>
<br>
On 12/24/2012 2:20 PM, Tim Meade wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">I am continually getting ‘unable to find
menu’ while trying to retrieve an ivr_menu using xml_curl<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Using xml_curl debug_on <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">My DialPlan<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><document
type="freeswitch/xml"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><section
name="dialplan" description="example_curl_dialplan"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><context
name="public"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><extension
name="ws_origination"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><condition
field="destination_number" expression="^\d+$"
break="on-true"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><action
inline="true" application="set"
data="continue_on_fail=true"/><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><action
inline="true" application="set"
data="hangup_after_bridge=true"/>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><action
application="answer"/><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><action
application="ivr" data="tivr"/><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></condition><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></extension><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></context><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></section><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">And the ivr configuration returned by my
xml_curl<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><include><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><!-- demo IVR
setup --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><!-- demo
IVR, Main Menu --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><menu
name="tivr"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">greet-long="phrase:demo_ivr_main_menu"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">greet-short="phrase:demo_ivr_main_menu_short"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">exit-sound="voicemail/vm-goodbye.wav"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">confirm-macro=""<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">confirm-key=""<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">tts-engine="flite"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">tts-voice="rms"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">confirm-attempts="3"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">timeout="10000"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">inter-digit-timeout="2000"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">max-failures="3"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">max-timeouts="3"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">digit-len="4"><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><!-- The
following are the definitions for the digits the user dials
--><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><!-- Digit 1
transfer caller to the public FreeSWITCH conference --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-exec-app" digits="1" param="bridge sofia/$${<a
moz-do-not-send="true"
href="mailto:domain%7d/888@conference.freeswitch.org">domain}/888@conference.freeswitch.org</a>"/><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-exec-app" digits="2" param="transfer 9196 XML
default"/> <!-- FS echo --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-exec-app" digits="3" param="transfer 9664 XML
default"/> <!-- MOH --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-exec-app" digits="4" param="transfer 9191 XML
default"/> <!-- ClueCon --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-exec-app" digits="5" param="transfer 1234*256
enum"/> <!-- Screaming monkeys --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><!-- Using a
regex in the digits tag lets you define a dial pattern for
the caller<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">You may define
multiple regexes if you need a different pattern for some
reason --><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-exec-app" digits="/^(10[01][0-9])$/"
param="transfer $1 XML features"/><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><entry
action="menu-top" digits="9"/> <!-- Repeat this menu
--><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></menu><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></include><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Any ideas on the ‘unable to find menu’
????<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Tim<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_________________________________________________________________________<o:p></o:p></pre>
<pre>Professional FreeSWITCH Consulting Services:<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Official FreeSWITCH Sites<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>FreeSWITCH-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><o:p></o:p></pre>
<pre>UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>