Thanks all, I'll give this a shot.<br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Yuan LIU</b> <<a href="mailto:yliu11@hotmail.com">yliu11@hotmail.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 style=""><div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;">From: <i>"blackwater dev" <a href="mailto:blackwaterdev@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blackwaterdev@gmail.com
</a></i></font></p></div><span class="q">
<blockquote style="border-left: 2px solid rgb(160, 198, 229); padding-left: 5px; margin-left: 5px; 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></span>
<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><span class="sg">
<p>Yuan Liu</p>
</span><blockquote style="border-left: 2px solid rgb(160, 198, 229); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_110278c618d193c9_5">
<div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Paul</b> <<a href="mailto:ast2005@9ux.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> </a></span></div><a href="mailto:ast2005@9ux.com">
ast2005@9ux.com</a>> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a><div></div><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>
><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://easynews.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
<div></div>
<div></div><br>
<div></div>
<div></div><br>
</span></div><p>>_______________________________________________<span class="q"><br>>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<p></p></span></p></blockquote></div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br>