On Tue, Jan 19, 2010 at 3:03 PM, Dan <freeswitch-users@digitaldan.com> wrote:
My lua script is calling wget through lua'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()).  

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.

--
-Rupa