<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>Hi,</DIV>
<DIV> </DIV>
<DIV>I'm working on a muiti-lingual say api for ivr programmers to be able </DIV>
<DIV>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</DIV>
<DIV>on how to make sure we cover all bases.</DIV>
<DIV> </DIV>
<DIV>The basic idea is that we will have an api where each new language/implementation would provide it's own version of this function.</DIV>
<DIV> </DIV>
<DIV>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);<BR></DIV>
<DIV>The enums are described in <A href="http://www.freeswitch.org/eg/say_api.c">http://www.freeswitch.org/eg/say_api.c</A></DIV>
<DIV> </DIV>
<DIV>the idea would be something like </DIV>
<DIV> </DIV>
<DIV>switch_say_handle_t *en;</DIV>
<DIV> </DIV>
<DIV>en = switch_say_load("en");</DIV>
<DIV> </DIV>
<DIV>switch_ivr_play_file(session, NULL, "/sounds/youhave.wav", NULL, NULL, NULL, 0);</DIV>
<DIV>en->say("1000", SSG_ANY, SSM_PRONOUNCED, SST_MESSAGES, NULL, NULL, 0);</DIV>
<DIV>switch_ivr_play_file(session, NULL, "/sounds/msgs.wav", NULL, NULL, NULL, 0);</DIV>
<DIV><BR> </DIV>
<DIV>Thoughts?</DIV>
<DIV> </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></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>