Thanks Mike.<br><br>Yes. We can add this to the logic.<br><br>when you see,<br><br>welcome=welcome to freeswitch<br><br>the sequencer can look in for<br><br>welcome-to-freeswitch.wav<br><br>or independent <br><br>welcome.wav
<br>to-freeswitch.wav or (to.wav & freeswitch.wav)<br><br>Logic of sentence formation and search must be built in,<br><br>word1 word2 word3 word4 word5<br><br>word1 - must be preprocessed <br><br>preprocessing modules
<br> ---- digits (expand the digits and load with the respective numbers)<br> ---- http ( Add website.wav & remove http:// in the front )<br> ---- $45.78 (expanded to (digithandler) dollars and (digithandler) cents)
<br> ---- GBP93.78 (expanded to (digithandler) pounds and (digithandler) pence)<br> ---- etc.,,<br><br>(every user can add their own preprocessing module) or a smart idea for preprocessing will be good<br><br>word1 -> preprocessed -> ppword1
<br><br>ppword1-ppword2-ppword3-ppword4-ppword5.[availableformats]*<br>ppword1-ppword2-ppword3-ppword4.[availableformats]* & ppword5.[availableformats]*<br><br>like that. ppword comprises of more than one word.<br><br>
It makes the job easier and flexible too.<br><br>Please do suggest and the problem you will see with this design.<br><br>Regards,<br>Kannaiyan<br><br><br><div><span class="gmail_quote">On 12/17/06, <b class="gmail_sendername">
Mike Murdock</b> <<a href="mailto:mmurdock@coppercom.com">mmurdock@coppercom.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I like the concept but I don't think you want to go all the way down to storing each word.. Since the phrases will need to be localized anyway you can simply use the sequencer in your example to speak "you-have.wav" & 1000 & "
messages.wav" for english and 1000 & "messages-you-have.wav" for tibetian (or whatever). The sequencer would do more than just describe the order of the phrases but also the actual phrases files to use. This gives you maximum flexability in the sentance construction while not devolving to having to record every word separately.
<br><br>Michael B. Murdock<br><br><br>-----Original Message-----<br>From: Kannaiyan Natesan [mailto:<a href="mailto:gbpnkans@gmail.com">gbpnkans@gmail.com</a>]<br>Sent: Sun 12/17/2006 6:10 AM<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">
freeswitch-users@lists.freeswitch.org</a><br>Cc: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>Subject: Re: [Freeswitch-users] [Freeswitch-dev] C SAY API<br><br>Hi Matt,<br>
<br>It is easy with the architecture which i defined before.<br><br>[voicemail.txt] (forvoicemail app)<br>messageleft=You have 1000 messages<br><br>[voicemail.txt]<br>messageleft=1000 messages you have<br><br>Just change only the file in the sequencer. The whole application will
<br>behave differently.<br><br>Just store only the files.<br><br>you.have<br>have.wav<br>messages.wav<br><br>Rest the system will read from the sequencer and play the respective files.<br><br>With Brian West and Anthony written complex code in asterisk, this is not a
<br>big deal to implement for them.<br><br>Thanks to Anthony, for atleast asking us for the opinion.<br><br>Regards,<br>Kannaiyan<br><br><br>On 12/17/06, Matt Porter <<a href="mailto:mporter@voice3g.com">mporter@voice3g.com
</a>> wrote:<br>><br>> You are really going to need some feedback about this one.<br>> Its been a terribly long time, and i have forgotten most of the issues we<br>> faced..<br>> but when we ported a unified messaging product many years ago to some of
<br>> the eastern languages. It was almost impossible to abstract this concept<br>> out.<br>><br>> Abstracting something like speaking a URL, Phone number, Numeric string is<br>> perfectly attainable...<br>
> but constructing a useful working sentence is much more complicated..<br>><br>> given "You have 1000 messages", in english.<br>><br>><br>> may need to say "1000 messages you have", before it makes any sense in
<br>> Chinese or Piglatin or whatever.<br>><br>><br>> In which case, you end up having to write seperate IVR code for each<br>> language anyway. and having a "multi-lingular say API" is of extremely
<br>> limited usefulness.<br>><br>> I am not bilingual.. heck i never did any good in English class either.<br>> Im not trying to throw poo on the idea.. just skeptical about how useful<br>> this may turn out, for anything but a handful of commonly constructed
<br>> languages.<br>><br>><br>><br>> ----- Original Message -----<br>> *From:* Nikolay Kolev <<a href="mailto:me@nikolay.com">me@nikolay.com</a>><br>> *To:* <a href="mailto:freeswitch-dev@lists.freeswitch.org">
freeswitch-dev@lists.freeswitch.org</a> ;<br>> <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>> *Sent:* Saturday, December 16, 2006 6:47 PM<br>> *Subject:* Re: [Freeswitch-users] [Freeswitch-dev] C SAY API
<br>><br>> The idea is great!<br>><br>><br>><br>> OpenPBX seems to have one something similar, but it's unfortunately GPL.<br>><br>><br>><br>> BTW, SSM_ITTERATED is misspelled. What would be the difference between
<br>> SSM_ITERATED and SSM_PRONOUNCED?<br>><br>><br>><br>> Nikolay Kolev<br>> ------------------------------<br>><br>> *From:* Anthony Minessale [mailto:<a href="mailto:anthmct@yahoo.com">anthmct@yahoo.com
</a>]<br>> *Sent:* Friday, December 15, 2006 3:09 PM<br>> *To:* <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a>;<br>> <a href="mailto:freeswitch-users@lists.freeswitch.org">
freeswitch-users@lists.freeswitch.org</a><br>> *Subject:* [Freeswitch-dev] C SAY API<br>><br>><br>><br>> Hi,<br>><br>><br>><br>> I'm working on a muiti-lingual say api for ivr programmers to be able
<br>><br>> to generate audio for saying numbers, counting items or expressing amounts<br>> of things such as currency. I'd like some input from anyone who has some<br>> ideas<br>><br>> on how to make sure we cover all bases.
<br>><br>><br>><br>> The basic idea is that we will have an api where each<br>> new language/implementation would provide it's own version of this function.<br>><br>><br>><br>> 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>><br>> The enums are described in <a href="http://www.freeswitch.org/eg/say_api.c">http://www.freeswitch.org/eg/say_api.c</a><br>
><br>><br>><br>> the idea would be something like<br>><br>><br>><br>> switch_say_handle_t *en;<br>><br>><br>><br>> en = switch_say_load("en");<br>><br>><br>><br>> switch_ivr_play_file(session, NULL, "/sounds/youhave.wav", NULL, NULL,
<br>> NULL, 0);<br>><br>> en->say("1000", SSG_ANY, SSM_PRONOUNCED, SST_MESSAGES, NULL, NULL, 0);<br>><br>> switch_ivr_play_file(session, NULL, "/sounds/msgs.wav", NULL, NULL, NULL,<br>
> 0);<br>><br>><br>><br>><br>> Thoughts?<br>><br>><br>><br>> Anthony Minessale II<br>><br>> FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>> ClueCon
<a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>><br>> AIM: anthm<br>> <a href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>> JABBER:<a href="mailto:anthony.minessale@gmail.com">
anthony.minessale@gmail.com</a><br>> IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>><br>><br>> FreeSWITCH Developer Conference<br>> <a href="mailto:sip:888@66.250.68.194">sip:888@66.250.68.194
</a><br>> iax:guest@66.250.68.194/888<br>> <a href="mailto:googletalk:freeswitch@gmail.com">googletalk:freeswitch@gmail.com</a><br>> pstn:213-799-1400<br>><br>><br>> __________________________________________________
<br>> Do You Yahoo!?<br>> Tired of spam? Yahoo! Mail has the best spam protection around<br>> <a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br>><br>> ------------------------------<br>><br>> _______________________________________________
<br>> Freeswitch-users mailing list<br>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<br>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br>> _______________________________________________<br>> Freeswitch-users mailing list<br>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">
Freeswitch-users@lists.freeswitch.org</a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">
http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br>><br><br><br>_______________________________________________
<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<br><br><br></blockquote></div><br>