<html><div style='background-color:'><DIV class=RTE>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">From:  <I>"blackwater dev" <A href="mailto:blackwaterdev@gmail.com">blackwaterdev@gmail.com</A></I></P></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<P>Yes, the wav file is fine.  For some reason it's just getting cut off.  Whatever I type there seems to get cut off, strange.</P></BLOCKQUOTE>
<P>With plain dialplan (no AGI), I notice that the first few syllables from Playback() or Background() could be eaten up, sometimes more, sometimes less.  A little Wait() after Answer() may help "stablize" the voice channel.</P>
<P>Yuan Liu</P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=gmail_quote>On 1/15/07, <B class=gmail_sendername>Paul</B> <<A href="mailto:ast2005@9ux.com"> </DIV>ast2005@9ux.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex">Are you creating a temporary wav file? If so, look at that first. If the
<DIV></DIV><BR>wav file is truncated at least you know the problem is related to the<BR>way swift gets invoked and passed the text argument. If the file is okay<BR>you need to look at the way it gets handled afterwards.<BR><BR>blackwater dev wrote:
<DIV></DIV><BR><BR>> I have the following code.  When I call the extension, it either<BR>> ignores the first "Hello there everyone", or says "hello" and moves on<BR>> sometime stoping before it finishes hello.  The rest of the text reads
<DIV></DIV><BR>> fine.  Anyone else have this issue??<BR>><BR>> Thanks!<BR>><BR>>  require('/var/lib/asterisk/agi-bin/phpagi.php');<BR>><BR>>   $agi = new AGI();<BR>>   $agi->answer();<BR>>   $agi->swift("Hello there everyone ");
<DIV></DIV><BR>><BR>><BR>>         $agi->swift("Please press 1 for a  search  .");<BR>>         $result= $agi->get_data('beep',300000000, 1);<BR>>         $zip= $result['result'];<BR>>
<DIV></DIV><BR>>   $agi->swift("That concludes your call.  Thank you, Good bye .");<BR>>   $agi->hangup();<BR>><BR>>------------------------------------------------------------------------<BR>><BR>>_______________________________________________
<DIV></DIV><BR>>--Bandwidth and Colocation provided by <A href="http://easynews.com/">Easynews.com</A> --<BR>><BR>>asterisk-users mailing list<BR>>To UNSUBSCRIBE or update options visit:<BR>>   <A href="http://lists.digium.com/mailman/listinfo/asterisk-users">
<DIV></DIV>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR>><BR>><BR><BR>_______________________________________________<BR>--Bandwidth and Colocation provided by <A href="http://easynews.com/">Easynews.com</A> --
<DIV></DIV><BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>   <A href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE>
<DIV></DIV>
<DIV></DIV><BR>
<DIV></DIV>
<DIV></DIV><BR>
<P>>_______________________________________________<BR>>--Bandwidth and Colocation provided by Easynews.com --<BR>><BR>>asterisk-users mailing list<BR>>To UNSUBSCRIBE or update options visit:<BR>>    http://lists.digium.com/mailman/listinfo/asterisk-users<BR>
<P></FONT></P></BLOCKQUOTE></div></html>