View previous topic :: View next topic |
Author |
Message |
Nick.Lemberger at lkfd... Guest
|
|
Back to top |
|
|
pete at privateconnect... Guest
|
Posted: Thu Aug 06, 2009 6:40 pm Post subject: [Freeswitch-users] Lua Script Return Value & mod_xmlrpc |
|
|
Yes, you can use the stream global object.
example:
local api = freeswitch.API();
local reply = api:execute("originate", someRoute);
if (reply) then
stream:write("RESULT: " .. reply .. "\n");
else
stream:write("ERROR")
end
|
|
Back to top |
|
|
|