<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=ridTitle>Glacier</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>BODY {
        MARGIN-TOP: 20px; FONT-SIZE: 10pt; MARGIN-LEFT: 50px; COLOR: #000000; FONT-FAMILY: Century Gothic
}
</STYLE>

<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY id=ridBody 
style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Century Gothic" 
bgColor=#ffffff background=cid:468433114@15062006-21AF>
<DIV><SPAN class=468433114-15062006>Thanks a lot Fred. I will give it a try. I 
am using <A href="mailto:asterisk@home">asterisk@home</A> V2.8 by the 
way.</SPAN></DIV>
<DIV><SPAN class=468433114-15062006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=468433114-15062006>Regards</SPAN></DIV>
<DIV><SPAN class=468433114-15062006>Walid</SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> asterisk-users-bounces@lists.digium.com 
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Frederic 
Jean<BR><B>Sent:</B> Thursday, June 15, 2006 3:24 PM<BR><B>To:</B> Asterisk 
Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re: 
[Asterisk-Users] AGI to read MySQL<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial>Walid,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Check the ASTCC agi script ; it just does exactly 
that:</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><A 
href="http://www.voip-info.org/wiki-ASTCC">http://www.voip-info.org/wiki-ASTCC</A></FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Cheers,</FONT></DIV>
<DIV><FONT face=Arial>Fred</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=wazab@noor.net href="mailto:wazab@noor.net">Walid Azab</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asterisk-users@lists.digium.com 
  href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 15, 2006 11:14</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] AGI to read 
  MySQL</DIV>
  <DIV><BR></DIV>
  <P><SPAN class=390521214-15062006>Hello everyone,</SPAN></P>
  <P><SPAN class=390521214-15062006>I am not an expert in Asterisk programming 
  yet. So, can someone help me put my first steps on how to use AGI to access 
  MySQL tables and do queries. Any reference or help is appreciated. My target 
  is to get Festival to read TTS from data stored in MySQL table based on the ID 
  that the caller will input after his call is answered.</SPAN></P>
  <P><SPAN class=390521214-15062006>Thanks</SPAN></P>
  <P><SPAN class=390521214-15062006></SPAN>&nbsp;</P>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>--Bandwidth and 
  Colocation provided by Easynews.com --<BR><BR>Asterisk-Users mailing 
  list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp; 
  http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></BODY></HTML>