Thanks Anthony.

Lloyd



On Thu, Jun 10, 2010 at 12:17 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
it as no time arguments in the lua version only an optional alternate channel 

like session2:waitForAnswer(session)

On Thu, Jun 10, 2010 at 9:59 AM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All,

In javascript the session.waitForAnswer(10000); working without any problem.

But in Lua session:waitForAnswer(10000); throwing the following error.


2010-06-10 10:54:21.029607 [ERR] mod_lua.cpp:182 Error in waitForAnswer (arg 2), expected 'CoreSession *' got 'number'
stack traceback:



What is the correct argument for this function in LUA. In wiki this function description is not available.

Any help appreciate.

Thanks
Lloyd




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