<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier, monaco, monospace, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>Also&nbsp;to follow up, I used this imaginary&nbsp;api to design an&nbsp;imaginary high level counterpart for configuring&nbsp;prase&nbsp;flow from&nbsp;the xml registry:</DIV>
<DIV>&nbsp;</DIV>
<DIV>see:</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="http://www.freeswitch.org/eg/say.xml">http://www.freeswitch.org/eg/say.xml</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>a working&nbsp;draft on a way to use the config registry to build phrases</DIV>
<DIV>by stringing together instructions in xml so you can call them from your ivr (voicemail etc)</DIV>
<DIV>&nbsp;</DIV>
<DIV>like in C</DIV>
<DIV>&nbsp;</DIV>
<DIV>switch_channel_set_variable(channel, "language", "en");</DIV>
<DIV>switch_core_session_execute_macro(session, "msgcount", 12);</DIV>
<DIV>&nbsp;</DIV>
<DIV>something like that...</DIV>
<DIV>&nbsp;</DIV>
<DIV>While it's imaginary it's much easier to code and change it around so provide feedback now =D</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;</DIV>
<DIV>Anthony Minessale 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</DIV>
<DIV><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</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Anthony Minessale &lt;anthmct@yahoo.com&gt;<BR>To: freeswitch-users@lists.freeswitch.org<BR>Sent: Sunday, December 17, 2006 4:21:19 PM<BR>Subject: Re: [Freeswitch-users] [Freeswitch-dev] C SAY API<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">
<DIV></DIV>
<DIV>pronounced&nbsp;would be like</DIV>
<DIV>for 1400</DIV>
<DIV>&nbsp;</DIV>
<DIV>pronounced would be:</DIV>
<DIV>&nbsp;</DIV>
<DIV>one thousand, four hundred<BR></DIV>
<DIV>iterated would be:</DIV>
<DIV>&nbsp;</DIV>
<DIV>one, four, zero, zero</DIV>
<DIV>&nbsp;</DIV>
<DIV>this could also possibly apply to dates etc</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Anthony Minessale 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</DIV>
<DIV><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</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Nikolay Kolev &lt;me@nikolay.com&gt;<BR>To: freeswitch-dev@lists.freeswitch.org; freeswitch-users@lists.freeswitch.org<BR>Sent: Saturday, December 16, 2006 6:47:44 PM<BR>Subject: Re: [Freeswitch-users] [Freeswitch-dev] C SAY API<BR><BR>
<STYLE>
<!--

 _filtered {font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
_filtered {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
        {
font-family:Arial;
color:navy;}
_filtered {
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {}
-->
</STYLE>

<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!</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">&nbsp;</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.</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">&nbsp;</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?</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">&nbsp;</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"></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"> Anthony Minessale [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> freeswitch-dev@lists.freeswitch.org ; 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></SPAN></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></P>
<DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Hi,</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">I'm&nbsp;working on a muiti-lingual say api for ivr programmers to be able </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">to generate audio&nbsp;for saying numbers, counting items or expressing amounts of things such as currency.&nbsp; I'd like some input from&nbsp;anyone who has some ideas</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.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</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&nbsp;an&nbsp;api where&nbsp;each new&nbsp;language/implementation would provide it's own&nbsp;version of this&nbsp;function.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch_say_gender_t gender,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch_say_type_t type,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch_say_method_t method,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch_input_callback_function_t dtmf_callback,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void *buf,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uint32_t
 buflen);</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" target=_blank rel=nofollow>http://www.freeswitch.org/eg/say_api.c</A></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</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 </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</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&nbsp;*en;</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">en&nbsp;= switch_say_load("en");</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</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);</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">en-&gt;say("1000", SSG_ANY, SSM_PRONOUNCED, SST_MESSAGES, NULL, NULL, 0);</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);</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"><BR>&nbsp;</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Thoughts?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">&nbsp;</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Courier size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Anthony Minessale</SPAN></FONT><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</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</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 </SPAN></FONT></P></DIV>
<DIV>_______________________________________________<BR>Freeswitch-users mailing list<BR>Freeswitch-users@lists.freeswitch.org<BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target=_blank rel=nofollow>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target=_blank rel=nofollow>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/" target=_blank rel=nofollow>http://www.freeswitch.org</A></DIV></DIV><BR></DIV></DIV><BR>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com 
<DIV>_______________________________________________<BR>Freeswitch-users mailing list<BR>Freeswitch-users@lists.freeswitch.org<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></DIV></DIV><BR></DIV></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>