Mike, 

Thanks for the pointer. So,the flow will be curl into temp file and use existing jsrun to run the temp script.
I'm looking at js_fetchurl_file, look like i can copy some of the functionality from there.

Johny K.


On Thu, Jun 10, 2010 at 11:58 AM, Michael Jerris <mike@jerris.com> wrote:
This could be accomplished fine with a little added code in mod_spidermonkey.  We already have libcurl in that module, but you would need to add the code to get the file from http

Mike

On Jun 9, 2010, at 4:05 PM, Johny Kadarisman Kwan wrote:

I want to dynamically serve javascript to freeswitch. ie. "jsrun http://ip/mydynamicscript"
Is there any way to accomplish above function? or any pro and cons on above intention.


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org