<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.Numbered, li.Numbered, div.Numbered
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.25in;
        margin-bottom:.0001pt;
        text-indent:-.25in;
        mso-list:l0 level1 lfo2;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:412971070;
        mso-list-type:hybrid;
        mso-list-template-ids:1618259210 -1710466462 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-style-link:Numbered;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>That was it.&nbsp; Thanks Mike.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This test build was trunk and default
configs.&nbsp; The problem is in the trunk vars.xml this line has been removed.&nbsp;
I added this line back to vars.xml and the demo_ivr started working again.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:navy'>&nbsp;
&lt;X-PRE-PROCESS cmd=&quot;set&quot;
data=&quot;sound_prefix=$${base_dir}/sounds/en/us/callie&quot;/&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The IVR source must still require
sound_prefix to be set (and does not use the new sounds_dir variable).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks again,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Robert<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Michael Jerris
[mailto:mike@jerris.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 10, 2010
9:34 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
demo_ivr cannot find sound files viarelative paths</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>did you make any changes to the default configs? &nbsp;what is in your
vars.xml related to sounds? &nbsp;the relative paths were always relative to
that dir, did you make any changes to the sounds prefix ?<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Mike<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Feb 10, 2010, at 11:57 PM, Michael Collins wrote:<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>If I read this log
correctly it failed to find the &quot;invalid entry&quot; file but it did find
the phrases just fine. Can you confirm the presence of this file:<br>
/usr/local/freeswitch/sounds/en/us/callie/ivr/8000/ivr-that_was_an_invalid_entry.wav<br>
<br>
(It looks like this call is at 8kHz so that's where I'm assuming FS is looking
to find the sound file...)<br>
<br>
-MC<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Wed, Feb 10, 2010 at 10:50 AM, <st1:PersonName w:st="on">Robert
 Hadley</st1:PersonName> &lt;<a href="mailto:robert.hadley@teotech.com">robert.hadley@teotech.com</a>&gt;
wrote:<br>
<br>
<o:p></o:p></span></font></p>

<div link=blue vlink=purple>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi,</span></font><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>It appears a
recent change (possibly the new sounds_dir variable or the new ivr_menu
folder?) may have broken relative sound file paths in the IVR.&nbsp; I built a
today&#8217;s trunk version and installed to the default location. Using the
default conf files the demo_ivr cannot find files based on the relative paths
specified in ivr_menus/demo_ivr.xml.</span></font><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>[root@TEO-UCM-T2
conf]# cat ivr_menus/demo_ivr.xml</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>&lt;include&gt;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;
&lt;!-- demo IVR setup --&gt;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;
&lt;!-- demo IVR, Main Menu --&gt;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;
&lt;menu name=&quot;demo_ivr&quot;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
greet-long=&quot;phrase:demo_ivr_main_menu&quot;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
greet-short=&quot;phrase:demo_ivr_main_menu_short&quot;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=blue face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invalid-sound=&quot;ivr/ivr-that_was_an_invalid_entry.wav&quot;</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=blue face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
exit-sound=&quot;voicemail/vm-goodbye.wav&quot;</span></font><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=1 face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New"'>&nbsp;</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:15.300337 [DEBUG] switch_ivr_menu.c:414 Executing IVR menu demo_ivr</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color="#ff6600" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#FF6600'>2010-02-10 10:32:15.300337 [DEBUG]
switch_ivr_play_say.c:118 No language specified - Using [en]</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:15.300337 [DEBUG] switch_ivr_play_say.c:273 Handle
play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en:en)</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:15.300337 [DEBUG] switch_ivr_play_say.c:1158 Codec Activated L16@8000hz 1
channels 20ms</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:17.922147 [DEBUG] switch_ivr_play_say.c:1450 done playing file</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:18.042149 [DEBUG] switch_ivr_play_say.c:273 Handle
play-file:[ivr/ivr-this_ivr_will_let_you_test_features.wav] (en:en)</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:18.042149 [DEBUG] switch_ivr_play_say.c:1158 Codec Activated L16@8000hz 1
channels 20ms</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:19.962158 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:800</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:19.962158 [DEBUG] switch_ivr_play_say.c:1450 done playing file</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.082156 [DEBUG] switch_ivr_menu.c:329 waiting for 3/4 digits t/o 2000</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.120617 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:400</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.442158 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:800</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.682162 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:800</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.682162 [DEBUG] switch_ivr_menu.c:376 digits '2222'</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.682162 [DEBUG] switch_ivr_menu.c:470 action regex [2222]
[/^(10[01][0-9])$/] [0]</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:20.682162 [DEBUG] switch_ivr_menu.c:560 IVR menu 'demo_ivr' caught
invalid input '2222'</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=red face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:red'>2010-02-10 10:32:20.682162 [ERR] mod_sndfile.c:194
Error Opening File [/usr/local/freeswitch/sounds/ivr/ivr-that_was_an_invalid_entry.wav]
[System error : No such file or directory.]</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:21.701505 [DEBUG] switch_ivr_play_say.c:118 No language specified - Using
[en]</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:21.701505 [DEBUG] switch_ivr_play_say.c:273 Handle
play-file:[silence_stream://1000] (en:en)</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:21.701505 [DEBUG] switch_ivr_play_say.c:1158 Codec Activated L16@8000hz 1
channels 20ms</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>2010-02-10
10:32:22.700352 [DEBUG] switch_ivr_play_say.c:1450 done playing file</span></font><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</body>

</html>