24 Aug
2008
24 Aug
'08
1:51 p.m.
Hi, I tried to fire custom event with the following example: e = freeswitch.Event("message"); e:add_body("mymsg","abcd") session:sendEvent(e) But I am getting this error from freeswitch console: 2008-08-25 05:49:33 [ERR] mod_lua.cpp:176 lua_parse_and_execute() ...r/local/freeswitch/scripts/script.lua:61: attempt to call method 'add_body' (a nil value) stack traceback: ...r/local/freeswitch/scripts/script.lua:61: in main chunk Does anyone know what is wrong with my script? Thanks, JB