<HTML>
<HEAD>
<TITLE>Re: [asterisk-users] Asterisk not working with Festival</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I tried it but I still cannot hear any sound created from Festival() function. I can hear only a voice saying one which was working earlier as well. Here is log of asterisk console:<BR>
<BR>
-- Attempting call on SIP/011xxxxxxxxxxxxxxxxx@gafachi1a for s@connect-to-me:1 (Retry 1)<BR>
-- Executing [s@connect-to-me:1] Answer("SIP/gafachi1a-00000000", "") in new stack<BR>
-- Executing [s@connect-to-me:2] Wait("SIP/gafachi1a-00000000", "7") in new stack<BR>
-- Executing [s@connect-to-me:3] SayDigits("SIP/gafachi1a-00000000", "'1'") in new stack<BR>
-- <SIP/gafachi1a-00000000> Playing 'digits/1.slin' (language 'en')<BR>
-- Executing [s@connect-to-me:4] Festival("SIP/gafachi1a-00000000", "hello john") in new stack<BR>
== Parsing '/usr/local/etc/asterisk/festival.conf': == Found<BR>
<BR>
<BR>
<BR>
<BR>
On 11/08/10 11:22 PM, "Danny Nicholas" <danny@debsinc.com> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT COLOR="#000080"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'> <BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>
</SPAN></FONT></FONT>
<P ALIGN=CENTER>
<FONT SIZE="5"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'><HR ALIGN=CENTER SIZE="2" WIDTH="100%"></SPAN></FONT></FONT>
<P>
<FONT SIZE="4"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><B>From:</B> asterisk-users-bounces@lists.digium.com [<a href="mailto:asterisk-users-bounces@lists.digium.com]">mailto:asterisk-users-bounces@lists.digium.com]</a> <B>On Behalf Of </B>Davinder Kumar Meen<BR>
<B>Subject:</B> Re: [asterisk-users] Asterisk not working with Festival<BR>
</SPAN></FONT></FONT><FONT SIZE="5"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'> <BR>
</SPAN></FONT></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Can anyone help please on this?<BR>
<BR>
<FONT COLOR="#000080"><snip><BR>
></FONT>[connect-to-me]<BR>
<FONT COLOR="#000080">></FONT>exten => s,1,Answer<BR>
<FONT COLOR="#000080">></FONT>Exten => s,n,SayDigits(‘1’)<BR>
<FONT COLOR="#000080">></FONT>exten => s,n,Festival(hello john)<BR>
<FONT COLOR="#000080">></FONT>exten => s,n,Hangup<BR>
<FONT COLOR="#000080"><snip><BR>
</FONT></SPAN></FONT><FONT COLOR="#000080"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>When you call in from your mobile, you are using a DAHDI channel which introduces a 3-7 second delay into the process, unless you have one of the “blessed” phone companies that offers call supervision. If you put a wait(7) in front of SayDigits, you should hear the call “normally”. <BR>
This is what I would suggest<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>[connect-to-me]<BR>
exten => s,1,Answer<BR>
Exten => s,n,Gotoif($[“${EXTEN}:0:3)” = “SIP”]?4:3<BR>
Exten => s,n,wait(7)<BR>
Exten => s,n,SayDigits(‘1’)<BR>
exten => s,n,Festival(hello john)<BR>
exten => s,n,Hangup<BR>
<BR>
<BR>
</SPAN></FONT></FONT><FONT SIZE="5"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'> <BR>
</SPAN></FONT></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><BR>
<BR>
<BR>
Thanks,<BR>
Davinder Kumar Meen<BR>
<FONT COLOR="#808080">Partner & Project Manager<BR>
Impinge Solutions, F-250, Phase 8B, Mohali (India)<BR>
</FONT></SPAN></FONT></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><FONT COLOR="#00009D"><SPAN STYLE='font-size:9pt'><U>www.impingesolutions.com<BR>
</U></SPAN></FONT><SPAN STYLE='font-size:9pt'><BR>
<FONT COLOR="#FF0000"><I>We also provide server hosting services. Please checkout our website </I></FONT><I><FONT COLOR="#0000FF"><U>www.goforspace.com</U></FONT></I></SPAN></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>