In this case &quot;params&quot; doesn&#39;t seem to have anything. Where does params get populated in your script?<br>-MC<br><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 9:36 AM, Shahzad Bhatti <span dir="ltr">&lt;<a href="mailto:shahzad.bhatti@g-r-v.com" target="_blank">shahzad.bhatti@g-r-v.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<div><br></div><div>i want to get the events data without ESL in lua and with the following:</div><div><br></div><div>
<pre style="padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.1em">freeswitch.consoleLog(&quot;info&quot;,params:serialize())</pre></div><div><br></div><div>but unable to any output but<b> <font face="times new roman, serif" size="4">ERROR</font></b></div>
<div><div><br></div><div><div><pre style="padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.1em"><div style="font-family:arial;line-height:normal;white-space:normal">2012-09-27 01:21:47.024894 [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/ESLInLua.lua:5: attempt to index global &#39;params&#39; (a nil value)</div>

<div style="font-family:arial;line-height:normal;white-space:normal">stack traceback:</div><div style="font-family:arial;line-height:normal;white-space:normal">        /usr/local/freeswitch/scripts/ESLInLua.lua:5: in main chunk</div>


</pre></div><br><div style="background-color:rgb(249,249,249)">reply me how i can get that.</div></div></div><div style="background-color:rgb(249,249,249)"><br></div><div style="background-color:rgb(249,249,249)">
Regards</div><span class="HOEnZb"><font color="#888888"><div style="background-color:rgb(249,249,249)"><br></div><div style="background-color:rgb(249,249,249)">Shahzad Bhatti</div><div><br></div><div><br></div><div><br></div>
<div><br></div><div><br></div><div><br>
</div><div><br></div><div><br></div><div><br></div>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>