<div dir="ltr"><div><div>Further search makes it clear that say_string will generate relative paths.<br></div>Then, FS will use some variables to resolve the absolute path:<br><br>sound_prefix = "/usr/local/freeswitch/sounds"<br>
</div>default_language = "en"<br><div><br>But what else needs to be set so that<br> time/mon-4.wav<br>becomes something like:<br> /usr/local/freeswitch/sounds/en/us/callie/time/8000/mon-4.wav <br>?<br><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 1:12 PM, mayamatakeshi <span dir="ltr"><<a href="mailto:mayamatakeshi@gmail.com" target="_blank">mayamatakeshi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hello, <br></div>before I open a Jira ticket, as I might be overlooking something.<br>
<br></div>I am trying to use say_string. Documentation is lacking so all we have is here:<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say</a><br><br></div>But when I try to use it in the CLI i get:<br><br>freeswitch@192.168.2.154@internal> eval ${say_string en.wav en current_date_time pronounced ${strepoch()}}<br>
file_string://time/mon-4.wav!digits/19.wav!digits/2.wav!digits/thousand.wav!digits/14.wav!time/at.wav!digits/1.wav!time/oclock.wav!time/p-m.wav<br><br></div>As we can see, say_string is not generating full path to the files so when i try to use it with application playback for example I get "FILE NOT FOUND" response from FS.<br>
<br></div>The say application itself works, so I suspect this is a bug, but since this behaviour happens with both latest head <br><br>commit 34807208c672ce1afbd5d4f2984b5fddafe701c9<br>Author: Steve Underwood <<a href="mailto:steveu@coppice.org" target="_blank">steveu@coppice.org</a>><br>
Date: Sat May 17 14:28:58 2014 +0800<br><br></div>and a very old commit that I have in another machine:<br><br>commit 1aa910339adb6f39df190137af439e34774908bd<br>Author: Jeff Lenk <<a href="mailto:jeff@jefflenk.com" target="_blank">jeff@jefflenk.com</a>><br>
Date: Thu Mar 1 15:55:32 2012 -0600<br><br></div>I am inclined to think I am missing some configuration for this to work.<br><br></div>Regards,<br>Takeshi<br><div><div><br><div><div><br></div></div></div></div></div>
</blockquote></div><br></div>