That error means there is no variable 'e' Steve On 15 Feb 2013, at 10:49, Archana Venugopan <a.venugopan@mundio.com> wrote:
Hi,
I am trying to get event status in freeswitch. For which I have passed the below line in my lua script. But I am getting error.
element = e:getHeader("Orig-status")
Error: 2013-02-15 10:41:14.177168 [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/directory.lua:201: attempt to index global 'e' (a nil value) stack traceback: /usr/local/freeswitch/scripts/directory.lua:201: in main chunk 2013-02-15 10:41:14.177168 [ERR] mod_lua.cpp:264 LUA script parse/execute error!
I have installed mod_event_multicast too. Can anyone please point me out why I am not able to fetch element value. Many thanks.
Regards, Archana
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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