you can execute the freeswitch api command like any other api command or use any loadable lua module available to do this.


Mike

On Dec 30, 2008, at 3:36 PM, jonathan augenstine wrote:

I am developing a Freeswitch/LUA script.  From the script, I have a requirement to retrieve information via HTTP from an app server.  I have utilized the HTTP application from the Freeswitch CLI.  It works great.  My question is how can I call the "http get http://www......." from within the LUA script and retrieve the HTTP response?  Is this feasible?  Or is there a way to make an HTTP request directly from LUA?