<html><body bgcolor="#FFFFFF" lang="EN-US" link="blue" vlink="blue"><div>Just looked back at this and I am completely wrong. &nbsp;Sounds prefix used to be set correctly in vars.xml and I remove that and set it to just the sounds dir in the core. &nbsp;This is incorrect. &nbsp;I think we will make the core set a default to the sounds dir and allow it to be overridden in vars.xml and restore that line in the default config. &nbsp;Expect a patch on this shortly.</div><div><br></div><div>Mike<br><br>On 2010-02-11, at 10:53 AM, "Robertre Hadley" &lt;<a href="mailto:robert.hadley@teotech.com">robert.hadley@teotech.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><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>





<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:&quot;Courier New&quot;;color:navy">&nbsp;
&lt;X-PRE-PROCESS cmd="set"
data="sound_prefix=$${base_dir}/sounds/en/us/callie"/&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"><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a></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 "invalid entry" 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"><a href="mailto:robert.hadley@teotech.com">robert.hadley@teotech.com</a></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’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:&quot;Courier New&quot;">[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:&quot;Courier New&quot;">&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:&quot;Courier New&quot;">&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:&quot;Courier New&quot;">&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:&quot;Courier New&quot;">&nbsp;
&lt;menu name="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" face="Courier New"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
greet-long="phrase:demo_ivr_main_menu"</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:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
greet-short="phrase:demo_ivr_main_menu_short"</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:
&quot;Courier New&quot;;color:blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"</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:
&quot;Courier New&quot;;color:blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
exit-sound="voicemail/vm-goodbye.wav"</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:&quot;Courier New&quot;">&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:&quot;Courier New&quot;">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:&quot;Courier New&quot;;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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:
&quot;Courier New&quot;;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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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>




</o:smarttagtype></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>