[Freeswitch-users] [Freeswitch-dev] C SAY API
me at nikolay.com
Sat Dec 16 16:47:44 PST 2006
The idea is great!
OpenPBX seems to have one something similar, but it's unfortunately GPL.
BTW, SSM_ITTERATED is misspelled. What would be the difference between
SSM_ITERATED and SSM_PRONOUNCED?
From: Anthony Minessale [mailto:anthmct at yahoo.com]
Sent: Friday, December 15, 2006 3:09 PM
To: freeswitch-dev at lists.freeswitch.org;
freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-dev] C SAY API
I'm working on a muiti-lingual say api for ivr programmers to be able
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
on how to make sure we cover all bases.
The basic idea is that we will have an api where each new
language/implementation would provide it's own version of this function.
switch_status_t say(char *tosay,
The enums are described in http://www.freeswitch.org/eg/say_api.c
the idea would be something like
en = switch_say_load("en");
switch_ivr_play_file(session, NULL, "/sounds/youhave.wav", NULL, NULL, NULL,
en->say("1000", SSG_ANY, SSM_PRONOUNCED, SST_MESSAGES, NULL, NULL, 0);
switch_ivr_play_file(session, NULL, "/sounds/msgs.wav", NULL, NULL, NULL,
Anthony Minessale II
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at 184.108.40.206
iax:guest at 220.127.116.11/888
googletalk:freeswitch at gmail.com
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users