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

Anthony Minessale anthony.minessale at gmail.com
Thu Jun 10 09:17:10 PDT 2010


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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100610/3913dce8/attachment.html 


More information about the FreeSWITCH-users mailing list