Hi Brian, If I try e = freeswitch.Event("message"); e:addBody("thisisatestevent","abcd") session:sendEvent(e) 2008-08-25 23:09:30 [ERR] mod_lua.cpp:176 lua_parse_and_execute() Error in addBody expected 2..2 args, got 3 stack traceback: [C]: in function 'addBody' If I try e = freeswitch.Event("message"); e:addBody("thisisatestevent") session:sendEvent(e) It went through, but I can't pick up any message with the name or type "message" Thanks for your help. JB On Mon, Aug 25, 2008 at 12:23 AM, Brian West <brian@freeswitch.org> wrote:
Try e:addBody /b
On Aug 24, 2008, at 8:51 AM, Juan Backson wrote:
e:add_body("mymsg","abcd")
Brian West sip:brian@freeswitch.org <sip%3Abrian@freeswitch.org>
_______________________________________________ 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