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&nbsp; or&nbsp; (to.wav &amp; 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&nbsp; <br><br>preprocessing modules
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- digits&nbsp; (expand the digits and load with the respective numbers)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- http&nbsp;&nbsp;&nbsp; ( Add&nbsp; website.wav &amp; remove http:// in the front )<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- $45.78 (expanded to (digithandler) dollars and (digithandler) cents)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- GBP93.78 (expanded to (digithandler) pounds and (digithandler) pence)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- etc.,,<br><br>(every user can add their own preprocessing module)&nbsp; or a smart idea for preprocessing will be good<br><br>word1 -&gt; preprocessed -&gt; ppword1
<br><br>ppword1-ppword2-ppword3-ppword4-ppword5.[availableformats]*<br>ppword1-ppword2-ppword3-ppword4.[availableformats]* &amp; 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> &lt;<a href="mailto:mmurdock@coppercom.com">mmurdock@coppercom.com</a>&gt; 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 &quot;you-have.wav&quot; &amp; 1000 &amp; &quot;
messages.wav&quot; for english and 1000 &amp; &quot;messages-you-have.wav&quot; 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]&nbsp;&nbsp;(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 &lt;<a href="mailto:mporter@voice3g.com">mporter@voice3g.com
</a>&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;You are really going to need some feedback about this one.<br>&gt; Its been a terribly long time, and i have forgotten most of the issues we<br>&gt; faced..<br>&gt; but when we ported a unified messaging product many years ago to some of
<br>&gt; the eastern languages.&nbsp;&nbsp;It was almost impossible to abstract this concept<br>&gt; out.<br>&gt;<br>&gt; Abstracting something like speaking a URL, Phone number, Numeric string is<br>&gt; perfectly attainable...<br>
&gt; but constructing a useful working sentence is much more complicated..<br>&gt;<br>&gt; given &quot;You have 1000 messages&quot;, in english.<br>&gt;<br>&gt;<br>&gt; may need to say &quot;1000 messages you have&quot;, before it makes any sense in
<br>&gt; Chinese or Piglatin or whatever.<br>&gt;<br>&gt;<br>&gt; In which case, you end up having to write seperate IVR code for each<br>&gt; language anyway.&nbsp;&nbsp;and having a &quot;multi-lingular say API&quot; is of extremely
<br>&gt; limited usefulness.<br>&gt;<br>&gt; I am not bilingual.. heck i never did any good in English class either.<br>&gt; Im not trying to throw poo on the idea..&nbsp;&nbsp;just skeptical about how useful<br>&gt; this may turn out, for anything but a handful of commonly constructed
<br>&gt; languages.<br>&gt;<br>&gt;<br>&gt;<br>&gt; ----- Original Message -----<br>&gt; *From:* Nikolay Kolev &lt;<a href="mailto:me@nikolay.com">me@nikolay.com</a>&gt;<br>&gt; *To:* <a href="mailto:freeswitch-dev@lists.freeswitch.org">
freeswitch-dev@lists.freeswitch.org</a> ;<br>&gt; <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>&gt; *Sent:* Saturday, December 16, 2006 6:47 PM<br>&gt; *Subject:* Re: [Freeswitch-users] [Freeswitch-dev] C SAY API
<br>&gt;<br>&gt;&nbsp;&nbsp;The idea is great!<br>&gt;<br>&gt;<br>&gt;<br>&gt; OpenPBX seems to have one something similar, but it's unfortunately GPL.<br>&gt;<br>&gt;<br>&gt;<br>&gt; BTW, SSM_ITTERATED is misspelled. What would be the difference between
<br>&gt; SSM_ITERATED and SSM_PRONOUNCED?<br>&gt;<br>&gt;<br>&gt;<br>&gt; Nikolay Kolev<br>&gt;&nbsp;&nbsp;------------------------------<br>&gt;<br>&gt; *From:* Anthony Minessale [mailto:<a href="mailto:anthmct@yahoo.com">anthmct@yahoo.com
</a>]<br>&gt; *Sent:* Friday, December 15, 2006 3:09 PM<br>&gt; *To:* <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a>;<br>&gt; <a href="mailto:freeswitch-users@lists.freeswitch.org">
freeswitch-users@lists.freeswitch.org</a><br>&gt; *Subject:* [Freeswitch-dev] C SAY API<br>&gt;<br>&gt;<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt;<br>&gt;<br>&gt; I'm working on a muiti-lingual say api for ivr programmers to be able
<br>&gt;<br>&gt; to generate audio for saying numbers, counting items or expressing amounts<br>&gt; of things such as currency.&nbsp;&nbsp;I'd like some input from anyone who has some<br>&gt; ideas<br>&gt;<br>&gt; on how to make sure we cover all bases.
<br>&gt;<br>&gt;<br>&gt;<br>&gt; The basic idea is that we will have an api where each<br>&gt; new language/implementation would provide it's own version of this function.<br>&gt;<br>&gt;<br>&gt;<br>&gt; switch_status_t say(char *tosay,
<br>&gt;&nbsp;&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>&gt;&nbsp;&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>&gt;&nbsp;&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>&gt;&nbsp;&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>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void *buf,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uint32_t buflen);<br>&gt;<br>&gt; 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>
&gt;<br>&gt;<br>&gt;<br>&gt; the idea would be something like<br>&gt;<br>&gt;<br>&gt;<br>&gt; switch_say_handle_t *en;<br>&gt;<br>&gt;<br>&gt;<br>&gt; en = switch_say_load(&quot;en&quot;);<br>&gt;<br>&gt;<br>&gt;<br>&gt; switch_ivr_play_file(session, NULL, &quot;/sounds/youhave.wav&quot;, NULL, NULL,
<br>&gt; NULL, 0);<br>&gt;<br>&gt; en-&gt;say(&quot;1000&quot;, SSG_ANY, SSM_PRONOUNCED, SST_MESSAGES, NULL, NULL, 0);<br>&gt;<br>&gt; switch_ivr_play_file(session, NULL, &quot;/sounds/msgs.wav&quot;, NULL, NULL, NULL,<br>
&gt; 0);<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Thoughts?<br>&gt;<br>&gt;<br>&gt;<br>&gt; Anthony Minessale II<br>&gt;<br>&gt; FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>&gt; ClueCon 
<a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>&gt;<br>&gt; AIM: anthm<br>&gt; <a href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>&gt; JABBER:<a href="mailto:anthony.minessale@gmail.com">
anthony.minessale@gmail.com</a><br>&gt; IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>&gt;<br>&gt;<br>&gt; FreeSWITCH Developer Conference<br>&gt; <a href="mailto:sip:888@66.250.68.194">sip:888@66.250.68.194
</a><br>&gt; iax:guest@66.250.68.194/888<br>&gt; <a href="mailto:googletalk:freeswitch@gmail.com">googletalk:freeswitch@gmail.com</a><br>&gt; pstn:213-799-1400<br>&gt;<br>&gt;<br>&gt; __________________________________________________
<br>&gt; Do You Yahoo!?<br>&gt; Tired of spam? Yahoo! Mail has the best spam protection around<br>&gt; <a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br>&gt;<br>&gt; ------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Freeswitch-users mailing list<br>&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<br>&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Freeswitch-users mailing list<br>&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">
Freeswitch-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">
http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br>&gt;<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>