Hi Matt,<br><br>It is easy with the architecture which i defined before.<br><br>[voicemail.txt] (forvoicemail app)<br><font face="Arial" size="2">messageleft=You have 1000 messages<br><br>[voicemail.txt] <br>messageleft=</font>
<font face="Arial" size="2">1000 messages you
have<br><br>Just change only the file in the sequencer. The whole application will 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 big deal to implement for them.<br><br>Thanks to Anthony, for atleast asking us for the opinion.<br><br>Regards,<br>Kannaiyan</font><br><br>
<br><div><span class="gmail_quote">On 12/17/06, <b class="gmail_sendername">Matt Porter</b> <<a href="mailto:mporter@voice3g.com">mporter@voice3g.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;">
<div vlink="blue" link="blue" bgcolor="#ffffff" lang="BG">
<div><font face="Arial" size="2">You are really going to need some feedback about
this one.</font></div>
<div><font face="Arial" size="2">Its been a terribly long time, and i have forgotten
most of the issues we faced.. </font></div>
<div><font face="Arial" size="2">but when we ported a unified messaging product many
years ago to some of the eastern languages. It was almost impossible to
abstract this concept out.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Abstracting something like speaking a URL, Phone
number, Numeric string is perfectly attainable...</font></div>
<div><font face="Arial" size="2">but constructing a useful working sentence is much
more complicated..</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">given "You have 1000 messages", in
english.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div>
<div>
<p><font face="Arial" size="2">may need to say "1000 messages you
have", before it makes any sense in Chinese or Piglatin or whatever.</font></p>
<p><font face="Arial" size="2"></font><font face="Arial" size="2"></font> </p></div></div>
<div><font face="Arial" size="2">In which case, you end up having to write
seperate IVR code for each language anyway. and having a
"multi-lingular say API" is of extremely limited usefulness.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I am not bilingual.. heck i never did any good in
English class either.</font></div>
<div><font face="Arial" size="2">Im not trying to throw poo on the idea.. just
skeptical about how useful this may turn out, for anything but a handful of
commonly constructed languages.</font></div>
<div><font face="Arial" size="2"></font><font face="Courier"></font> </div>
<div><font face="Courier"></font> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><span class="q">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="me@nikolay.com" href="mailto:me@nikolay.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Nikolay Kolev</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="freeswitch-dev@lists.freeswitch.org" href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
freeswitch-dev@lists.freeswitch.org</a>
; <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freeswitch-users@lists.freeswitch.org</a>
</div></span><div><span class="e" id="q_10f8f74adee1b019_2">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Saturday, December 16, 2006 6:47
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Freeswitch-users]
[Freeswitch-dev] C SAY API</div>
<div><br></div>
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">The idea is
great!</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">OpenPBX seems to have
one something similar, but it's unfortunately
GPL.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">BTW, SSM_ITTERATED is
misspelled. What would be the difference between SSM_ITERATED and
SSM_PRONOUNCED?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">Nikolay
Kolev</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
Anthony Minessale [mailto:<a href="mailto:anthmct@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">anthmct@yahoo.com</a>]
<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>
<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freeswitch-dev@lists.freeswitch.org</a>;
<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freeswitch-users@lists.freeswitch.org</a><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><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">Hi,</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">I'm working on a
muiti-lingual say api for ivr programmers to be able
</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">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</span></font></p></div>
<div>
<p><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><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">The basic idea is that we will
have an api where each new language/implementation would
provide it's own version of
this function.</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">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);</span></font></p></div>
<div>
<p><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" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.freeswitch.org/eg/say_api.c</a></span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><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><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">switch_say_handle_t *en;</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">en =
switch_say_load("en");</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><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><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">en->say("1000", SSG_ANY,
SSM_PRONOUNCED, SST_MESSAGES, NULL, NULL,
0);</span></font></p></div>
<div>
<p><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><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"><br> </span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">Thoughts?</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"> </span></font></p></div>
<div>
<p><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
<a href="http://www.freeswitch.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.cluecon.com/</a><br><br>AIM:
anthm<br><a href="mailto:MSN:anthony_minessale@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">MSN:anthony_minessale@hotmail.com</a><br>JABBER:<a href="mailto:anthony.minessale@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
anthony.minessale@gmail.com</a><br>IRC:
<a href="http://irc.freenode.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">irc.freenode.net</a> #freeswitch</span></font></p></div>
<div>
<p><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;"><br>FreeSWITCH Developer
Conference<br><a href="mailto:sip:888@66.250.68.194" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:888@66.250.68.194</a><br>iax:guest@66.250.68.194/888<br><a href="mailto:googletalk:freeswitch@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
googletalk:freeswitch@gmail.com</a><br>pstn:213-799-1400</span></font></p></div></div>
<p><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><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.yahoo.com</a> </span></font></p></div></span></div>
<p>
</p><hr>
<p></p>_______________________________________________<span class="q"><br>Freeswitch-users
mailing
list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeswitch.org</a><br></span><p></p>
</blockquote></div>
<br>_______________________________________________<br>Freeswitch-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org" target="_blank">
http://www.freeswitch.org</a><br><br><br></blockquote></div><br>