Yes, the wav file is fine.&nbsp; For some reason it&#39;s just getting cut off.&nbsp; Whatever I type there seems to get cut off, strange.<br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Paul</b> &lt;<a href="mailto:ast2005@9ux.com">
ast2005@9ux.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Are you creating a temporary wav file? If so, look at that first. If the
<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:
<br><br>&gt; I have the following code.&nbsp;&nbsp;When I call the extension, it either<br>&gt; ignores the first &quot;Hello there everyone&quot;, or says &quot;hello&quot; and moves on<br>&gt; sometime stoping before it finishes hello.&nbsp;&nbsp;The rest of the text reads
<br>&gt; fine.&nbsp;&nbsp;Anyone else have this issue??<br>&gt;<br>&gt; Thanks!<br>&gt;<br>&gt;&nbsp;&nbsp;require(&#39;/var/lib/asterisk/agi-bin/phpagi.php&#39;);<br>&gt;<br>&gt;&nbsp;&nbsp; $agi = new AGI();<br>&gt;&nbsp;&nbsp; $agi-&gt;answer();<br>&gt;&nbsp;&nbsp; $agi-&gt;swift(&quot;Hello there everyone &quot;);
<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $agi-&gt;swift(&quot;Please press 1 for a&nbsp;&nbsp;search&nbsp;&nbsp;.&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $result= $agi-&gt;get_data(&#39;beep&#39;,300000000, 1);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $zip= $result[&#39;result&#39;];<br>&gt;
<br>&gt;&nbsp;&nbsp; $agi-&gt;swift(&quot;That concludes your call.&nbsp;&nbsp;Thank you, Good bye .&quot;);<br>&gt;&nbsp;&nbsp; $agi-&gt;hangup();<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________
<br>&gt;--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt;asterisk-users mailing list<br>&gt;To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt;<br><br>_______________________________________________<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>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>