Ah... yes you do.  Patches / Bounty to implement that accepted.<br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 5:17 PM, Dan <span dir="ltr">&lt;<a href="mailto:freeswitch-users@digitaldan.com">freeswitch-users@digitaldan.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">I would, but I need to post a a wav file that gets recorded, I didn&#39;t see a way to supply the location of a file to use as the post data.  It looks like you have to url encode the data in the script and pass it all in the call. <div>
<br></div><div>Thanks</div><div>Dan-<div class="im"><br>----- Original Message -----<br>From: &quot;Rupa Schomaker&quot; &lt;<a href="mailto:rupa@rupa.com" target="_blank">rupa@rupa.com</a>&gt;<br>To: &quot;freeswitch-users&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Sent: Tuesday, January 19, 2010 4:06:36 PM<br>Subject: Re: [Freeswitch-users] Lua: io.popen/read blocking in other        incoming calls<br><br><br><br></div><div class="im"><div class="gmail_quote">On Tue, Jan 19, 2010 at 3:03 PM, Dan <span dir="ltr">&lt;<a href="mailto:freeswitch-users@digitaldan.com" target="_blank">freeswitch-users@digitaldan.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">My lua script is calling wget through lua&#39;s io.popen to send and receive data from a web service. While the f:read to wget  is running, other incoming calls will block on the same io.popen call until the first call closes the pipe (with f:close()).  </div>

</div></blockquote></div><div><br></div></div><div class="im"><div>You might want to look at the api that mod_curl exposes to do what you want.  No need to do an expensive system call just to call a webservice.</div><br>
-- <br>-Rupa<br>
<br></div><div class="im">_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>