<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:x="urn:schemas-microsoft-com:office:excel" 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:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</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]-->
</head>
<body lang=BG link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>The idea is great!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>OpenPBX seems to have one
something similar, but it’s unfortunately GPL.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>BTW, SSM_ITTERATED is
misspelled. What would be the difference between SSM_ITERATED and
SSM_PRONOUNCED?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Nikolay Kolev</span></font><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
<st1:PersonName w:st="on">Anthony Minessale</st1:PersonName>
[mailto:anthmct@yahoo.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, December 15, 2006
3:09 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-dev@lists.freeswitch.org</st1:PersonName>;
freeswitch-users@lists.freeswitch.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Freeswitch-dev] C SAY
API</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>Hi,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>I'm working on a muiti-lingual say api for ivr
programmers to be able <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>to generate audio for saying numbers, counting items
or expressing amounts of things such as currency. I'd like some input
from anyone who has some ideas<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>on how to make sure we cover all bases.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>The basic idea is that we will have an api
where each new language/implementation would provide it's
own version of this function.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>switch_status_t say(char *tosay,<br>
switch_say_gender_t gender,<br>
switch_say_type_t type,<br>
switch_say_method_t method,<br>
switch_input_callback_function_t dtmf_callback,<br>
void *buf,<br>
uint32_t buflen);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>The enums are described in <a
href="http://www.freeswitch.org/eg/say_api.c">http://www.freeswitch.org/eg/say_api.c</a><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>the idea would be something like <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>switch_say_handle_t *en;<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>en = switch_say_load("en");<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>switch_ivr_play_file(session, NULL,
"/sounds/youhave.wav", NULL, NULL, NULL, 0);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>en->say("1000", SSG_ANY, SSM_PRONOUNCED,
SST_MESSAGES, NULL, NULL, 0);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>switch_ivr_play_file(session, NULL,
"/sounds/msgs.wav", NULL, NULL, NULL, 0);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'><br>
<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>Thoughts?<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><st1:PersonName w:st="on"><font size=3 face=Courier><span
style='font-size:12.0pt;font-family:Courier'>Anthony Minessale</span></font></st1:PersonName><font
face=Courier><span style='font-family:Courier'> II<br>
<br>
FreeSWITCH http://www.freeswitch.org/<br>
ClueCon http://www.cluecon.com/<br>
<br>
AIM: anthm<br>
MSN:anthony_minessale@hotmail.com<br>
JABBER:anthony.minessale@gmail.com<br>
IRC: irc.freenode.net #freeswitch<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'><br>
FreeSWITCH Developer Conference<br>
sip:888@66.250.68.194<br>
iax:guest@66.250.68.194/888<br>
googletalk:freeswitch@gmail.com<br>
pstn:213-799-1400<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'><br>
__________________________________________________<br>
Do You Yahoo!?<br>
Tired of spam? Yahoo! Mail has the best spam protection around <br>
http://mail.yahoo.com <o:p></o:p></span></font></p>
</div>
</body>
</html>