<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16386" name=GENERATOR><!--[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 name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[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 vLink=blue link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>You are really going to need some feedback about
this one.</FONT></DIV>
<DIV><FONT face=Arial size=2>Its been a terribly long time, and i have forgotten
most of the issues we faced.. </FONT></DIV>
<DIV><FONT face=Arial size=2>but when we ported a unified messaging product many
years ago to some of the eastern languages. It was almost impossible to
abstract this concept out.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Abstracting something like speaking a URL, Phone
number, Numeric string is perfectly attainable...</FONT></DIV>
<DIV><FONT face=Arial size=2>but constructing a useful working sentence is much
more complicated..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>given "You have 1000 messages", in
english.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2>may need to say "1000 messages you
have", before it makes any sense in Chinese or Piglatin or whatever.</FONT></P>
<P class=MsoNormal><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT> </P></DIV></DIV>
<DIV><FONT face=Arial size=2>In which case, you end up having to write
seperate IVR code for each language anyway. and having a
"multi-lingular say API" is of extremely limited usefulness.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am not bilingual.. heck i never did any good in
English class either.</FONT></DIV>
<DIV><FONT face=Arial size=2>Im not trying to throw poo on the idea.. just
skeptical about how useful this may turn out, for anything but a handful of
commonly constructed languages.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=me@nikolay.com href="mailto:me@nikolay.com">Nikolay Kolev</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-dev@lists.freeswitch.org
href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</A>
; <A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 16, 2006 6:47
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
[Freeswitch-dev] C SAY API</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The idea is
great!<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">OpenPBX seems to have
one something similar, but it’s unfortunately
GPL.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Nikolay
Kolev</SPAN></FONT><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=EN-US style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; 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"><A
href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</A></st1:PersonName>;
<A
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Hi,<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">the idea would be something like
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">switch_say_handle_t *en;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">en =
switch_say_load("en");<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"><BR> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Thoughts?<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><st1:PersonName w:st="on"><FONT face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face=Courier size=3><SPAN
style="FONT-SIZE: 12pt; 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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><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>
<P>
<HR>
<P></P>_______________________________________________<BR>Freeswitch-users
mailing
list<BR>Freeswitch-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>