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