from the CLI:

> luarun script.lua

On Wed, May 5, 2010 at 6:17 PM, Brian West <brian@freeswitch.org> wrote:
How are you running this script?

/b

On May 5, 2010, at 8:13 PM, Neil Patel wrote:

> I was testing a luascript that I am using to initiate calls from the command line using luarun. Here is the relevant snippet of the script:
> -- make the call
> session = freeswitch.Session(DIALSTRING_PREFIX .. phone_num)
> session:setVariable("caller_id_number", phone_num)
> session:setVariable("playback_terminators", "#");
> session:setHangupHook("hangup");
> session:setInputCallback("my_cb", "arg");
>