[Freeswitch-users] get events data on freeswitch console

Michael Collins msc at freeswitch.org
Thu Sep 27 20:33:27 MSD 2012


In this case "params" doesn't seem to have anything. Where does params get
populated in your script?
-MC

On Wed, Sep 26, 2012 at 9:36 AM, Shahzad Bhatti <shahzad.bhatti at g-r-v.com>wrote:

> hi,
>
> i want to get the events data without ESL in lua and with the following:
>
> freeswitch.consoleLog("info",params:serialize())
>
>
> but unable to any output but* ERROR*
>
> 2012-09-27 01:21:47.024894 [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/ESLInLua.lua:5: attempt to index global 'params' (a nil value)
> stack traceback:
>         /usr/local/freeswitch/scripts/ESLInLua.lua:5: in main chunk
>
>
> reply me how i can get that.
>
> Regards
>
> Shahzad Bhatti
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120927/06a10215/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list