<p>Hmm... that might get messy with a bunch of street names. But, everything else would work for that minus numbers. Is there a say command that will do something like if the address is 938 West Bantam Road they would hear "nine thirty eight" instead of "nine three eight"? That might be a cool way of doing the addresses. Easier to remember maybe. </p>
<p>Thanks!<br>
-BDF</p>
<div class="gmail_quote">On Feb 23, 2012 5:51 PM, "Michael Collins" <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote">On Thu, Feb 23, 2012 at 2:24 PM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</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">The usual method is to create phrases for everything you want.<div><a href="http://wiki.freeswitch.org/wiki/Speech_Phrase_Management" target="_blank">http://wiki.freeswitch.org/wiki/Speech_Phrase_Management</a> with the "play-file" <span style="line-height:1.1em">function</span>.</div>
<div><br></div><div><div>But if you frequently have things SAY is great for - numbers and spelling out words - then you can modify as MC said.</div><div><span><font color="#888888"><br clear="all"><div dir="ltr">
<span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div></font></span><br></div></div></div></blockquote></div><br>Thanks Avi, that's what I was getting at. You use the "say" app to let FS do the work of how to pronounce something, e.g.:<br>
<br><action application="say" data="en number pronounced 1234"/><br>Caller hears "one thousand, two hundred, thirty-four"<br><br><action application="say" data="en number iterated 1234"/><br>
Caller hears "one two three four"<br><br>You don't need the say app to do what you are trying to do. You can use just the playback app, with or without phrase macros:<br><br><action application="playback" data="/path/to/cool_bdf_sound.wav"/><br>
<br>or<br><br><action application="playback" data="phrase:my_cool_phrase:arg1:arg2"/><br><br>Then you need a phrase defined. I use conf/lang/en/ivr/custom.xml for my own phrases. E.g.:<br><br><font style="font-family:courier new,monospace" size="1"><include><br>
<macro name="my_cool_phrase"><br> <input pattern="(.*?):(.*?)"><br> <match><br> <action function="play-file" data="$1.wav"/><br> <action function="sleep" data="500"/><br>
<action function="play-file" data="$1.wav"/><br> </match><br> <nomatch><br> <action function="play-file" data="/some/other/file.wav"/><br>
</nomatch><br> </input><br> </macro><br></include><br></font><br>I hope that makes sense. See pages 115-120 in the bridge book for info on phrase macros and see pages 98,99 for info on the say application.<br>
<br>-MC<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>