[Freeswitch-users] LUA - session:waitForAnswer - Error

Aloysius Lloyd lloyd.aloysius at gmail.com
Thu Jun 10 07:59:08 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100610/cf6fd0f2/attachment.html 


More information about the FreeSWITCH-users mailing list